2-7编程练习,不知道哪里做的不对?求指导谢谢
function openWindow()
{var open=confirm("确定打开么?");
if(open==true);
{ var cf=prompt("确认要打开http://www.imooc.com,请输入")
if(cf==http://www.imooc.com);
{window.open(cf,"_blank","width=400px,height=500px,menubar=no,toolbar=no");}
else{
alert("重新输入");
}else{
alert("啦啦");
}
}