我相信jQuery Mobile,可以做到这一点.看看下面的代码:
$(document).bind("scrollstop", function() {
//What occurs when the scrolling stops
alert("You have stopped scrolling");
});
$(document).bind("scrollstart", function() {
//What occurs when the scrolling starts
alert("You have started scrolling");
});
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
17780 次 |
最近记录: |