Results 1 to 1 of 1

Thread: Accept variable to define anchor point?

  1. #1
    Join Date
    Jul 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Accept variable to define anchor point?

    1) Rich HTML Balloon Tooltip

    2) http://www.dynamicdrive.com/dynamici...oontooltip.htm

    3) Currently I am scrolling a series of images in a div using the following script in conjunction with the ballon tooltip scrip:

    Text and Image Crawler
    http://www.dynamicdrive.com/dynamici...wler/index.htm

    firstly I am not a programmer and as such I use scripts when needed but dont have the working knowledge to modify them greatly. Now the problem, both scripts work just fine but the tool tip created by the balloon script attaches itself to the upper left corner of the anchor point (in this case the whole image), but because the image is scrolling to the left the balloon tip drags/scrolls to the left with the image off screen. Additionally, if half of the image is scrolled off the screen/div then the partial image is touched by the mouse the balloon tip is trigger again but still uses the (now off screen) upper left corner of the image, creating only a half visible tool tip. I need the balloon/tool tip to trigger onmouseover as normal but attach itself to a fixed anchor point elswhere, such as a DIV ID, that way the scrolling of the image won't cause the tool tip to drag/follow the upper left corner of the image as it moves. Can the code in balloontip.js be modified to accept a variable that defines what to target as the anchor point?

    Thanks,

    Robert
    Last edited by ddadmin; 07-21-2010 at 03:06 AM.

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
  •