Dieser Artikel teilt den Effekt der JS -Countdown -Sprungseite des JS -Browsers für Ihre Referenz. Der spezifische Inhalt ist wie folgt
Reproduktionsbild:
<! DocType html> <html> <Head> <title> Browser-Objekt </title> <meta http-äquiv = "Inhaltstyp" content = "text/html; charset = gb123"/> </head> <body> <h4> Die Operation war erfolgreich </h4> <p. <p> <B id = "° C. href = "javaScript: goBack ();"> return </a> </p> <script type = "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); Funktion goBack () {window.history.go (-1); } </script> </body> </html>Das obige ist der gesamte Inhalt dieses Artikels. Ich hoffe, es wird für das Lernen aller hilfreich sein und ich hoffe, jeder wird Wulin.com mehr unterstützen.