W3School TIY
(请在下面的文本框中编辑您的代码,然后单击此按钮测试结果。)
编辑您的代码:
<html> <head> <script type="text/javascript"> function page_enter() { window.location="../example/dhtm/demo_pageenter406.html"/*tpa=http://www.w3school.com.cn/example/dhtm/demo_pageenter406.html*/ } </script> </head> <body> <input type="button" onclick="page_enter()" value="Show Page Enter Effect"> </body> </html>
查看结果: