网页打不开为什么呢
function openWindow(){
var mymessage= confirm("确定");
if(mymessage==true)
{
var url= prompt("请输入网址") ;
if(url!=null){
window.open(url,'_blank','width=400,height=500,menubar=no,toolbar=no');}
else{
window.open('http://www.imooc.com/','_blank','width=400,height=500,menubar=no,toolbar=no');}
}
}哪里有问题呢,求指点