為什么沒有顯示網(wǎng)頁(yè)?
我的函數(shù)如下:但是打不開,求大神指導(dǎo)!
?function openwindow(){
? ? ?var open= confirm("打開新網(wǎng)頁(yè)?");
? ? ?if(open==true){
? ? ? ? ?window.open('http://idcbgp.cn','width=400,height=500,menubar=no,toolbar=no');
? ? ?}
我的函數(shù)如下:但是打不開,求大神指導(dǎo)!
?function openwindow(){
? ? ?var open= confirm("打開新網(wǎng)頁(yè)?");
? ? ?if(open==true){
? ? ? ? ?window.open('http://idcbgp.cn','width=400,height=500,menubar=no,toolbar=no');
? ? ?}
2015-07-23
舉報(bào)
2015-07-24
?function?openwindow(){ ?????var?open=?confirm("打開新網(wǎng)頁(yè)?"); ?????if(open==true){ ?????????window.open('http://idcbgp.cn','_blank','width=400,height=500,menubar=no,toolbar=no'); ?????} ?????}//上面代碼沒問題。這里少了個(gè)括號(hào)。。2015-07-23
?window.open('http://idcbgp.cn','_blank','width=400,height=500,menubar=no,toolbar=no');