posts - 0,  comments - 19,  trackbacks - 0
2种

1 比较简单的

function openwin2() {
    window.open ("que_call_add.tan2.jsp", "newwindow", "height=500, width=540, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no")
}

2 较为复杂的

function openwin1() {
   var popup_width = 640;
   var popup_height = 350;
   var popup_left = (screen.width - popup_width) / 2;
   var popup_top = (screen.height - popup_height) / 2;
   var popup_scrollbars = "no";
 
   var popup_property = "width=" + popup_width;
   var popup_property = popup_property + ",height=" + popup_height;
   var popup_property = popup_property + ",left=" + popup_left;
   var popup_property = popup_property + ",top=" + popup_top;
   var popup_property = popup_property + ",scrollbars=" + popup_scrollbars;
 
   window.open('/html/call/toAddFromCallMarketContactAction.do','marketFrom',popup_property);
}
posted on 2012-07-08 14:26 canry Tong 阅读(377) 评论(0)  编辑  收藏 所属分类: js

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


网站导航:
 
<2024年12月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

留言簿

文章分类

文章档案

搜索

  •  

最新评论