この記事では、リファレンスのJSブラウザカウントダウンジャンプページの効果を共有しています。特定のコンテンツは次のとおりです
複製画像:
<!doctype html> <html> <head> <title> browser object </title> <meta http-equiv = "content-type" content = "text/html; charset = gb123"/> </head> <body> <h4>手術は成功しました</h4 href = "javascript:goback();"> return </a> </p> <script = "text/javascript"> var sec = document.getElementById( "second"); var i = 5; var timer = setInterval(function(){i-; sec.innerhtml = i; if(i == 1){window.location.href = "//www.vevb.com";}}、1000); function goback(){window.history.go(-1); } </script> </body> </html>上記はこの記事のすべての内容です。みんなの学習に役立つことを願っています。誰もがwulin.comをもっとサポートすることを願っています。