lqxue

常用链接

统计

book

tools

最新评论

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 阅读(148) 评论(0)  编辑  收藏 所属分类: html


只有注册用户登录后才能发表评论。


网站导航: