<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>close</title>
<script type="text/javascript">
function openwin() {
window.open ("http://www.imooc.com","newwindow", height=100, width=400)
}
</script>
</head>
<body onload="openwin()">
</body>
</html>
可以打开,是不是你的浏览器设置了拦截
是的,刚刚看的下,谢谢~~