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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-10-28 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 179 All time: 227 This week: 55Up
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
Name: Manuel Lemos <contact>
Classes: 11 packages by
Country: Portugal Portugal
Age: 46
All time rank: 21 in Portugal Portugal
Week rank: 4 Down1 in Portugal Portugal Equal

  • 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:179All time:227
 This week:0This week:55Up