為什么窗口不顯示呢
<script type="text/javascript">
? function Wopen(){
? ? ? ?var Wopen=confirm("你確定要打開?")
? ? if (Wopen==true);
? ? {
? ? window.open('http://idcbgp.cn','_blank','width=600,height=400,menubar=yes,toolbar=yes, status=yes,scrollbars=yes');
? ? }
? ? else
? ? {
? ? ? ? alert("打開失?。?);
? ? }
? } ? ? ?
? }?
</script>
</head>
<body>
? ? <input name="button" type="button" onClick="Wopen()" value="點(diǎn)擊我,打開新窗口!" / >
2015-07-06
我也試過了,可以打開
2015-07-06
你可以打開?為什么我不能打開呢!這是什么問題
2015-07-02
復(fù)制你的代碼運(yùn)行,打得開窗口~~~