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
You have to use tag at the beginning, and everything will be fine.