js窗口居中的常用设置

   var intX = (screen.width-window.width)/2;
   var intY = (screen.height-widow.height)/2;
posted @ 2009-08-31 10:31  风影极光  阅读(615)  评论(0编辑  收藏  举报