MediaWiki:Mobile.js

/* Any JavaScript here will be loaded for users using the mobile site */ /* Main Page drop down box */

jQuery("#mouseoverpopupopener").mouseenter(function {   jQuery("#mouseoverpopupwindow").show; });

//================================================================================ //                   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(" &raquo; ");    $("div.dropdownmenu>ul>li>span>a").click(function(event) { event.preventDefault; }); });