1,816
edits
David Mason (talk | contribs) No edit summary |
David Mason (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
function showNav() { | function showNav() { | ||
$(".noprint").show(); | $(".noprint").show(); | ||
$('#content').css('margin-left', '10em'); | $('#content').css('margin-left', '10em').css('padding', '1em'); | ||
$('#wnavcontrol').remove(); | $('#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>"; | ||
| Line 11: | Line 11: | ||
function hideNav() { | function hideNav() { | ||
$(".noprint").hide(); | $(".noprint").hide(); | ||
$('#content').css('margin-left', '0em'); | $('#content').css('margin-left', '0em').css('padding', '0em'); | ||
if (wnavcontrol) { | if (wnavcontrol) { | ||
$('#wnavcontrol').remove(); | $('#wnavcontrol').remove(); | ||