HTML - 覆盖状态栏链接位置显示 [英] HTML - overRide statusbar link location display

查看:236
本文介绍了HTML - 覆盖状态栏链接位置显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在链接上的鼠标悬停状态时,状态栏会显示链接在状态栏中的位置,如下图所示:
是否有方法可以更改\覆盖这显示一些所需的文字...



解决方案

在ie9方法1中没有任何效果。方法2还通过将活动文件路径放置在状态栏中,而不是惯用的插入uri来挫败隐藏信息的目的:

  C :\\\\filepath\server\local\whatever 

也许有一个使用方法2的方法。可能是代理链接文件位置拦截。例如:

 < a href =nothinghereonclick =location.href ='anylink'; return false> ;点击此处< / a> 

其中c:\链接\链接到c:\私人\私人文件.. 。

更进一步:'Con:无法在新标签页/新窗口中打开链接'... javascript?


when on Mouse Over state on a link the status bar shows the link's location in the status bar like in the following image... is there a way to change\override this to show some desired text...

解决方案

In ie9 method 1 does not have any effect. Method 2 also defeats the purpose of concealing info, by placing active file path in status bar, rather than customary interpolated uri:

C:\\\filepath\server\local\whatever

Perhaps there is a way to use method 2. Possibly a proxy link-file location intercept. For example:

<a href="nothinghere" onclick="location.href='anylink';return false">click here</a>

where c:\links\anylink links to c:\private\privatefile ...?

Further: 'Con: can't open link in new tab / new window' ... javascript?

这篇关于HTML - 覆盖状态栏链接位置显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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