Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This plugin is made to cover the scrollbar with a slider so you can style it.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Demos
Octocat-spinner-32 Source
Octocat-spinner-32 README.md
Octocat-spinner-32 package.yml
README.md

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
Something went wrong with that request. Please try again.