javascript 判斷瀏覽器是否支持彈chu窗口
var k=window.open("about:blank", targetName, "resizable=yes,scrollbars=yes,menubar=0,location=0,personalbar=0,left=0,top=0");if(k){
k.focus();
form.submit();
}
if(k == null){
alert("Sorry,your browser blocked the pop window,please press the 'Ctrl' button or remove the block pop window function!");
}
posted on 2007-08-17 15:56 lqx 閱讀(182) 評論(0) 編輯 收藏 所屬分類: html