js操作状态栏

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>状态栏</title>
<script type="text/javascript">
function Init()
{
 window.defaultStatus="中培博雅软件教育";
}
function MOver()
{
 window.status="www.zpboy.com/";
}
</script>
</head>

<body onload="Init()">
<a href="window.html" onmouseover="javascript:return window.status='www.zpboy.com'">窗口</a>
</body>
</html>

posted @ 2009-10-27 14:43  坐看风起  阅读(4276)  评论(0编辑  收藏  举报