diff gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 695:883b366e3b15

Replaced buttons for saving/loading projects with links. gnv/trunk@926 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 13 Apr 2010 17:22:49 +0000
parents 271ec4d11a9f
children d2582f75b144
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Tue Apr 13 16:44:30 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp	Tue Apr 13 17:22:49 2010 +0000
@@ -50,6 +50,18 @@
                     ele.checked = false;
                 }
             }
+
+            function toggle(element) {
+                var ele = document.getElementById(element);
+                console.log("Element: " + ele.style.visibility);
+                var vis = ele.style.visibility;
+                if (vis != "visible") {
+                    ele.style.visibility = "visible";
+                }
+                else {
+                    ele.style.visibility = "hidden";
+                }
+            }
         </script>
     </head>
 

http://dive4elements.wald.intevation.org