()
| 24 | |
| 25 | // This function uses a for loop for individual progress bars. You can modify it so that it applies to the whole skill section at once |
| 26 | function setScrolled() { |
| 27 | |
| 28 | var scrolled = Math.floor((window.scrollY/(docHeight-windowHeight))*100); |
| 29 | |
| 30 | scrolledBar.innerText = scrolled; |
| 31 | |
| 32 | } |
| 33 | |
| 34 | |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected