Results 1 to 5 of 5

Thread: Rich HTML Balloon Tooltip & Select Boxes

  1. #1
    Join Date
    Apr 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Rich HTML Balloon Tooltip & Select Boxes

    1) Script Title:
    Rich HTML Balloon Tooltip

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

    3) Describe problem:
    The Tooltip appears behind a <select> box in Internet Explorer 6.0. It appears to be Ok in FireFox. Below is a small screen shot snippit of what I am referring to. I realise this is more an IE & layer specific problem because I have come accross the same thing before with a dhtml menu. The solution the menu used was to hide the select boxes with the menu appeared and when the menu dissapeared the select box reapeared. Can anything be done in this case?


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

    Default

    Ok, had some time, so here is a modified version of Balloon Tooltip that lets you hide any control on the page when the mouse moves over a particular link. For example:

    Code:
    <a href="http://www.dynamicdrive.com/style/" rel="balloon1" rev="test">Dynamic Drive CSS Library</a><br /><br />
    
    <form id="test">
    Pesky Form: <input type="text" size="25" />
    </form>
    
    <!--Sample corresponding tooltip-->
    
    <div id="balloon1" class="balloonstyle">
    <img src="shadetabs.gif" style="float: right; margin-left: 5px; border:1px solid black" />Original, practical CSS codes and examples such as CSS menus to give your site a visual boast!
    </div>
    Just insert a "rev" attribute inside the activating link with the ID of the element to hide as its value (ie: test). Attached is the modified .js file to enable this, plus a sample HTML page.

  3. #3
    Join Date
    Apr 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks very much, that is exactly what I was after. Thanks again for this very useful script.

  4. #4
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Did not work because ...

    I installed the fixed .js file and got it to work as explained. However, my form has two select fields and only one of them hides. How do I get more than one select field to hide when a tooltip is moused over?

    BTW, I love this tooltip

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

    Default

    At a glance the modification actually hides an entire form (ie: with ID="test"), so if your two select boxes are all in the same form, both should be hidden. Or are they in two different forms?
    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
  •