window.onscroll = function (){ alert(window.pageYOffset); // have also tested with window.scrollY }. And, as expected, I get my alerts once scroll is ...
確定! 回上一頁