MediaWiki:Common.js: Difference between revisions

Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 64:
}
// iterate over all ExpandableFrames
var ExpandableFrames = mw.util.$content.findjQuery( 'div.ExpandableFrame' );
// if more Expandable Bars found and not template namespace than Default: hide all
Line 86:
}
}
});
 
 
 
 
//================================================================================
// drop down menus
 
$(function(){
$("div.dropdownmenu ul li").hover(function(){
$(this).addClass("hover");
$('ul:first',this).css('visibility', 'visible');
}, function(){
$(this).removeClass("hover");
$('ul:first',this).css('visibility', 'hidden');
});
$("div.dropdownmenu ul li ul li:has(ul)").find("a:first").append(" » ");
});