fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> </head> <head> <script> function openWin(){ window.open('','','width=200,height=100'); alert(window.parent.location); } </script> </head> <body> <input type="button" value="打开窗口" onclick="openWin()"> </body> </html>
运行结果