answer
function openWindow() ? ?{ ? ? ? ?var choix; ? ? ? ? ? ? ?choix=confirm("是否打開新網(wǎng)頁?。课?.."); ? ? ? ? ? ? ?if(choix==true) ? ? ? ? ? ?window.open('http://idcbgp.cn/','new','width=400,height=500,menubar=no,toolbar=no'); ? ? ? ? ? ? ?else ? ? ? ? ? ?alert('(⊙o⊙)哦'); ? ? ? ? ? ?}
2017-01-21
新窗口打開不是用“new”,是用“_blank”方式,修改為windows.open('http://idcbgp.cn/','_blank','width=400,height=500,menubar=no,toolbar=no');就可以了