Results 1 to 3 of 3

Thread: Rich HTMLTooltip: put a tooltip inside another tooltip

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Rich HTMLTooltip: put a tooltip inside another tooltip

    1) Script Title:
    Rich HTML Balloon Tooltip

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

    3) Describe problem:
    I am trying to use the rich html tooltip inside another tooltip. Basically I am using overlib.js to create a popup with a list of related items. then inside that popup I have a detail link that would bring up another tooltip with info on that item.

    For example, I have a general item called Apples. The user clicks on Apples and it brings up a tooltip table with overlib containing the grid of different apples. In the grid there will be a link tooltip with more detail for that specific Apple. I cant seem to get the rich html tooltip popup to work inside the first popup. Not sure if it possible.

    I have attached a zip file containing a simple working example with all scripts. You'll notice the tooltip works for the link in the page, but not the link in the product popup grid. Any way to make this work?

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

    Default

    The problem is that since the contents of the tooltip generated by Overlib is dynamic, any link(s) inside in fact are not links yet until the user has clicked on the link. The Balloontip script only scans the page when the page initially loads looking for links with the "rel" attribute.

    One solution would be, instead of Overlib, to switch to a tooltip script that lets you embed ordinary HTML directly as its contents to show, such as Overlapping Content script. Any links defined inside the drop down boxes are just normal HTML, so the Balloon script shouldn't have a problem picking up on them.

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmm I had a feeling overlib would be the problem. Thanks for the suggestions.

    By the way ddadmin, kudos to Dynamic Drive the site is one of the best script resources on the web and you guys are amazingly fast and responsive to questions.
    Last edited by dudehere; 10-05-2006 at 07:51 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
  •