1 $(window).scroll(function() { 2 console.log("滾離頂部" + $(document).scrollTop()); 3 4 //... 5 6 //對window對象進行scroll事件解綁7 $ .
確定! 回上一頁