Open clonemeagain opened 10 years ago
Thanks. I think this is a good suggestion, but I don't really care for the way it's being implemented (no offense intended!). I think it was a bad idea on my part to tie to the normal onscroll, rather than having to activate it in some way (such as with a click or focus).
When zoomed all the way back out, allows user to return to known work-flow of scrolling down the page. Scrolling up will still trigger as normal. Tested.
Also means that an image won't block a normal scroll use of the page when user isn't interested in zooming, but the image happens to be beneath the mouse (downwards scrolling had no effect on page when image was beneath cursor). Change only uses API function: http://api.jquery.com/scrolltop/
60 is in pixels, so needs to be enough that it doesn't affect the normal use of the wheel.