求問哪里錯(cuò)了?
??<script?type="text/javascript">?? ????function?openWindow() ????{var?a=confirm("是否打開"); ????if(a==true) ????{window.open("http://idcbgp.cn","_blank","width=400px,height=500px,menubar=no,toolbar=no");} ????else ????{alert("d")} ???? ???? ???? ???? ????} ????//?新窗口打開時(shí)彈出確認(rèn)框,是否打開 ????//?通過(guò)輸入對(duì)話框,確定打開的網(wǎng)址,默認(rèn)為?http://idcbgp.cn/ ????//打開的窗口要求,寬400像素,高500像素,無(wú)菜單欄、無(wú)工具欄。 ???? ???? ??</script>
2015-04-25
沒錯(cuò)啊