大佬們,求助一下~為什么跳出來的窗口沒有內(nèi)容???
?
function openWindow(){
??? var myone=confirm("是否打開窗口?");// 新窗口打開時彈出確認(rèn)框,是否打開
??? if(myone==true){
??????? window.open('http://idcbgp.cn','_blank','width=400,height=500,menubar=no,toolbar=no');
//通過輸入對話框,確定打開的網(wǎng)址,默認(rèn)為 http://idcbgp.cn/
?//打開的窗口要求,寬400像素,高500像素,無菜單欄、無工具欄。
???? }
??? else{
??????? null;
??? }
?}
2019-08-01
你復(fù)制的http后面的冒號是中文的? ?將其改為英文的