Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delay basic HTML tooltip?

I was wondering if there was any way to delay just the classic HTML tooltip (no jQuery plugins like qTip, please). It's just a button as:

<input type="button" title="Click" value="My Button">

I want to know if there is any way to delay the title using pure JavaScript or client-side scripting. From what I have researched, it doesn't seem possible as it is part of the actual OS' GUI programming, which is impossible to access via browser scripting, but if there is any way that I just haven't come across yet, I would love to know! Thanks!

like image 614
ModernDesigner Avatar asked Dec 11 '12 00:12

ModernDesigner


2 Answers

The browser controls the tool tip. If you want to make any changes you will have to create your own. Maybe by using the plug ins your refered to.

like image 154
Ibu Avatar answered Oct 23 '22 00:10

Ibu


This is a feature of the system which you cannot manipulate with HTML, CSS or JavaScript.
Keep in mind that different Operating Systems have different set of delays and styling to these tooltips, the best option to consider for better control (delay,styling,animation,etc) would be to implement your own tooltip.

like image 2
raj_n Avatar answered Oct 23 '22 01:10

raj_n