An open API service indexing awesome lists of open source software.

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.

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-knob

class:

* scrollbarcover-cover-wraper
* scrollbarcover-slider-container
* scrollbarcover-slider-element
* scrollbarcover-slider-knob