为了获取窗口(window)的宽度和高度,我们可以使用 document. ... pageYOffset); alert('Current scroll from the left: ' + window.pageXOffset);.
確定! 回上一頁