window.scrollBy() 用來捲動網頁的捲軸。 scrollBy() 需要兩個參數 window.scrollBy(x, y); 若網頁原本顯示內容的座標為(x-coord, y-coord) ,瀏覽器會移動捲軸 ...
確定! 回上一頁