Here ya go, Klaus!
Create two images per mouseover - one for the "on" state, one for the "off" state. Save this mouseover (rollover) file - I save it as a "snippet" in Homesite.
Add this inside your <head></head> tags :
There are 2 "on" statements and 2 "off" statements per rollover. Name these whatever you want. I usually code it to wherever the button goes. ie :
<blockquote>
abouton = new Image ();
abouton.src = "about-on.gif";
aboutoff = new Image ();
aboutoff.src = "about-off.gif";
</blockquote>
Then in your HTML add this :
Note that you have to add a name attribute in your image tag that corresponds with whatever name you chose to call your on/off states. The image is, of course, the off state.
Please note that this forum adds an underscore in the mouseover statement - it shouldn't have one!
If you have any problems or require any other help, just give a shout!
cfn ... Jen
Jen Worden
Web Developer
www.meadoworks.com
Bookmarks