You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We love this plugin, and are using it in the middle of a page, after a banner, menu bar, etc.
We found that the image map was not getting clicks like we'd expect.
I changed the lines in this block:
"$container.click(function(e) {
// Trigger click on image below lens at current cursor position"
to use clientX and clientY vs. pageX and pageY, and that solved the problem.
I wasn't too familiar with this but this note was helpful: http://www.zehnet.de/2010/11/19/document-elementfrompoint-a-jquery-solution/ .
Thank you!
The text was updated successfully, but these errors were encountered:
We love this plugin, and are using it in the middle of a page, after a banner, menu bar, etc.
We found that the image map was not getting clicks like we'd expect.
I changed the lines in this block:
"$container.click(function(e) {
// Trigger click on image below lens at current cursor position"
to use clientX and clientY vs. pageX and pageY, and that solved the problem.
I wasn't too familiar with this but this note was helpful: http://www.zehnet.de/2010/11/19/document-elementfrompoint-a-jquery-solution/ .
Thank you!
The text was updated successfully, but these errors were encountered: