<script type="text/javascript"> function Wopen(){ window.open('http://www.baidu.com','_blank','width=600px,height=400px,top=100px,left=0px') } </script>
</head> <body> <input name="button" type="button" οnclick="Wopen()" value="点击"> </body> </html>
<script type="text/javascript"> function Wopen(){ window.open('http://www.baidu.com','_blank','width=600px,height=400px,top=100px,left=0px') } </script>
</head> <body> <input name="button" type="button" οnclick="Wopen()" value="点击"> </body> </html>
转载于:https://my.oschina.net/zoujinxia/blog/716291