SVG title delay
I'm using a <title>
element inside a SVG <rect>
as a sort of a tooltip. Is there a way to tweak the delay after which the tooltip is displayed? In Chrome it takes a few seconds until the tooltip shows up, which feels very slow. Interestingly, after the first tooltip is shown all the others show up immediately.
Edit
It seems that it's only slow on my OSX Chrome, not on Windows.
Fiddle: http://jsfiddle.net/assaflavie/aLyQr/
Is there a way to shorten the delay to a few hundred ms?
No. It is totally up to the user agent what delay it uses. The only solution would be to generate your own tooltips using mouseover/mouseout events and javascript.
链接地址: http://www.djcxy.com/p/17554.html上一篇: 如何连接两个字典在Python中创建一个新的字典?
下一篇: SVG标题延迟