X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9df6d2ac067c4f452004a3745213be2ca34dbf09..2829bf79d0120ba534a1b4f5ad75ae1622a76d06:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index ac54cb5e5..afd33e4ae 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -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;