Results 1 to 3 of 3
Oct 13, 2001, 17:10 #1
Rollover links with acompanying image mouseover.
Basically I want a litlle image of a 'light' or a dark image to appear lit up when the corosponding link is rolled over.
So () becomes () When I roll over home.
I would like it to be efficient too. If possibly I don't want a sepperate piece of code for every link. The image is obviously the same for all so I'd like for the effect to occur simply via some kind of ID system. which the link and the image share.
Oct 14, 2001, 13:26 #2
- Join Date
- Oct 2001
- Whistler BC originally from Guelph Ontario
- 0 Post(s)
- 0 Thread(s)
Try this...it doesn't use an image just simple HTML but it will help you figure it out.
that goes into the Head section under script (in case you didn't realize)
<span onmouseOver="changePrompt(1)" onmouseout="changeBack(1)">
<span onmouseOver="changePrompt(2)" onmouseout="changeBack(2)">
Put that into your body
If you plan on using an image remember to cache them all so that the rollover works well on a bandwidth.
Oct 15, 2001, 05:20 #3
Image = New Image('blah.jpg');
but I can't remember