Return to Snippet

Revision: 52783
at November 1, 2011 15:08 by jackkeller


Initial Code
function GetHeight() {
    var y = 0;
    if (self.innerHeight) {
       y = self.innerHeight;
    }
    else if (document.documentElement && document.documentElement.clientHeight) {
       y = document.documentElement.clientHeight;
    }
    else if (document.body) {
       y = document.body.clientHeight;
    }
    return y;
}
    
whe = GetHeight();
if (whe < 550) {
    ahe = 150;
} else {
    ahe = 300;
}

Initial URL


Initial Description


Initial Title
GetHeight() Function

Initial Tags


Initial Language
JavaScript