Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Countdown Timer</title>
- <meta name="keywords" content="keyword1, keyword2, keyword3"/>
- <meta name="description" content="Description Here"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
- <style type="text/css">
- <!--
- body {
- margin: 0px;
- }
- p {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 15px;
- line-height: 18px;
- }
- -->
- </style>
- </head>
- <!--Website Design by Plusminisites.com-->
- <body>
- <script type="text/javascript">
- jQuery(document).ready(function() {
- var sec = 70;
- function formatTime(s) {
- var m = Math.floor(s/60); //Get remaining minutes
- s -= m*60;
- return (m < 10 ? m : m)+":"+(s < 10 ? '0'+s : s); //zero padding on minutes and seconds
- }
- var timer = setInterval(function() {
- var count = sec--;
- $("#mdtimer span").text(formatTime(count));
- if (sec == 0) {
- $("#makingdifferenttimer").delay(1000).fadeIn(1000);
- $("#mdtimer").hide(1000) .fadeOut(fast);
- }
- }, 1000);
- });
- </script>
- <center>
- <a class="button" href="http://www.downloadlink.com/" id="makingdifferenttimer" rel="nofollow" style="display: none;" target="_blank">Download</a>
- </center>
- <div id="mdtimer">
- <div style="font-size: large; text-align: center;">
- <b>Please Wait <span>1:10</span> seconds</b></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement