adding 502 error
This commit is contained in:
28
games/502.html
Normal file
28
games/502.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>ups.. Bad Gateway !!! 502-Alarm!!!!</TITLE>
|
||||
</HEAD>
|
||||
<body>
|
||||
<center>
|
||||
<H1><b><FONT COLOR="#FF0000"><big><big>502 - Alert</big></big></FONT></b></H1>
|
||||
<H2>... Bad Gateway - (maybe subdomain is temporarily down) ...</H2>
|
||||
|
||||
<iframe id='502-game' width="520" height="520" scrolling="none" frameborder="0"></iframe>
|
||||
|
||||
<script>
|
||||
var randomBetween = function(f, to){
|
||||
return Math.floor(Math.random() * to) + f;
|
||||
}
|
||||
var randomGame = function(){
|
||||
var games = ["pacman502", "space-invaders502", "snake502"];
|
||||
var randomGame = randomBetween(0,games.length);
|
||||
return games[randomGame];
|
||||
}
|
||||
var src = "" + randomGame();
|
||||
document.getElementById('502-game').src = src;
|
||||
</script>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user