请问各位大佬为什么不能跳转到网站页面?
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript">
function openWindow(){
var miss=confirm("是否确定");
if(miss==ture){
var zz=prompt("输入网站","http://www.imooc.com/");
if(zz!=null){
window.open("http://www.imooc.com/","_blank","width:400px,height:500px");
}
else
{
alert("网址不存在");
}
}
else
{
alert("再见");
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>