我已经尝试过以下方法:
html title="whatever" tag
onmouseover="javascript:alert('Whatever')
这些都可以正常工作,但我发现文本框出现之前的延迟对于我的目的来说太长了。什么是我可以使用的对鼠标悬停事件有即时或接近即时的反应?
<p><font color="black" title="大地(Daichi) ground/earth/the solid earth/the land">(大地) <font color="black" title="が(ga) indicates sentence subject / indicates possessive / but/however/still/and">(が) <font color="black" title="揺れ(Yure) vibration/flickering/jolting/tremor">(揺れ) <font color="black" title="始め(Hajime) beginning/start/outset/opening/ first / origin/ such as .../not to mention ...">(始め) <font color="black" title="、(、) Japanese comma">(、) <font color="black" title="警報(Keihou) alarm/warning">(警報) <font color="black" title="が(ga) indicates sentence subject / indicates possessive / but/however/still/and">(が) <font color="black" title="鳴り(Nari) ringing/sound">(鳴り </font>)(<font color="black" title="響い(Hibii) no dictionary result, likely a conjigated verb">響い</font>) <font color="black" title="た(ta) indicate past completed or action/ indicates light imperative">(た)</p>
是的,我知道延迟很短,但出于我的目的,我认为它太长了。此外,鼠标必须静止才能显示也使延迟看起来更长。所以基本上我需要一个即时消息窗口,即使鼠标在文本上移动。