Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseover click help for multiple images

Status
Not open for further replies.

rye8261

Technical User
Jul 6, 2003
359
US
Ok, I'm not a javascript person so I'm giving this my best.

The best way for me to tell you what I'm trying to do is to show you.

If you look at this page, you'll see I have a couple images above the box that give you the code to use on your profiles. If you hover over the images, they change the text in the box.

My new goal is to make the images more of boxes like in a menu and have the image change to a different color when it was selected or click rather than hovered over. I can change the onmouseover to onclick easy enough, but I don't know how to change the image in the background to a different image that signifies it's been clicked and is active for that sites code.

I've followed this site and am close but I don't know how to add variables to the "stuff" array dynamically so that it will expand to stuff like "home1, home2..."

I hope this makes sense to anyone that is willing to help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top