PDA

View Full Version : jQuery Image Magnify v1.11 - Pic Popup Location



Gonzo714
05-18-2019, 01:47 PM
1) Script Title: jQuery Image Magnify v1.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm

3) Describe problem: When JS is placed within an iframe, the animated picture 'target' is relative to the iframe, not the mouse.

Please refer to this post - http://www.dynamicdrive.com/forums/archive/index.php/t-62860.html

Forth comment down from jscheuer1, he states
"If you still want it to go where the mouse is, we could probably work out a formula for that using the e.pageX and e.pageY (I think that's what jQuery calls them) visa vis half the target dimensions of the fully enlarged image."

It would be appreciated if you could show me how to modify the js to accommodate this option.
I.E. - Having the enlarged picture relative to mouse position (or original positioned picture, whichever is easier)

I appreciate your time.
Gonzo

Gonzo714
05-24-2019, 05:11 PM
Its been 6 days without a reply?
Is everyone on vacation, or arent these forum worth posting to anymore?