自己写了一个  关闭当前窗口弹出一个页面的 ff ie都能出来  但是标签页  就不行了 高手帮我解决下

 

<!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=utf-8" />
<title>关闭弹出窗口</title>
<script type="text/javascript" src="../jquery-1.2.6.js"></script>

<script type="text/javascript">
<!--
function tips() {

var wX=1000;
var wY=700;
 

var positionX=100;
var positionY=150;

// 链接地址
var linkURL='http://www.17k.com/';

// 下面的请勿修改
splashWin = window.open('','x','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');
splashWin.blur();
window.focus();
splashWin.resizeTo(wX,wY);
splashWin.moveTo(positionX,positionY);
splashWin.location=linkURL;
}
//-->
</script>
</head>

<body onunload="tips()">

</body>
</html>

 posted on 2008-09-25 10:32  刘卿  阅读(1138)  评论(0编辑  收藏  举报