Guest textguru Posted April 24, 2006 Share Posted April 24, 2006 Hi!I want to have a tooltip on my dropdown box but it seems that title attribute doesnt work in IE6. I have tried it on IE7 but it works. My code looks like this:<option title="My Caption" value="09200000" selected>Some text on this </option>When run on IE7 Beta2 Preview, tooltip works but when run on IE6SP1, it didnt. Can you suggest an easy way to handle this problem? I have seen many but it was too complicated for me. Hope you might help.M P Link to comment Share on other sites More sharing options...
justsomeguy Posted April 24, 2006 Share Posted April 24, 2006 Well, anything to do this would be complicated. You need a javascript tooltip implementation that you can modify to work with a dropdown option. There's not really a copy-and-paste answer. Link to comment Share on other sites More sharing options...
Err Posted April 24, 2006 Share Posted April 24, 2006 Javascript can help with that.http://www.dynamicdrive.com/dynamicindex5/I have no idea why IE doesn't display the titles. Link to comment Share on other sites More sharing options...
calvin182 Posted April 28, 2006 Share Posted April 28, 2006 use alt="blah blah blah" for IE and title="blanh blah blah" for other browsers, I use both on my site.I really dont know if that applies to options and form elements but for images and text it seems to work fine. Link to comment Share on other sites More sharing options...
scott100 Posted April 28, 2006 Share Posted April 28, 2006 use alt="blah blah blah" for IE and title="blanh blah blah" for other browsers, I use both on my site.I really dont know if that applies to options and form elements but for images and text it seems to work fine.<{POST_SNAPBACK}> Title should be used for all tooltips, it works in the 3 main browsersThe alt attribute is used to define an "alternate text" for an image. IE displays this as the tooltip if no title is declared.in a select list Title only works for your options in firefox Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now