diff --git a/js/jquery/plugins/jqzoom/jquery.jqzoom.js b/js/jquery/plugins/jqzoom/jquery.jqzoom.js index 5a73f0578..2e03940a7 100755 --- a/js/jquery/plugins/jqzoom/jquery.jqzoom.js +++ b/js/jquery/plugins/jqzoom/jquery.jqzoom.js @@ -24,8 +24,10 @@ var noalt =''; $(this).hover(function() { - var imageLeft = $(this).get(0).offsetLeft; - var imageTop = $(this).get(0).offsetTop; + var imageRelativeLeft = $(this).get(0).offsetLeft; + var imageLeft = $($(this).get(0)).offset().left; + var imageRelativeTop = $(this).get(0).offsetTop; + var imageTop = $($(this).get(0)).offset().top; var imageWidth = $(this).get(0).offsetWidth; var imageHeight = $(this).get(0).offsetHeight; @@ -37,11 +39,11 @@ $(this).after("