Topic awaiting preservation: A simplified image rollover, too simple? (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: Somewhere in Iowa |
posted 10-18-2002 03:35
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 |
posted 10-18-2002 03:40
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: |
posted 10-18-2002 05:48
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 |
posted 10-18-2002 11:29 |
Bipolar (III) Inmate From: |
posted 10-18-2002 16:04
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 |
posted 10-18-2002 23:17
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 |
posted 10-18-2002 23:20
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 |
posted 10-19-2002 01:47
Same here, xp Pro IE6, works fine. Well, except for the top 2 images, Home and Links. Bit 'd about that. |
Bipolar (III) Inmate From: Australia |
posted 10-20-2002 12:50
i get exactly the same error as sonicsnail above, so must be something going on |