viewport size from JQuery
I tried several things using JQuery to get the usable window size, mostly of the $(window).width() and $(window).height() variety, and never found something work in all browsers. Using older JQuery 1.11.1.
I finally found a snippet on stackoverflow for a routine they called getViewPortSize() that seemed to work nicely in IE, Chrome, Firefox, and iPad/Safari.
It really seemed like something pretty basic JQuery would do. But the $(window).height() kept coming up way small in Firefox 32.0.2.
Recommendations? The docs for JQuery suggest that the $(window).width() and $(window).height() routines should work but they don't.
Thanks,
Dennis