I have this code to launch jQuery elevateZoom but, only works if I put an alert()
before.
I have already try with/without load()
function.
jQuery(document).ready(function($){
alert("Hi");
$("#sh-product-main-image").load(function(){
$(this).elevateZoom({
zoomType: "inner",
debug : true,
cursor: "crosshair",
zoomWindowFadeIn: 500,
zoomWindowFadeOut: 500
});
});
});
This is another variation of the code I have tried:
jQuery(document).ready(function($){
alert("Hi");
$("#sh-product-main-image").elevateZoom({
zoomType: "inner",
debug : true,
cursor: "crosshair",
zoomWindowFadeIn: 500,
zoomWindowFadeOut: 500
});
});