新闻中心 News 分类>>
随鼠标上下滚动的jquery代码
复制代码 代码如下:
//随鼠标上下滚动
$(window).bind('scroll resize',function(){
$('#sidebar').stop(true, true).animate({
'top': $(document).scrollTop() + 'px'
},500);
}).scroll().resize();
//随鼠标上下滚动
$(window).bind('scroll resize',function(){
$('#sidebar').stop(true, true).animate({
'top': $(document).scrollTop() + 'px'
},500);
}).scroll().resize();
2026-01-16 15:57:42
浏览次数: 次
返回列表





