Mercurial > dive4elements > gnv-client
view gnv/src/main/webapp/scripts/gnviewer.js @ 407:55dae5bb76db
Fixed issue149. Render the chart if there are output modes existing for this state - not if there are further states. TODO: We should check if there is an output mode named 'chart' before rendering a chart.
gnv/trunk@583 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 20 Jan 2010 14:44:39 +0000 |
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"; }