/ Published in: jQuery

keeps hover states on for top level dropdown menu items or accordions
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// keep hover statea on $("#mainnav li").hover(function(){ $(this).addClass("on"); }, function(){ $(this).removeClass("on"); });
Comments
