js 代码
- <script>
- function maxpop()
- {
- var larg=screen.availWidth-2;
- var altez=screen.availHeight;
- self.resizeTo(larg,altez);
- pop=window.open ("1.htm","","width=50% heigth=50% toolbar=yes,scrollbars=yes,menubar=yes,status=yes,location=yes,resizable=yes,left=20,top=20");
- }
- </script>
为了方便,记录下来,自己使用,转载
http://www.lslnet.com/linux/dosc1/42/linux-294381.htm