Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    I have the lastest version-Image Handler 2.0 for Zen-Cart v1.3.x from http://breakmyzencart.com/image-handler
    the page Y change in the forum (thank you) doesnt seemed to be addressed in the update...

    this is what I have:

    Code:
       if (docheight - event.clientY < zoomimg_h + (2 * padding)){
          ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
        } else {
          ycoord += truebody().scrollTop + event.clientY;
    should I change
    e.pageY
    to
    event.clientY
    Last edited by dharma; 25 Jan 2008 at 06:48 AM.

  2. #2
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    Quote Originally Posted by dharma View Post
    I have the lastest version-Image Handler 2.0 for Zen-Cart v1.3.x from http://breakmyzencart.com/image-handler
    the page Y change in the forum (thank you) doesnt seemed to be addressed in the update...

    this is what I have:

    Code:
       if (docheight - event.clientY < zoomimg_h + (2 * padding)){
          ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
        } else {
          ycoord += truebody().scrollTop + event.clientY;
    should I change to
    The version you have is old.
    Get the latest from Downloads.
    http://www.zen-cart.com/index.php?ma...roducts_id=117

    That change should be the fix.
    You can also download the new version and pull the javascript file and upload over your old one.

    M

  3. #3
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default Re: pageY is null -- imageHandler mod

    Woops! I thought the authors site carried the lastest release! I didn't think to look in ZC downloads

    I downloaded the release from 10/07 for 1.3.7 and installed (without shopad folder)...works great!

    Thanks for the heads up!

 

 

Similar Threads

  1. Replies: 7
    Last Post: 4 May 2016, 01:59 AM
  2. Replies: 11
    Last Post: 15 Jan 2010, 04:44 PM
  3. ImageHandler + Lightbox
    By Clarky in forum All Other Contributions/Addons
    Replies: 20
    Last Post: 14 Jun 2009, 10:42 PM
  4. ImageHandler problem
    By karanj in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Nov 2007, 06:13 PM

Posting Permissions

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