[JS] IE äquivalent zu window.innerHeight – Fenstergröße im IE berechnen
Posted by skoch on 16. Juli 2009/* * getWinSize ( window ) */ function getWinSize ( win ) { if ( !win ) win = window; var ret = new Object(); if ( typeof win.innerWidth != ‘undefined’ ) { ret.width = win.innerWidth; ret.height = win.innerHeight; } else { var obj = getBody ( win ); ret.width = parseInt ( obj.clientWidth ); ret.height = [...]