window.scrollX 回傳捲軸的水平位移量。 舉例如下 function run() { window.scrollBy(30, 25); var s1 = document.getElementById("show1"); s1.innerHTML = window.
確定! 回上一頁