/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Click toggles multiple classes $('a.jButton').click(function() { // Track click on the button $('#followUsHover').toggleClass('visible', '200'); // Toggle class and animate $('a.jButton').toggleClass('jButtonOut', '200'); // Toggle class and animate });