Re: tooltip for options in a selectbox

Ian Petersen <[email protected]>
Newsgroups gmane.comp.web.dom.wdf
Message-ID <[email protected]>
Haven't tried this myself, but what about setting the title attribute
of the select in the option's onmouseover?

Ian

On 01/12/05, Maninder, Singh <[email protected]> wrote:
> Hi,
>
> Does anyone know how we could show tooltips for text in the options of a select box?
>
> I have a drop down and some of the option names are huge (will spoil the display) so I am showing them trimmed to x chars.
>
> But, I want that when the user hovers over it, he sees the complete text in the tooltip.
>
> Firefox lets us use title attribute in the options for a tooltip, but it doesn't work in IE.
>
> Any help would be appreciated.
>
> Thank you,
> Mandy.
>
> The following will work in Firefox (but not IE)
>
> <P>Which Web browser do you use most often?
> <select>
> <option title="blog">hop</option>
> <option title="strewn">hip</option>
> </select>
> </P>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Unsubscribe
> [email protected]
>
> List info
> http://www.quirksmode.org/dom/list.html
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/9rHolB/TM
--------------------------------------------------------------------~-> 

Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.