Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Redirection Counter -->
- <script type="text/javascript">
- var count = 20; // Timer
- var redirect = "/"; // Target URL
- function countDown() {
- var timer = document.getElementById("timer"); // Timer ID
- if (count > 0) {
- count--;
- timer.innerHTML = "This page will redirect in " + count + " seconds."; // Timer Message
- setTimeout("countDown()", 1000);
- } else {
- window.location.href = redirect;
- }
- }
- </script>
- <div id="master-wrap">
- <div id="logo-box">
- <div class="animated fast fadeInUp">
- <div class="icon"></div>
- <h1>Thank you</h1>
- </div>
- <div class="notice animated fadeInUp">
- <p class="lead">Your message has been successfully sent. We will contact you very soon!</p>
- <a class="btn animation" href="javascript:history.back()">← Back</a>
- </div>
- <div class="footer animated slow fadeInUp">
- <p id="timer">
- <script type="text/javascript">
- countDown();
- </script>
- </p>
- <p class="copyright">© Redfrost.com</p>
- </div>
- </div>
- <!-- /#logo-box -->
- </div>
- <!-- /#master-wrap -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement