腦爸打 - 網頁設計專家 設計師專欄文章: jQuery Mobile Scroll Events 小教學
上文我們簡介了jQuery Mobile Events的各個種類,今文我們特別專談當互聯網使用者滑上滑落手機螢幕時的事件 jQuery Mobile Scroll Events:
jQuery Mobile Scrollstart:
$(document).on("scrollstart",function(){
alert("開始scrolling!");
});
jQuery Mobile Scrollstop
$(document).on("scrollstop",function(){
alert("停止scrolling!");
});
- 2022-01-04 21:49:20
- 1