Results 1 to 5 of 5

Thread: Balloon tooltip

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Balloon tooltip

    1) Script Title: Balloon tooltip

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

    3) Describe problem: I have this cool script working on various places in my site then I placed it in a different location and now the arrow image is large and the tooltip is not lining up.

    Here is a link to what I am talking about.

    http://www.photogap.net/tommy/ I know I have something wrong on my page that is breaking the script. I just cannot find it. Like I siad I have this working in other areas in my site and I basically copy and pasted the working code within this page and now it is not acting right. If you Mouseover the login link at the top of the page, you will see that it works(that section is included from a php page include from another section). Then mouse over the 'Add Tom Cruise to favorites' link to see the problem.

    Thank you for any help in this

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

    Default

    Move your tooltip(s) HTML to the bottom of the page, directly above the </body> tag. So in your case:

    Code:
    <div id="userballoon" class="balloonstyle" style="width: 250px; top: 163px; left: 0pt; visibility: hidden;">
    <img src="test_files/fav_icon.png" border="0" height="28" width="25">
    Click this link to add this photographer to your favorites. This
    feature uses cookies to remember your selections throughout the site.
    You must have cookies enabled in order for this feature to work.
    </div>
    </body>
    The containership in which your tooltip HTML is currently added to is confusing the script's positioning of it. As a general tip, it's best to always have your tooltip HTML added as a direct child of the <BODY> tag.

  3. #3
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for the timely response to my question. Is there any other way I can pull this off and keep my link where it is? If I make the change you mentioned, it puts my link outside of my container and at the bottom of the page. I also have this working in my gallery page which has a handful of container divs within it. Is there something specifically I am doing on this page to cause it not to work?

    Thank you again.

  4. #4
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Actually, I think I am going to try out the Cool DHTML Tooltip II on this site. It may work out better for me.

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

    Default

    Quote Originally Posted by tripwater View Post
    Thank you very much for the timely response to my question. Is there any other way I can pull this off and keep my link where it is? If I make the change you mentioned, it puts my link outside of my container and at the bottom of the page. I also have this working in my gallery page which has a handful of container divs within it. Is there something specifically I am doing on this page to cause it not to work?

    Thank you again.
    Just to make sure you understand, you don't have to move the links on your page around (those in which a tooltip will show up when you mouse over). The only item you need to move outside other tags are the invisible DIV containing the actual tooltip.

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
  •