Mercurial > dive4elements > gnv-client
comparison gnv/src/main/webapp/WEB-INF/jsp/wmslayout.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 |
comparison
equal
deleted
inserted
replaced
694:271ec4d11a9f | 695:883b366e3b15 |
---|---|
47 | 47 |
48 map.addLayer(layer); | 48 map.addLayer(layer); |
49 map.setCenter(new OpenLayers.LonLat(lon, lat), zoom); | 49 map.setCenter(new OpenLayers.LonLat(lon, lat), zoom); |
50 <%}%> | 50 <%}%> |
51 } | 51 } |
52 | |
53 function toggle(element) { | |
54 var ele = document.getElementById(element); | |
55 console.log("Element: " + ele.style.visibility); | |
56 var vis = ele.style.visibility; | |
57 if (vis != "visible") { | |
58 ele.style.visibility = "visible"; | |
59 } | |
60 else { | |
61 ele.style.visibility = "hidden"; | |
62 } | |
63 } | |
52 </script> | 64 </script> |
53 </head> | 65 </head> |
54 | 66 |
55 <body id="gnviewerbody" onLoad="init()"> | 67 <body id="gnviewerbody" onLoad="init()"> |
56 <div id="overlay"></div> | 68 <div id="overlay"></div> |