()
| 410 | scrollerHeight; |
| 411 | |
| 412 | function calculateScrollerHeight() { |
| 413 | // *Calculation of how tall scroller should be |
| 414 | var visibleRatio = scrollContainer.offsetHeight / scrollContentWrapper.scrollHeight; |
| 415 | if (visibleRatio == 1) |
| 416 | scroller.style.display = "none"; |
| 417 | else |
| 418 | scroller.style.display = "block"; |
| 419 | return visibleRatio * scrollContainer.offsetHeight; |
| 420 | } |
| 421 | |
| 422 | function moveScroller(evt) { |
| 423 | // Move Scroll bar to top offset |
no outgoing calls
no test coverage detected