Results 1 to 2 of 2

Thread: tool tip on select box entries

  1. #1
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default tool tip on select box entries

    Hi guys

    Is it possible to show a different tooktip for each entry in a select box?

    I have a select box which displays codes from a database, the database also contains descriptions of the what the code is. I would like to be able to show a tooltip with the description once the user hovers over that particular entry in the select box?

    Is this possible or has anyone a suggestion to reach the same result (the description is too long to have it in the select box as well)?

    Thanks
    Peter

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Not likely to work in IE. In FF the title attribute of the option will be used as a tool tip but only in the drop down list, not in the selected area, ex:

    <select>
    <option title="blog">hop</option>
    <option title="strewn">hip</option>
    </select>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •