object.onscroll = function(){myScript};. Try it Yourself ». In JavaScript, using the addEventListener() method: object.addEventListener("scroll", myScript);.
確定! 回上一頁