troggle-unchained/media/js/jquery.dropdownPlain.js
substantialnoninfringinguser e9eb00f65d [svn]
2009-05-18 04:30:26 +01:00

17 lines
374 B
JavaScript

$(function(){
$("ul.dropdown li").hover(function(){
$(this).addClass("hover");
$('ul:first',this).css('visibility', 'visible');
}, function(){
$(this).removeClass("hover");
$('ul:first',this).css('visibility', 'hidden');
});
$("ul.dropdown li ul li:has(ul)").find("a:first").append(" » ");
});