Created
April 22, 2021 18:36
-
-
Save Luc45/47f6e3c06fe3bfe7a89dafe52d6b6a55 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body id="delayBody"> | |
Visible after timeout | |
<script id="jsbin-javascript"> | |
document.getElementById('delayBody').style.visibility = 'hidden'; | |
setTimeout(function() { | |
document.getElementById('delayBody').style.visibility = 'visible'; | |
}, 500); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">document.getElementById('delayBody').style.visibility = 'hidden'; | |
setTimeout(function() { | |
document.getElementById('delayBody').style.visibility = 'visible'; | |
}, 500);</script></body> | |
</html> |
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
document.getElementById('delayBody').style.visibility = 'hidden'; | |
setTimeout(function() { | |
document.getElementById('delayBody').style.visibility = 'visible'; | |
}, 500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment