Does jQuery have something similar to YUI's getDocumentScrollTop?
(reference: http://developer.yahoo.com/yui/docs/YAHOO.util.Dom.html )
$(document).scrollTop()
我给他们两个尝试了一个具有非常高的div的文档,并且它们在屏幕上的各个滚动点似乎都等效。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.