igorlino / elevatezoom-plus

Enhanced elevateZoom - A jQuery image zoom plugin
http://igorlino.github.io/elevatezoom-plus/
MIT License
162 stars 78 forks source link

Zoom lens and window positioning on HTML dialog, Code cleanup #106

Closed VigneswaranMarimuthu closed 6 years ago

VigneswaranMarimuthu commented 6 years ago

I had done some changes to the library so that it can be used on elements inside HTML dialog. Existing behaviour is not broken.

There are some issues with respect to zoomContainerAppendTo even in the existing implementation. If the zoom container element is present below the element that user is trying to zoom mouse positions are not correct. I will try to fix it during my free time.

Please note while fixing above issue, will be changing the property names pageOffsetX and pageOffsetY. Actually, these properties are offsets to mouse pointer.