add the movie_list script

This commit is contained in:
2018-08-29 10:32:06 +03:00
parent e70d6063e5
commit 391ae02488
5 changed files with 465 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
(function() {
var si = document.querySelector(".scroll-indicator");
var onscroll = function() {
var max = document.body.scrollHeight - window.innerHeight;
si.style.display = "block";
si.style.width = (window.pageYOffset / max * 100) + "%";
};
window.onscroll = onscroll;
onscroll();
})();