Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <--! Build the doomsday website full digital control to launch Armageddon I have this feeling the have done this already and its slightly to late Anyway here is this code should you feel the urge to end it all within a few days -->
- PS dont forget to set the date
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Untitled Page</title>
- <style>
- div#container
- {
- width: 994px;
- position: relative;
- margin: 0 auto 0 auto;
- text-align: left;
- }
- body
- {
- background-color: #000000;
- color: #000000;
- font-family: Arial;
- font-weight: normal;
- font-size: 13px;
- line-height: 1.1875;
- margin: 0;
- text-align: center;
- }
- a
- {
- color: #0000FF;
- text-decoration: underline;
- }
- a:visited
- {
- color: #800080;
- }
- a:active
- {
- color: #FF0000;
- }
- a:hover
- {
- color: #0000FF;
- text-decoration: underline;
- }
- #Button1
- {
- border: 1px solid #2E6DA4;
- border-radius: 20px;
- background-color: #3370B7;
- background-image: none;
- color: #FFFFFF;
- font-family: Arial;
- font-weight: normal;
- font-size: 13px;
- -webkit-appearance: none;
- margin: 0;
- }
- p {
- text-align: center;
- font-size: 60px;
- margin-top: 0px;
- color: white ;
- }
- </style>
- <script>
- // Set the date we're counting down to
- var countDownDate = new Date("Aug 27, 2021 07:31:25").getTime();
- var flag = true ;
- // Update the count down every 1 second
- function TimerStartdemo() {
- if (flag == true ){
- // Get today's date and time
- var now = new Date().getTime();
- // Find the distance between now and the count down date
- var distance = countDownDate - now;
- // Time calculations for days, hours, minutes and seconds
- var days = Math.floor(distance / (1000 * 60 * 60 * 24));
- var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
- var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
- var seconds = Math.floor((distance % (1000 * 60)) / 1000);
- // Output the result in an element with id="demo"
- document.getElementById("demo").innerHTML = days + "d " + hours + "h "
- + minutes + "m " + seconds + "s ";
- // If the count down is over, write some text
- if (distance < 0) {
- flag = false ;
- document.getElementById("demo").innerHTML = "TO LATE BANG,, ADIOS AMIGOS ";
- }
- }
- }
- </script>
- </head>
- <body>
- <p id="demo"> Count down to detonation</p>
- <div id="container">
- <input type="button" id="Button1" onclick="setInterval(TimerStartdemo, 1000)";return false;" name="" value="Armageddon CountDown" style="position:absolute;left:397px;top:357px;width:200px;height:55px;z-index:0; text-align:center">
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement