View Full Version : Multiple Instance Issue

10-07-2011, 07:40 PM
1) Script Title: featuredimagezoomer.js

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/featuredzoomer.htm

3) Describe problem: I am using featuredimagezoomer.js and it works fine for the pre-loaded images. I make ajax calls to retrieve images dynamically to the same IMG tag. So that the old image disappears and the new image appears. After the image is loaded I call addimagezoom. On Firefox and Chrome the zoom functionality works perfect on the new image displayed, however, when the mouse goes out of the image the previous image is also magnified(even though the image is physically not present on the screen). On IE though, the magnifaction area does not disappear even when the cursor goes out of the image. So my question is how do I remove all the references to addimagezoom before creating a new instance.