如果我想在页面滚动上绑定一个事件,我可以使用scroll();
。
但是当scroll()
结束时该如何触发呢?
我想重现这个:
$(window).scroll(function(){
//do somenthing
});
$(window).scrollSTOPPED(function(){ //--> when i'm scrolling then i stop to scrolling (so NOT when page scrollbar is at the end top or bottom :)
//do somenthing else
});
有什么想法吗?
https://stackoverflow.com/questions/14035083
复制相似问题