转向新页,控制页面大小并传值
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(600, 500)</script>