http://jsfiddle.net/warrenkc/svsdx/5440/ see my code so far.
$(document).ready(function () {
$("#single").fancybox();
$("#demo-2").loupe();
});
I am looking to add an image magnifier such as loupe to the enlarged image popup from FancyBox. (Useful for users with lower screen resolutions when large images are shrunk by browser)
Does anyone know how to do this? Thanks!
Fiddle Demo
Use
afterShow
instead ofafterLoad
and use css
as you open fancybox popup it's z-index is
8010
which doesn't allowloupe
to show up just give it higherz-index:8020;
to make it work .