var up = false; var div = document.getElementById('yourDivId'); setInterval(function() { var pos = div.scrollTop; if (up) { pos -= 1; // scroll up } else ...
確定! 回上一頁