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

Crossbrowsing toTop #37

Closed
fakkio opened this issue Nov 9, 2015 · 3 comments
Closed

Crossbrowsing toTop #37

fakkio opened this issue Nov 9, 2015 · 3 comments

Comments

@fakkio
Copy link

fakkio commented Nov 9, 2015

I think the right way to do toTop animation is through the selector $('html, body') for crossbrowsing purpose, i.e.:

$(document.body).animate({scrollTop: 0}, 800);
@mynamesleon
Copy link

+1 for this. Need to use $('html, body') for IE7 & 8 support

@AllThingsSmitty
Copy link
Owner

Thanks, I'm reviewing this now.

@AllThingsSmitty
Copy link
Owner

Commit bbec1d5.

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

3 participants