Forum Moderators: open

Message Too Old, No Replies

Rollover image, to load text/images

help

         

Andrew Thomas

1:18 pm on Jun 13, 2002 (gmt 0)

10+ Year Member



I need 6 rollover images, when each image is clicked i want piece of text along with some images to appear by the side of each rollover, and to stay on the page until the next rollover image is clicked. Im using dreameaver ultradev, any ideas on how to do this, or has anyone sample code for this.

thanx

tedster

9:25 pm on Jun 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Seems the logic behind it would be a rather standard "show/hide div", using onClick as a trigger event.

The messy bit would be hiding any div that was already showing whenever there's a new click. I think the easiest way to go here would be to make the code for each hot spot hide all the 5 other divs and show it's own related div. Then you know you'll always catch the one that needs to be hidden.