webapp怎么判斷滾動條到達底部
1 回答

MMTTMM
TA貢獻1869條經驗 獲得超4個贊
1 2 3 4 5 6 7 8 | $(window).scroll(function(){ var scrollTop = $(this).scrollTop(); var scrollHeight = $(document).height(); var windowHeight = $(this).height(); if(scrollTop + windowHeight == scrollHeight){ //alert(213); } }); |
- 1 回答
- 0 關注
- 1027 瀏覽
添加回答
舉報
0/150
提交
取消