Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Can this be done?
01-11-2012, 04:59 AM #1
- Join Date
- Oct 2011
- Thanked 0 Times in 0 Posts
Can this be done?
I am trying to change the rel attribute on my page with jquery. I want to apply a "rel=expand[thumb1]" to a link when it is clicked and and a rel=collapse[thumb1] to the link when another link is clicked. Does anyone know how to do this?
I basically want the rel to =collapse[thumb1] unless is is active. If it is active I want the rel to = expand[thumb1] Does that make sense?
I have some messed up code here that doesnt work. I dont know if it would help or not. It is changing the rel, but I can figure how to change it again once it is no longer active. http://dl.dropbox.com/u/14080718/Final/UITabs11.html