不知道對不對
function openWindow(){ ? ?var wdop=confirm("是否打開新網址?"); ? ? ? ?if(wdop==true){ ? ? ? ? ?window.prompt("跳轉的網址","http://www.xianlaiwan.cn"); ? ? ? ?window.open("http://www.xianlaiwan.cn","_blank","width=400,height=500,toolbar=no,menubar=no"); ? ? ? ?}else{ ? ? ? ? ? alert("錯誤"); ? ? ? ? ? ?} ? ?}
2016-07-29
是對的
2016-07-29
mei cuo