MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
   $('#content').css('margin-left', '10em');
   $('#content').css('margin-left', '10em');
   $('#wnavcontrol').remove();
   $('#wnavcontrol').remove();
   var dshow = "<a onclick='clickSupport()'>Support</a> | <a id='wnavcontrol' onclick='hideNav()' style='float: right; font-weight: bold'>-Wiki </a> ";
   var dshow = "<span style='float: right'><a onclick='clickSupport()'>Support</a> | <a id='wnavcontrol' onclick='hideNav()' style='font-weight: bold'>-Wiki</a></span>";
   $('#firstHeading').before(dshow).fadeIn();
   $('#firstHeading').before(dshow).fadeIn();
}
}
Line 15: Line 15:
       $('#wnavcontrol').remove();
       $('#wnavcontrol').remove();
   }
   }
   var dshow = "<a onclick='clickSupport()'>Support</a> | <a id='wnavcontrol' onclick='showNav()' style='float: right; font-weight: bold'>+Wiki </a> ";
   var dshow = "<span style='float: right'><a onclick='clickSupport()'>Support</a> | <a id='wnavcontrol' onclick='showNav()' style='font-weight: bold'>+Wiki</a></span>";
   $('#firstHeading').before(dshow).fadeIn();
   $('#firstHeading').before(dshow).fadeIn();
   wnavcontrol = true;
   wnavcontrol = true;