javascript scroll事件

时间:2014-01-15 20:15:37   收藏:0   阅读:920

http://developer.51cto.com/art/201107/277994.htm

 

onscroll事件

window.onscroll|| document.onscroll

var scroll = document.documentElement.scrollTop || document.body.scrollTop;

 

http://bigspotteddog.github.io/ScrollToFixed/

原文:http://www.cnblogs.com/daishuguang/p/3515344.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!