![]() Topic awaiting preservation: A simplified image rollover, too simple? (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: Somewhere in Iowa |
![]() I was working on some Javascript for a rollover and I tried to reduce the whole thing down to the bare minimum and here's what I came up with... code: <IMG SRC="image1.jpg" WIDTH=100 HEIGHT=50 BORDER=0
code: <IMG SRC="image2.jpg" WIDTH=100 HEIGHT=50 BORDER=0
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() That should be fine, aside from the fact that image2.jpg will be visible for a short time while image1.jpg loads. |
Bipolar (III) Inmate From: |
![]() Quite a while ago I was experimenting with being able to add rollover images simply by adding the HTML for the image and having the script do the rest. This is what I came up with. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() |
Bipolar (III) Inmate From: |
![]() Thanks Doc. The idea came from marxa in this thread at another forum. The really interesting thing is it works in ALL browsers INCLUDING NS4!. |
Bipolar (III) Inmate From: Scotland |
![]() This doesn't appear to work in IE6 (xp home)... I see the menu twice - one under the other - and only the "arrow" changes onmouseover, but it simply disappears. - I hope this is enough info to help you cure it! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Sonicsnail: It works for me, same browser, same OS. Are you sure you gave it enough time for all the images to load? |
Maniac (V) Inmate From: Brisbane, Australia |
![]() Same here, xp Pro IE6, works fine. Well, except for the top 2 images, Home and Links. Bit |
Bipolar (III) Inmate From: Australia |
![]() i get exactly the same error as sonicsnail above, so must be something going on |