Boysama
Results
1
comments of
Boysama
1. body ```js document.body.onscroll = function(){ var windowHeight = document.body.clientHeight; var scrollTop = document.body.scrollTop; document.getElementById("backTop").hidden = scrollTop > windowHeight?false:true; }; ``` 2. div ```js var contentBox = document.getElementById("content"); contentBox.onscroll =...