javascript - jScript Magnifier - on hover -
hope 1 of can , appreciate it!
i have found image magnifier on dynamic drive, it's not want.. it's perfect except 1 thing. don't want user click on image view it, want them able hover on , image enlarges on middle of screen. have tried few others such one: http://www.dynamicdrive.com/style/csslibrary/item/css3_hover_image_gallery/
if has link 1 looking for, or can imagemagnify 1 work on hover perfect!
here link 1 like: http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm
thank answers!
i don't know of other plugins you're requesting, looks may able edit source code provide own purposes since it's not minified.
to change enlarges image on hover instead of click, can change appropriate parts handle clicking mouseenter
, mouseleave
.
for example, can change following line...
$target.bind('click.magnify', function(e){ //action when original image clicked on
to this...
$target.bind('mouseenter.magnify', function(e){ //action when original image hovered on
note: want give them credit original code if so.
Comments
Post a Comment