为啥不能打开新建的网页
<!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 myMessage=confirm("是否要打开新的窗口?");
if (myMessage==ture)
{window.open ('http://www.imooc.com/','_blank','width=400,heigt=500.top=100,left=0,menubar=yes,toolbar=no,status=no,scrollbars=no');
}
else
{
myMessage.close();
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>