I'm currently using the loupe plugin to zoom in on a large organizational picture that is set up as an image map. Normally when a user clicks a portion of this image map they are redirected, unfortunately I can't find a method that will allow loupe to respond to a user clicking a link on an image map. Any advice would be greatly appreciated!
Thanks!
I'm not familiar with that particular plugin, but can't you simply attach your own
clickevent handler?Given this markup (based on the demo at the plugin's GitHub repo):
You can attach a click handler like this:
Edited to add that if you're working with an image map, you can simply attach a click event handler to the
<area>elements, something like this: