Mercurial > dive4elements > gnv-client
view gnv/src/main/webapp/scripts/gnviewer.js @ 557:05fcb3c553fd 0.4
merged geo-backend/0.4
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:50 +0200 |
parents | d93ea867406b |
children | d2582f75b144 |
line wrap: on
line source
function displayOverlay() { adjustOverlaySize(); showDiv("overlay"); showDiv("overlayContent"); } function adjustOverlaySize() { var lHeight = document.getElementById("page").scrollHeight; //alert(lHeight); var lOverlay = document.getElementById("overlay"); lOverlay.style.height = lHeight + 'px'; } function showDiv(pName) { var el = document.getElementById(pName); el.style.visibility = (el.style.visibility == "visible") ? "hidden" : "visible"; }