Maintain hover state (jQuery)
HTML: <ul class="dropdown"> <li><a href="#">Item 1</a></li> <li> <a href="#">Item 2</a> <div class="submenu">something</div> </li> </ul> jQuery: $j("ul.dropdown li").hover(function () { $j(this).addClass("hover"); $j('div.submenu', this).css('visibility', 'visible'); }, function () ...