Saturday, 7 September 2013

JQuery gives different values for window height each time i refresh the page

JQuery gives different values for window height each time i refresh the page

why does it return 671 when i first time load the page with google chrome
but it returns different value when i relad the page
$("#online").css({height: $(window).height()-40-$("#head").height()});

No comments:

Post a Comment