jQuery(window).height inaccurate
jquery
Solution
Actually, this was a result of a hidden div element on my page. I had a thickbox link that would pull this hidden content. Removing this fixed the jQuery.width()!
Surprising, not sure if helpful, but is the answer indeed.
Problem
I'm doing a simple test on $(window).height() and I'm getting a value of 2602 on a screen resolution of 1366 x 768. ``` jQuery(document).ready(function($){ var W = $(window).width(); var H = $(window).height(); console.log('W ' + W); console.log('H ' + H); } ``` Outputs: W 1226 H 2602 Any tips on how to debug this or what I'm doing wrong? EDIT: Using chrome and FF I'm literally typing this in console: jQuery(window).height();