通过JS的window.open方法可以弹出窗口,设定不同的参数可以控制窗口的大小和样式等等,下面是一个详细的范例
<!DOCTYPE html> <html> <head> <script> function open_win() { window.open("http://www.75271.com","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400"); } </script> </head> <body> <form> <input type="button" value="Open Window" onclick="open_win()"> </form> </body> </html>