Mercurial > dive4elements > gnv-client
view gnv/src/main/webapp/scripts/gnviewer.js @ 977:2444da07e487
Changed and added some tooltips in the chart option panel (issue293).
gnv/trunk@1152 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 04 Jun 2010 05:37:42 +0000 |
parents | d2582f75b144 |
children |
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"; }