https://github.com/jnbdz/scrollbarcover
This plugin is made to cover the scrollbar with a slider so you can style it.
https://github.com/jnbdz/scrollbarcover
Last synced: 7 days ago
JSON representation
This plugin is made to cover the scrollbar with a slider so you can style it.
- Host: GitHub
- URL: https://github.com/jnbdz/scrollbarcover
- Owner: jnbdz
- Created: 2011-05-05T01:54:05.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-05-06T04:26:49.000Z (over 14 years ago)
- Last Synced: 2025-01-10T21:15:01.916Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 128 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ScrollBarCover
===========This plugin is made to cover the scrollbar with a slider so you can style it.
Works in: IE 8, FireFox, Safari and Google Chrome.
Problems found in IE 6 and in Opera browsers.
How to use
----------You need to add the id of the element where you want to have the cover scrollbar. Also don't forget to add the CSS for the knob and element of the slider.
JavaScript:
new ScrollBarCover('the_id_of_the_element', 'namespace');
CSS:
id:
* namespace + -scrollbarcover-cover-wraper
* namespace + -scrollbarcover-slider-container
* namespace + -scrollbarcover-slider-element
* namespace + -scrollbarcover-slider-knobclass:
* scrollbarcover-cover-wraper
* scrollbarcover-slider-container
* scrollbarcover-slider-element
* scrollbarcover-slider-knob