Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
01-04-2007, 02:18 AM #1
replace class of element with anchor click
the title pretty much sums it up I guess. I hope this is in the right place.
I've been searching online for a while now, so I am about to give up.
But here is an example of what I was talking about, if you need html for reference or something...
<a href="#" onclick="whateverthefunctionis"><img src="someimage" alt="someimage" class="small" /></a> <p><a href="#" onclick="whateverthefunctionis">clicking here changes the class</a></p>
I hope someone can help. It's probably real simple but I can't figure it out.
01-04-2007, 03:01 AM #2
- Join Date
- Dec 2006
- Copenhagen, Denmark
- Thanked 5 Times in 5 Posts
Try something like this:
01-04-2007, 03:09 AM #3
thanks! that helped a lot!