为什么不显示?
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openwindow(){
var chen=confirm("是否打开网址");
if(chen==true)
{
var wei=prompt("input url:","http://www.imooc.com/")
window.open('wei','_blank','width=400px,height=5oopx,menubar=no,toolbar=no')
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>