views:

828

answers:

3

Is there a way to increase the duration of a tool tip displayed using the title attribute of an html tag?

Currently in IE it appears to only have about a 5 second duration and then disappears.

+8  A: 

I think this is operating system dependent and you should not try to override that.

The best way will be to create a custom tooltip.

Here are some good ones

jQuery Tooltip Plugin Demo

jQuery Custom ToolTips

rahul
+1 for being completely correct. OP should look for a nice lightweight tooltip library, there are tons.
timdev
thanks! I wasn't sure if it was OS controlled of if it could somehow be set with css.
justinl
+2  A: 

To elaborate further on phoenix' answer. Custom tooltips will allow you great flexibility in their appearance and layout. You need to get a JavaScript library (for example, jquery, or mootools) and get a plugin to show them. Then you will link the JQuery .js file, the plugin's one, and the css, finally you will add some markup to make it work.

For example, this one: http://jquery.bassistance.de/tooltip/demo/ or this one: http://craigsworks.com/projects/simpletip/

They are usually quite simple to install, the only requirement is that your site supports javascript.

Palantir
these are great! thanks :D
justinl
+1  A: 

Try WZ tooltip: Click here

Himadri
Thanks for the link. This is a simple and quick alternative to using jQuery that I may end up using.
justinl