getElementById('id').scrollIntoView();. This will scroll to your Element. Window.scrollTo() scrolls to a particular set of coordinates in the document.
確定! 回上一頁