JavaScript的:改变浏览器窗口的状态信息 [英] JavaScript: Change browser window status message

查看:76
本文介绍了JavaScript的:改变浏览器窗口的状态信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它曾经是可能改变浏览器显示在窗口底部的状态栏中的消息。此功能已在新的浏览器版本,由于虐待被禁用。

It was once possible to change the message a browser shows in the status bar at the bottom of the window. This functionality has been disabled in newer browser versions due to abuse.

<script type="text/javascript">
window.status = 'hello world';
</script>

是否还有什么办法来实现这一(考虑jQuery的可用)?我想我还是看到页面周围改变状态的消息,但他们可能会使用Flash或Java改变窗口状态。

Is there still any way to achieve this (consider jQuery available)? I think I still see pages around that change the status message, but they might use Flash or Java to change the window status.

推荐答案

有两件事情可以不用Flash或Java做的:

There are two things you can do without Flash or Java:


  1. 假货:显示一个 DIV ,看起来像一个状态栏

position: fixed;
bottom: 0;
left: 0;
border: 1px solid silver;
background: #aaaaaa;


  • 让你表现出理想的信息给用户,当他们将鼠标悬停在链接的URL中选择。

  • Choose URLs so that you show desired information to the user when they hover over links.

    但请不要。

    这篇关于JavaScript的:改变浏览器窗口的状态信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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