W3School TIY
编辑您的代码:
<html> <head> <script type="text/javascript"> function page_enter() { window.location="../example/dhtm/demo_pageenter412.html"/*tpa=http://www.layui1.com/example/dhtm/demo_pageenter412.html*/ } </script> </head> <body> <input type="button" onclick="page_enter()" value="Show Page Enter Effect"> </body> </html>
查看结果: