I'll try and make this has informative and brief as possible...
I have links (<a href="#">) and I need it so that when the click is clicked (onClick="") it changes a CSS 'element''s value. So, when click, it changes the "background" of the div with the ID "banner". So in the CSS document I have:
Onclick of this particular link, I need it to dynamically become:Code:#banner { background: url(images/banner.png); more css blah }
Any help will be appreciated, thanks.Code:#banner { background: url(images/banner2.png); more css blah }





Reply With Quote





Can I use jquery to add a fade to something like this?