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

Relocate when apply css3 zoom feature #32

Closed
gazambuja opened this issue Apr 30, 2012 · 2 comments
Closed

Relocate when apply css3 zoom feature #32

gazambuja opened this issue Apr 30, 2012 · 2 comments

Comments

@gazambuja
Copy link

When i resize some div with zoom feature of CSS (style="zoom: 60%"), scroll keep in some strange positions. How I can "resize", "relocate" or "refresh" the scrollbar?

Thanks.

@inuyaksa
Copy link
Owner

inuyaksa commented May 2, 2012

What browser do you use?
You can add zoom to rail too.
keep in a variable the nicescroll object:
nice = $("body").niceScroll();

When you set css zoom for div, set zoom property to rail with nice.rail.css('zoom','60%')

@gazambuja
Copy link
Author

Thanks, this work just fine.

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