-
Notifications
You must be signed in to change notification settings - Fork 123
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
window.scrollX and window.scrollY compatibility on IE 11 #33
Comments
Good catch @andreg, I'll get this fixed up in a second. |
All set, and released as 0.3.2! |
Thank you! |
for better compatibility; |
$(document).ready(function() {
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
there's an issue of the plugin not being able to properly position the zoom pane on IE 11, because the computation required to assign the
top
andleft
values returnsNaN
.This can be fixed using
window.pageXOffset
andwindow.pageYOffset
instead ofwindow.scrollX
andwindow.scrollY
. As you can see here, usingwindow.pageXOffset
is better for cross-browser compat.The text was updated successfully, but these errors were encountered: