How to call destroy function in elevateZoom ? There is no mention of this in the documentation, if I quickly ctrl+f in source , I see an option for disable , but I'm not sure how to disable or destroy ElevateZoom?
I have the following code:
HTML:
<img id="img_01" src="http://unilaboralgirona.com/wp-content/uploads/2015/03/ZContact.jpg" data-zoom-image="http://unilaboralgirona.com/wp-content/uploads/2015/03/ZContact.jpg"/>
JS:
$("img").elevateZoom({ zoomType : "inner", cursor: "crosshair" , easing : true }); setTimeout(function(){}
Now, after 3 seconds, I want the zoom function to not work (I am doing this to isolate my problem, now please do not ask the counter question about why I am doing this). What am I doing inside setTimeout() that elevateZoom becomes non-functional.
FIDDLE HERE
source share