JavaScript Scrollbar to Top: Show a scrollbar at top and bottom of wide element

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 187 All time: 274 This week: 4Up
Version License JavaScript version Categories
scrollbar-to-top 1.0.0BSD License1.0HTML
Description Author

This object can show scrollbars at the top and the bottom of wide elements that do not fit horizontally inside Web page container elements.

It takes a given Web page element and inserts it within a container element with an automatic scrollbar that appears if the contained element does not fit horizontally.

Another scrollbar shows at the top of the element, so the user can scroll it without having to use the scrollbar at the bottom of the element.

The wide element may also get the keyboard focus, so the user may scroll it using the arrow keys.

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos <contact>
Classes: 11 packages by
Country: Portugal Portugal
Age: 54
All time rank: 21 in Portugal Portugal
Week rank: 6 Down1 in Portugal Portugal Equal

Screenshots  
  • ScrollbarToTop.png
  Files folder image Files  
File Role Description
Plain text file scrollbarToTop.js Class Scrollbar to top object
Accessible without login Plain text file testScrollbarToTop.html Example Example page of scrollbar at the top and bottom of a div

 Version Control Unique User Downloads Download Rankings  
 66%
Total:187
This week:0
All time:274
This week:4Up