var dimensions = {width: 0, height: 0}; if (document.documentElement) { dimensions.width = document.documentElement.offsetWidth; dimensions.height = document.documentElement.offsetHeight; } else if (window.innerWidth && window.innerHeight) { dimensions.width = window.innerWidth; dimensions.height = window.innerHeight; }
Where is the dimensions plugin? I cant find the link. Glen On 12/1/06, Dave Methvin <[EMAIL PROTECTED]> wrote:
> Is there a jQuery way to get the window size cross-platform, > or should I be using the algorithm at: > http://www.howtocreate.co.uk/tutorials/javascript/browserwindow <http://www.howtocreate.co.uk/tutorials/javascript/browserwindow+>
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/