Connecting Tech Pros Worldwide Help | Site Map

alternative for tool tip and horizontal scroll for javascript drop down list

Newbie
 
Join Date: Oct 2008
Posts: 10
#1: Sep 14 '09
Hi,
As we know IE SELECTdrop down list has limitations on tool tip on individual option items and also horizontal scroll bar.
Can any one please tell any other alternative to show the tool tip using javascript or has any one implemented drop down list using div which has all the functionalites of drop down list.


Thanks,
Nags
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,629
#2: Sep 14 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


Quote:

Originally Posted by coolnags View Post

Can any one please tell any other alternative to show the tool tip

use the HTML attribute title for the tool tip, easy and robust.
Newbie
 
Join Date: Oct 2008
Posts: 10
#3: Sep 14 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


But IE select list box doesnt support this feature. we need to have a custom logic to do this. :(
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,629
#4: Sep 14 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


Quote:

Originally Posted by coolnags View Post

But IE select list box doesnt support this feature.

the title attribute is supported by every browser, because it’s an universal attribute.
Newbie
 
Join Date: Oct 2008
Posts: 10
#5: Sep 15 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


FYI.

http://aspalliance.com/1803_CodeSnip...Each_List_Item

title for drop down list supports only in IE7 and IE8. But all I need is title support for option elements inside a select drop down list.

Let me know your comments on this.
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,629
#6: Sep 15 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


Quote:

Originally Posted by coolnags View Post

Let me know your comments on this.

I didn’t say anything about how to get the title attribute there, because that depends on how you code the HTML. of cause there is no problem when coding by hand, other than that you just need to figure out a way to do it.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#7: Sep 15 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


Are you having a problem with displaying the "tooltip"/"title" in an ASP.NET DropDownList?

Or are you having problems displaying the "tooltip"/"title" in an HTML <select> element (well...specifically the <option> elements within the <select>)?
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#8: Sep 16 '09

re: alternative for tool tip and horizontal scroll for javascript drop down list


I think you'd need to create your own DHTML version to be able to display a tooltip/title for each individual option in IE.
Reply

Tags
dropdownlist, horizontal scrollbar, javascript, tooltip