Results 1 to 3 of 3

Thread: Need help with jQuery Image Magnify v1.11

  1. #1
    Join Date
    May 2011
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Need help with jQuery Image Magnify v1.11

    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

  2. #2
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default From a newbie

    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.

  3. #3
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default First step to the solution

    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:

    Code:
    $clone.click(function(e){ //action when magnified image is clicked on
    (You can edit the file jquery.magnifier.js with notepad if no better program at hand!)

    I hope that this will have been helpful as a first approximation.

    Luys
    Last edited by Luys; 05-17-2011 at 01:14 AM.

  4. The Following User Says Thank You to Luys For This Useful Post:

    dayn (05-17-2011)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •