Created
January 7, 2017 17:05
-
-
Save uliwitness/31f5a1bc38a6648fc2a726951dc7b585 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Streaming - Back Soon</title> | |
</head> | |
<body bgcolor="#00ff00"> | |
<div id="message" style="font-size: 80pt; font-family: Helvetica; font-weight: bold; color: white; text-shadow: 2px 2px #000000;"> | |
Back in <span id="timer">5:00</span> minutes | |
</div> | |
<script> | |
window.onload = function(){ | |
var minz = 5; | |
var secz = "00"; | |
setInterval(function(){ | |
document.getElementById("timer").innerHTML = minz +":" + secz ; | |
secz--; | |
if(secz == -1) | |
{ | |
minz--; | |
secz = 59; | |
if (minz == -1) | |
{ | |
document.getElementById("message").innerHTML = "Be right back!"; | |
} | |
} | |
if( secz < 10 ) | |
secz = "0" + secz | |
},500); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HTML page that shows a countdown for displaying when streaming games.