You are here: irt.org | BBS | Re: Jason Nugent please help. One last thing re:my rollovers [This BBS is closed]
Posted by Darren Perara on September 07, 1998 at 23:20:39:
In Reply to: Re: Jason Nugent please help. One last thing re:my rollovers posted by Jason Nugent on September 07, 1998 at 09:29:49:
: :
: : : What could I do with the "default.gif" NAME that currently requires four names (left,right,forw,back) and obviously doesn't work.
: : : Thanks for your help,
: : : Darren.
:
: : image3 = new Image ();
: : image3.src = "image3.gif"; // ditto
:
: Whoops. That should be image1.gif. Sorry 'bout that.
: Jason
Jason,
I've tried using the same image (default.gif) instead of the first image in each of the 4 image fade sequences as follows:
if (document.images != null) {
left0 = new Image ();left0.src = "images/default.gif";
left1 = new Image ();left1.src = "images/left1.gif";
left2 = new Image ();left2.src = "images/left2.gif";
left3 = new Image ();left3.src = "images/left3.gif";
left4 = new Image ();left4.src = "images/left4.gif";
right0 = new Image ();right0.src = "images/default.gif";
right1 = new Image ();right1.src = "images/right1.gif";
right2 = new Image ();right2.src = "images/right2.gif";
right3 = new Image ();right3.src = "images/right3.gif";
right4 = new Image ();right4.src = "images/right4.gif";
forw0 = new Image ();forw0.src = "images/default.gif";
forw1 = new Image ();forw1.src = "images/forw1.gif";
forw2 = new Image ();forw2.src = "images/forw2.gif";
forw3 = new Image ();forw3.src = "images/forw3.gif";
forw4 = new Image ();forw4.src = "images/forw4.gif";
back0 = new Image ();back0.src = "images/default.gif";
back1 = new Image ();back1.src = "images/back1.gif";
back2 = new Image ();back2.src = "images/back2.gif";
back3 = new Image ();back3.src = "images/back3.gif";
back4 = new Image ();back4.src = "images/back4.gif";
I'm not sure how this can help with the NAME problem I had. In the body of the text each of the 4 sequences responds to their particular name (left,right,forw,back) & this name is placed with the HTML that defines where the default.gif image sits. How do I make a name that is common to all 4? (Or did you already tell me that. If so, I'm unclear on how it can work)
Please elaborate on your method. Also, what was that stuff about getting rid of the NAME tag altogether?
Thanks again,
Darren.
Follow-ups:
You are here: irt.org | BBS | Re: Jason Nugent please help. One last thing re:my rollovers [This BBS is closed]