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
afterShowinstead ofafterLoadand use css
as you open fancybox popup it's z-index is
8010which doesn't allowloupeto show up just give it higherz-index:8020;to make it work .