lightbox - jQuery loupe & prettyPhoto - how can I make them both working? -


i apply 2 actions photo: 1. on hover: run jquery loupe magnify 2. on click: run prettyphoto zoom it

problem: i've been trying do: http://jsfiddle.net/sherlock85/udfey/ can see, loupe works fine, prettyphoto plugin not. if comment or remove loupe initialization line: $('.demo').loupe(); prettyphoto starts work fine. there easy way make them both working properly?

thank you!

you can forward trigger event onwards this:

$('.loupe').click(function(){          $(this).prev().trigger('click');      }); 

example: http://jsfiddle.net/niklasvh/nkean/


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -