Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
105
rated 0 times [  106] [ 1]  / answers: 1 / hits: 15789  / 11 Years ago, wed, august 7, 2013, 12:00:00

i've been searching a little bit on internet for a jquery plugin letting me to zoom an image.



I found many of them, doing it in several ways, my favorites are those ones that zoom the image in a separate area and not directly the original image.



ex http://i-like-robots.github.io/EasyZoom/ (one of the many)



But all these plugins seems to work directly on img tag instead i would like to zoom a div with src attribute referring to an image. (The html main structure is given so i cannot change it that much).



Do you know any plugin doing it or do you know how i could do it?
(would be better if t works also ojn IE8-9, even if it's not a must)
Thanks


More From » jquery

 Answers
49

Use Zoomooz plugins there are free and simple to use



See Simple Zoom Demo with Zoomooz on jsfiddle



$(#zoom).click(function () {
$(this).zoomTo({
targetsize: 1.0,
root: $(.container)
});
});

[#76472] Tuesday, August 6, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
havenbilliec

Total Points: 324
Total Questions: 106
Total Answers: 94

Location: Pitcairn Islands
Member since Fri, Oct 15, 2021
3 Years ago
;