20th
October
2010
Posted in
Blog :: Switching images with jQZoom
... or thank goodness for stackoverflow. I have an image magnifier working with the jQZoom jQuery plugin. Setting it up was easy but when I wanted to switch the image I'm magnifying I got stuck - calling the initialisation function on the large image again produced weird results. The answer, thanks to this helpful hint at stackoverflow is to call unbind on the target element (unloading the jQZoom event handling code), change the image, and reinitialize jQZoom. Simple...
Posted on
October 20th 2010, 10:30 AM