Results 1 to 3 of 3

Thread: Attaching functions to $loadarea div

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

    Default Attaching functions to $loadarea div

    1) Script Title:
    Image Thumbnail Viewer II
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...thumbnail2.htm
    3) Describe problem:
    I'd like to attach a function to the mouseover, mouseout, and mousemove events associated with the targetdiv.... such as:

    onmouseover => zoom_on(event, imagewidth, imageheight, 'url' );
    onmouseout => zoom_off();
    onmousemove => zoom_move(event);

    The zoom functions currently work, just having troubles attaching these functions to the $loadarea div. The 'url' is the same as "this.href". Assuming that the jQuery.fn.addthumbnailviewer2 function could be modified, I'd pass in the height and width through the rev options.

    Is this even remotely possible?

    Thanks

    --Scott

  2. #2
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    An alternative approach, can you attach the "Image Thumbnail Viewer II" script to the image that is currently being shown in the "targetdiv". The functionality of our current zoom is somewhat similar, but the zoom that we have allows the user to increase/decrease the size of the zoomed area as well as the magnification.

  3. #3
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I meant the image power zoomer 1.1 http://www.dynamicdrive.com/dynamici...owerzoomer.htm....

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
  •