![]() Topic awaiting preservation: zipplet question (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() i'm using doc's handy zscrollbars (version 1) scripts. i got it working and all, but i noticed whenever i use an onLoad function call in the body tags, the zscrollbars stops showing up. how do i fix this? code: var imglist = new Array ();
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() That code will work fine, but won't do what you intended. It will make an array of strings, giving them each the pathname of an image. However, it won't preload the image. |
Nervous Wreck (II) Inmate From: |
![]() slime, thx for quick response. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Oh, yeah, the new code you edited in should work fine. |
Nervous Wreck (II) Inmate From: |
![]() i made it more compact and combined the two loops. i got the onLoad working. as long as i called the function before the setup for the zscrollbars, it worked =) |
Nervous Wreck (II) Inmate From: |
![]() hi i'm having problems again, this time it's a crossbrowser problem. i got everything working fine in IE and finally got a hold of netscape to test (i'm on dialup). when i first ran it in netscape, everything was out of position & the zscrollbars didn't show up, but the rollover images were working. so i fixed my css and got everything lined up and scrollies to show in netscape but now the rollovers aren't working code: if (roll == 'true') {
code: <div id="button1"><a href="about.htm" onMouseOut="msout('button','button.gif');" onMouseOver="msover('button','buttonover.gif');"><img name="button" border="0" src="button.gif"></a></div>
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() You didn't say which version of Netscape is giving you troubles... |
Nervous Wreck (II) Inmate From: |
![]() ah those layers! ok, makes sense now. i was using netscape 4 (oh the headaches). i took your advice on the roll thing too. i also noticed my msover() and msout() were identical...oops. got rid of that redundancy too. i got a lot to learn. you guys have been really helpful. thx again. |