$(function(){ $(window).scroll(function() {//滚动监控 var to_top = $(document).scrollTop();//当前页面位置 }); });
$(function(){ $(window).scroll(function() {//滚动监控 var to_top = $(document).scrollTop();//当前页面位置 }); });
转载于:https://www.cnblogs.com/of-course/p/9240904.html