Results 1 to 2 of 2

Thread: Cool Dhtml - tooltip opens outside window

  1. #1
    Join Date
    Apr 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Cool Dhtml - tooltip opens outside window

    1) Script Title: Cool Dhtml

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tmltooltip.htm

    3) Describe problem:
    When you mouseover "Support Children's Miracle Network" on the page, the tooltip opens vertically 'up' and displays half outside of window. How do I change the script so the tooltip opens 'down'?

    http://cssmatsu.org/community_activities.html
    Thanks, Wina

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    What if you delete the following 3 lines inside the script:

    Code:
    if (bottomedge<tipobj.offsetHeight)
    tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
    else
    DD Admin

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
  •