gaojing_abc 发表于 2008-4-17 22:23

javascript问题:为什么XP访问时屏蔽不了状态栏

代码:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
<!--
function omiga_window()
{
if (screen.width !==1024)
        {
        alert("强烈建议您使用1024*768分辨率显示!");
        }
else
        window.open("cms.asp","","height=715,width=1015,left=0,top=0,resizable=no,fullscreen=0,menubar=0,toolbar=0,directories=0,location=0,status=0,scrollbars=0")
        javascript:window.opener=null;window.close()
}
//-->
</script>
</head>
<body onload="omiga_window()" scroll="no">
</body>
</html>
以上代码,通过Windows2000Server访问,IE状态成功屏蔽,但通过WindowsXP中访问,IE的状态又出现了,请问这到底是为什么?


页: [1]

编程论坛