简体   繁体   English

“javascript:;”使用gwt小部件时的工具提示

[英]“javascript:;” tooltip when using gwt widget

I'm using the gwt UlTabBar (com.google.gwt.user.client.ui.UlTabBar). 我正在使用gwt UlTabBar(com.google.gwt.user.client.ui.UlTabBar)。 When mouse over this tabbar, a small tooltip in left bottom corner of browser with "javascript:;" 当鼠标悬停在此标签栏上时,浏览器左下角的一个小工具提示带有“javascript:;” label occurs. 标签出现。 Is there any way to disable this tooltip? 有没有办法禁用此工具提示? (it doesn't look nice) Thank you! (看起来不太好)谢谢!

I'm reading between the lines here but: 我正在读这里的行,但是:

  • you are using Chrome, and what you see is the target of a link 您正在使用Chrome,您看到的是链接的目标
  • TabBar doesn't use links by default, so it means you're putting those links inside the tabs TabBar默认情况下不使用链接,因此这意味着您将这些链接放在选项卡中
  • javascript:; is generated either by an Anchor with no href , or an Hyperlink without target history token . 由没有hrefAnchor或没有目标历史记录标记Hyperlink生成。

In any case, a link without target is by definition not a link . 在任何情况下,没有目标的链接根据定义不是链接 Don't use a link if you mean something else. 如果您的意思是别的,请不要使用链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM