Hello :)
I have discovered that plugin doesn't work when inflowPixels is 0 and the target is in the zoomed-in page.
The problem lies in jQuery's scrollTop function.
It returns float value, which is a bit smaller than the:
innerWrap.height() - $(target).height()
Thus, the quick solution I've came up with is:
Math.ceil($(target).scrollTop())
lines 221 and 217, in scrollableAreaMargin function.
PS: Thanks for the nice lightweight plugin :)
Hello :)
I have discovered that plugin doesn't work when inflowPixels is 0 and the target is in the zoomed-in page.
The problem lies in jQuery's scrollTop function.
It returns float value, which is a bit smaller than the:
Thus, the quick solution I've came up with is:
lines 221 and 217, in scrollableAreaMargin function.
PS: Thanks for the nice lightweight plugin :)