sì, va bene se è in quirk mode ma se ha un doctype valido ha quel difetto
non ho provato ma questo dovrebbe risolvere
codice:
function getViewportHeight() {
// supported in Mozilla, Opera, and Safari
if(window.innerHeight)
return window.innerHeight;
// supported in standards mode of IE, but not in any other mode
if(window.document.documentElement.clientHeight)
return document.documentElement.clientHeight;
// supported in quirks mode, older versions of IE, and mac IE (anything else).
return window.document.body.clientHeight;
}
ciao