JavaScript常見兼容

好好學習 ,每天向上。Are you ready? // 1.滾動條到頂端的距離(滾動高度)web var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; // 2.滾動條到左端的距離數組 var scrollLeft = document.documentElement.scrollLeft |
相關文章
相關標籤/搜索