PDA

View Full Version : Image power zoomer not working with AJAX



dvnitycker
07-21-2011, 11:54 AM
1) Script Title:
Image power zoomer

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/powerzoomer.htm
3) Describe problem:

Hi,

When I do the jQuery('#element').addpowerzoom(); from the html page that is being ffetched with AJAX, it doesn't work. When I do it with Firebug console, it works. Script gets eval-ed, and the line gets executed, but nothing happens.
I'm replacing an existing image with new one from AJAX and inside that script is the trigger. I cannot move the trigger outside of the AJAX returned script.

Do you have an idea why the call is not working when it's called via AJAX?

dvnitycker
07-22-2011, 03:59 AM
I found out that fancybox somehow collides with the script.. I'm working on resolving now