Make jqZoom Evolution's zoom box follow my mouse cursor
I am using jqZoom Evolution to implement zoom functionality on my site, the problem is that it does not have the functionality for the zoom box to follow my mouse pointer around as I hover over a image, I have tried using mousemove to make it follow the cursor around, but every time I resize the browser the box moves further away from the cursor,
$("#single_main_container").mousemove(function(e){
$(".zoomWindow").css({
top: e.pageY,
left: e.pageX
开发者_如何学运维 });
});
so basically I just need the zoom box to follow my mouse cursor around when I hover over the image.
its not following your cursor? but the 1st demo is showing zoom as you move your mouse http://www.mind-projects.it/projects/jqzoom/demos.php#demo1
Edit
not exactly a solution but an alternative plugin which provides mouseover zoom out-of-box
http://redeyeoperations.com/plugins/zoomy/
精彩评论