转向新页,控制页面大小并传值

Response.Write( "<script>window.open('abc.aspx?Id=" + Id + "','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=100,left=400,top=400');</script>" );

 

 

 

代码
<script language=javascript>odate=window.open('carSelCar.aspx','online','toolbar=no,status=no,resizable=yes');odate.moveTo((window.screen.availWidth - 500/ 2, (window.screen.availHeight - 400/ 2);odate.resizeTo(600500)</script>

 

 

posted @ 2008-05-18 18:32  Magicam  阅读(464)  评论(0编辑  收藏  举报