Return to Snippet

Revision: 38506
at January 4, 2011 11:26 by jelontok


Initial Code
// keep hover statea on
$("#mainnav li").hover(function(){
	$(this).addClass("on");	
}, function(){	
	$(this).removeClass("on");	
});

Initial URL

                                

Initial Description
keeps hover states on for top level dropdown menu items or accordions

Initial Title
jquery - keep hover states on

Initial Tags
javascript, jquery

Initial Language
jQuery