MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
   $(".noprint").show();
   $(".noprint").show();
   $('#content').css('margin-left', '10em');
   $('#content').css('margin-left', '10em');
   $('#wnavcontrol').detach();
   $('#wnavcontrol').remove();
   var dshow = "<span id='wnavcontrol' onclick='hideNav()' style='float: right; font-weight: bold; color: blue'>-Wiki</span>";
   var dshow = "<span id='wnavcontrol' onclick='hideNav()' style='float: right; font-weight: bold; color: blue'>-Wiki</span>";
   $('#firstHeading').before(dshow).fadeIn();
   $('#firstHeading').before(dshow).fadeIn();
Line 13: Line 13:
   $('#content').css('margin-left', '0em');
   $('#content').css('margin-left', '0em');
   if (wnavcontrol) {
   if (wnavcontrol) {
       $('#wnavcontrol').detach();
       $('#wnavcontrol').remove();
   }
   }
   var dshow = "<span id='wnavcontrol' onclick='showNav()' style='float: right; font-weight: bold; color: blue'>+Wiki</span>";
   var dshow = "<span id='wnavcontrol' onclick='showNav()' style='float: right; font-weight: bold; color: blue'>+Wiki</span>";