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:
parent
369c81a414
commit
cf9f5ba933
1 changed files with 22 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue