view gnv/src/main/webapp/scripts/gnviewer.js @ 563:0fc9cd280f1e

Integrated an Textarea so that is possible to manipulate the XML-Document which simulates the MapViewer-Interface-Body. gnv/trunk@669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 09 Feb 2010 13:13:41 +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";
}

http://dive4elements.wald.intevation.org