不希望在悬停链接时在状态栏中显示地址 [英] Dont want to show address in the status bar while hovering a link

查看:197
本文介绍了不希望在悬停链接时在状态栏中显示地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何防止在悬停超链接时在状态栏显示网址? 您可以将超链接更改为使用JavaScript导航到URL。例如,如果您想要链接到 http://conglomo.co.nz/

 < a href =javascript :;的onclick =location.href =的 http://conglomo.co.nz/> Conglomo< / A> 

尽管这并不像改变window.status那样美丽(由于浏览器这不适用于所有人设置),它将完全隐藏状态栏中的URL。


How can I prevent showing web address at the status bar while hovering a hyperlink?

解决方案

You could change your hyperlink to use JavaScript to navigate to the URL. For example, if you wanted a link to http://conglomo.co.nz/:

<a href="javascript:;" onclick="location.href='http://conglomo.co.nz/'">Conglomo</a>

Although this is not as pretty as changing window.status (which does not work for everyone due to browser settings) it will hide the URL from the status bar completely.

这篇关于不希望在悬停链接时在状态栏中显示地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆