I was curious to know if there is a way to activate a CSS class without overriding the existing CSS. I tried the following:
$("#remote1").click(function() {
$("#navigation").css({"background":"black");
});
While this achieved most of what I needed, I now want to enable a CSS class in order to create an animation using CSS3 instead of jQuery, as the animation I have in mind is best suited for CSS3. Is there a way to do this?
**Edited.. -.- **
How can I remotely "activate" existing CSS from a CSS file using jQuery?