Created
January 31, 2016 00:03
-
-
Save montycheese/304c7db74372720927f0 to your computer and use it in GitHub Desktop.
redirect to page via javascript
This file contains hidden or 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> | |
</head> | |
<body> | |
<h1>Website currently down...</h1> | |
<h2>You will be redirected to my GitHub page</h2> | |
</body> | |
</html> | |
<script> | |
window.onload = window.setTimeout(redirect, 5000); | |
function redirect(){ | |
window.location = 'https://github.com/montycheese'; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment