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.
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.