[英]$(window).height is different in internet explorer?
I currently have a vertical scrolling website with multiple divs, 我目前有一个具有多个div的垂直滚动网站,
http://dirkdunn.com http://dirkdunn.com
there are 4 divs, so when targeting, I can do $(window).height / 4, 有4个div,因此在定位时,我可以执行$(window).height / 4,
however, internet explorer looks at window height as the viewport, and not the whole scrolling screen, and in turn I get a screen with very small divs, 但是,Internet Explorer将窗口高度视为视口,而不是整个滚动屏幕,因此我得到的屏幕具有很小的div,
is there an equivalent to IE that I can use to that it will look at it like the other browsers? 有没有可以与其他浏览器一样浏览的IE等效项?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.