Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tooltip for ASP.NET listbox

Status
Not open for further replies.

JeroenDortmans

Technical User
Aug 7, 2001
56
0
0
NL
I am searching for an example of a tooltip which I can use for my ASP.NET database driven listbox and or dropdown box.
Is there anybody who has one?!
 
well you've given zero code. i can only assume "listbox" is a select type input, because i am not a clairvoyant.

try this:

Code:
<select ... title="Here Is The Tool Tip">

*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
beware of active imagination: [URL unfurl="true"]http://www.coryarthus.com/[/url]

[banghead]
 
I know the site but I didn't find any script there that can help me.
They have scripts with which I am able to create a tooltip of for the selected data in a listbox or dropdown but not from the not selected data.
What I want is with the mouse go over the data which is in the listbox and show the tooltip without having to select the data in the listbox.
Is there anybody who knows how to do this?
 
Try the suggestion that cLFlaVA gave, but put the title attribute on the option elements instead:

Code:
<option value="1" title="First option">Item 1</option>
<option value="2" title="Second option">Item 2</option>

Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Hello BillyRayPreachersSon,

I did try the following code:

<select>
<option value="1" title="First option">Item 1</option>
<option value="2" title="Second option">Item 2</option>
</select>

This does not work in IE 6. Maybe in Firefox, I don't know.
Any other suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top