PDA

View Full Version : tool tip on select box entries



eakinpeter
11-18-2005, 12:30 PM
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

jscheuer1
11-18-2005, 04:53 PM
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>