Submit your widget

JavaScript Scrollable

Created 13 years ago   Views 12325   downloads 3295    Author n/a
JavaScript Scrollable
View DemoDownload
Share |

TinyScroller is a basic scrollable div script at only 1.7KB. It can be used with any HTML and degrades gracefully. The styling is completely customizable through the simple CSS. More features will be coming soon.

To initialize a scrollable div use the following code:



The TINY.scroller.init function takes 5 parameters: the id of the parent content wrapper, the id of the content div, the id of the scroll div, the id of the scroll button, and the class of the scroll button active state (optional).