]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
Make sure the diary tab always links to the global diary rather than
[rails.git] / app / views / site / edit.rhtml
index ac54cb5e5f74c101f962b92fdb3c32657e479bd6..afd33e4ae1cbb1371dfec634cfae140374d6ea57 100644 (file)
 
     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;