On most of my projects I have some js to push the footer to the bottom
on pages with little/no content (compares document height and viewport
height).  When I upgraded to jQuery 1.2.2 it stopped working. It seems
like I'm getting unexpected results from $(document).height().  Am I
missing something (newer syntax perhaps?), or is this a bug of some
sort?

Testing on the same page:
jQuery 1.2.1 (packed) -- This is how it should be:
IE (v6.0.2900.2180.xpsp_sp2_gdr.070227-2254)
$(document).height(): 423
$(window).height(): 613

Firefox (2.0.0.11)
$(document).height(): 405
$(window).height(): 609

jQuery 1.2.2 (packed):
IE
$(document).height(): 617
$(window).height(): 613

Firefox
$(document).height(): 609
$(window).height(): 609

Thanks guys,
-rich

Reply via email to