It seems to me that Firefox ought to be better equipped to return the proper value when using $(window).height().
$(window).height()
I am using jQuery 1.8.2. Is this a bug
Try this function:
function GetBrowserDim() { if (window.innerHeight) { return { w: window.innerWidth, h: window.innerHeight}; } else { return { w: document.body.clientWidth, h: document.body.clientHeight }; } }