Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add class attribute to every created scroll #22

Closed
pkarny opened this issue Mar 20, 2012 · 1 comment
Closed

Feature request: add class attribute to every created scroll #22

pkarny opened this issue Mar 20, 2012 · 1 comment

Comments

@pkarny
Copy link

pkarny commented Mar 20, 2012

First of all thank you for this wonderful jQuery plugin.
I'm missing only one feature in it. Every time we call the niceScroll() we create an <div/> with unique ID at the end of <body/> it would be great if every created <div/> had a shared class, to gain the simple ability to select them all in CSS styles or JS scripts.
I'm hiding about 10-14 scrolls simultaneously and it's rather inconvenient to do it by using getNiceScroll() method.

Thanks, veritas

@inuyaksa
Copy link
Owner

To hide all scrollbars at once you can use:
$(":nicescroll").getNiceScroll().hide();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants