var theHeight = "innerHeight" in window ? window.innerHeight : document.documentElement.offsetHeight;
我需要一个高度减去50px的var
我怎么做到的?
谢谢!
var theHeight = $(window).height() - 50;