Beverleyh
06-30-2016, 10:05 PM
1) Script Title: Zoomio
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/zoomio.htm
3) Describe problem: Small glitch in code block on demo page;
function changeImage(imgid, src){
document.getElementById(imgid).src = src // update image src
$('#celebrity').zoomio() // reinitialize Zoomio on the image
}
I think should be this;
function changeImage(imgid, src){
document.getElementById(imgid).src = src // update image src
$('#'+imgid).zoomio() // reinitialize Zoomio on the image
}
Thanks for another great script ddadmin! :)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/zoomio.htm
3) Describe problem: Small glitch in code block on demo page;
function changeImage(imgid, src){
document.getElementById(imgid).src = src // update image src
$('#celebrity').zoomio() // reinitialize Zoomio on the image
}
I think should be this;
function changeImage(imgid, src){
document.getElementById(imgid).src = src // update image src
$('#'+imgid).zoomio() // reinitialize Zoomio on the image
}
Thanks for another great script ddadmin! :)