Add maximiseMap() and minimiseMap() functions to the edit page to allow the

size of the editing area to be toggled.
This commit is contained in:
Tom Hughes 2008-05-11 16:15:35 +00:00
parent 369c81a414
commit cf9f5ba933

View file

@ -105,7 +105,29 @@
resizeMap();
}
function maximiseMap() {
$("left").style.display = "none";
$("greeting").style.display = "none";
$("tabnav").style.display = "none";
$("content").style.top = "10px";
$("content").style.left = "10px";
handleResize();
}
function minimiseMap() {
$("left").style.display = "";
$("greeting").style.display = "";
$("tabnav").style.display = "";
$("content").style.top = "35px";
$("content").style.left = "192px";
handleResize();
}
handleResize();
window.onload = handleResize;