如何使工具提示在IE中显示更长时间 [英] How do you make tooltip show up for longer in IE
问题描述
我有以下
<span id="pageLink" style="cursor:pointer;" onClick="...." title="<%=pHelper.getNameToolTip()%>">
在firefox的工具提示保留在那里,直到鼠标移动,但在IE它只停留在那里
in firefox the tooltip stays there until the mouse is moved, but in IE it only stays there for about 5seconds and disappears.
推荐答案
是否有办法让它持续更久? >
不是内置的浏览器工具提示,不是。
Not with built-in browser tooltips, no.
有许多类似tooltip的UI组件使用定位的DOM元素,呈现和显示持续时间。我从来没有使用过,所以不能保证任何他们,所以我不会链接到任何。 GooglingJavaScript工具提示会给你很多。还有大量的工具提示插件为现有的库,如jQuery周围。
There are tons of tooltip-like UI components using positioned DOM elements that will give you much finer control of presentation and display duration. I've never used one so couldn't vouch for any of them, so I won't link to any. Googling "JavaScript tooltip" will get you plenty. There are also plenty of tooltip plug-ins for existing libraries like jQuery around.
这篇关于如何使工具提示在IE中显示更长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!