工具提示不起作用
我在 *.xul 中使用这段代码,
<tooltip id="tt">
<label value="additional information"/>
</tooltip>
<statusbar id="status-bar">
<statusbarpanel id="mypanel" tooltip="tt"
label="my panel"
/>
</statusbar>
我不知道为什么,但是当我用鼠标在我的面板上时。没有带有“附加信息”的弹出窗口,
谢谢您的帮助
I'm using this code in *.xul
<tooltip id="tt">
<label value="additional information"/>
</tooltip>
<statusbar id="status-bar">
<statusbarpanel id="mypanel" tooltip="tt"
label="my panel"
/>
</statusbar>
I don't know why but when I'm over mypanel with mouse. There is no popup window with "additional information"
thank you for help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定,但这可能是因为
元素需要位于
元素内部。顺便说一下,你不应该再使用状态栏了;使用附加栏: https://developer.mozilla.org/en/The_add-on_barI'm not sure, but this might be because the
<tooltip>
element needs to be inside of a<popupset>
element. By the way, you shouldn't use the statusbar anymore; use the add-on bar instead: https://developer.mozilla.org/en/The_add-on_bar