1) Script Title: jQuery Image Magnify v1.11
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...agemagnify.htm
3) Describe problem: i want to magnify the image on mouseover instead of clicking it. is there any way to do it ?
thanks
1) Script Title: jQuery Image Magnify v1.11
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...agemagnify.htm
3) Describe problem: i want to magnify the image on mouseover instead of clicking it. is there any way to do it ?
thanks
Hi!
I think you must replace carefully all or some of "click" occurrences in the .js file (so pay attention to the new path), with a look particularly focused to "trigger.click". Try "hover" or "mouseover", for example (obviously don't do it in comments!).
Good luck!
Last edited by Luys; 05-17-2011 at 01:21 AM.
Hi!
I suddenly realized that, somehow, this activation is more problematic:
We must maintain the onclick event to close the magnified image. Otherwise with "mouseover" replacement there is a continuous loop (the image try to be opened and closed sequentially forever).
So I changed finally all (-1) the occurrences of word "click" with "mouseover" but I respect the following sentence:
(You can edit the file jquery.magnifier.js with notepad if no better program at hand!)Code:$clone.click(function(e){ //action when magnified image is clicked on
I hope that this will have been helpful as a first approximation.
Luys
Last edited by Luys; 05-17-2011 at 01:14 AM.
dayn (05-17-2011)
Bookmarks