可以隐藏浏览器状态栏 [英] Can Hide Browser Statusbar

查看:277
本文介绍了可以隐藏浏览器状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




这让我很困惑:当我清除状态栏以隐藏超链接

时使用下面的onmouseover事件,原始状态当用户点击链接并且新页面加载了
时,文本(超链接

目标URI)会重新出现。我做错了什么?


TIA,

Axel Dahmen


< a href =" javascript :document.forms [" myFrm"]。submit();"

onmouseover =" status ='''';返回true;">

< / a>

解决方案

Axel Dahmen在2005年9月4日下午4:02发表以下内容:



这让我感到困惑:当我清除状态栏隐藏超链接<使用下面的onmouseover事件,当用户单击链接并加载新页面时,将重新显示原始状态文本(超链接
目标URI)。我做错了什么?




1)使用链接提交表格。

2)使用javascript :伪协议。

3)使用状态栏进行处理。


< input type =" submit" value ="提交表格>


现在,你没有状态栏文字需要担心。


-

Randy

comp.lang.javascript常见问题 - http ://jibbering.com/faq &新闻组周刊


Axel Dahmen写道:

当我清除状态栏以使用下面隐藏超链接时
onmouseover事件,当用户单击链接并加载新页面时,将重新显示原始状态文本(超链接
目标URI)。我做错了什么?




1: http://jibbering.com/faq/#FAQ4_24


2:尝试通过让用户点击

a提交按钮。


3:首先尝试隐藏用户的信息。单独留下

状态栏。


-

David Dorward< http://blog.dorward.me。英国/> < http://dorward.me.uk/>

首页是〜/ .bashrc的位置





你在鼠标悬停时设置window.status,它永远不会被取消,直到

另一个事件写入它,onmouseover sets,onmouseout unset :),然而,

默认设置为mozilla / ff访问window.status对象

取消如果你检查编辑>下的js选项偏好,所以,

window.status =''任何''使用mozilla / ff中的默认设置都不行。


Danny

Hi,

this is confusing to me: When I clear the status bar to hide a hyperlink
using the below onmouseover event, the original status text (the hyperlink
target URI) re-appears when the user clicks the link and the new page is
loaded. What am I doing wrong?

TIA,
Axel Dahmen

<a href="javascript:document.forms["myFrm"].submit();"
onmouseover="status=''''; return true;">
</a>


解决方案

Axel Dahmen said the following on 9/4/2005 4:02 PM:

Hi,

this is confusing to me: When I clear the status bar to hide a hyperlink
using the below onmouseover event, the original status text (the hyperlink
target URI) re-appears when the user clicks the link and the new page is
loaded. What am I doing wrong?



1) Using a link to submit a form.
2) Using the javascript: pseudo-protocol.
3) Munging around with the status bar.

<input type="submit" value="Submit the Form">

Now, you have no status bar text to be worried about.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly


Axel Dahmen wrote:

When I clear the status bar to hide a hyperlink using the below
onmouseover event, the original status text (the hyperlink
target URI) re-appears when the user clicks the link and the new page is
loaded. What am I doing wrong?



1: http://jibbering.com/faq/#FAQ4_24

2: Trying to submit a form by having the user click on something other than
a submit button.

3: Trying to hide information from the user in the first place. Leave the
status bar alone.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is




You''re setting window.status upon mouseover, it never gets unset, until
another event writes to it, onmouseover sets, onmouseout unset :), however,
in default settings for mozilla/ff access to the window.status object is
canceled if you check the js options under Edit > preferences, so,
window.status=''anything'' won''t work using default settings in mozilla/ff.

Danny


这篇关于可以隐藏浏览器状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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