Created
July 27, 2016 15:00
-
-
Save iogbole/3ffac30540159f54e01e9446eeb9036b to your computer and use it in GitHub Desktop.
Control embed load time
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> | |
<script src="https://code.jquery.com/jquery-3.1.0.min.js" ></script> | |
<style> | |
.this_should_be_embed_div { display:none;} | |
</style> | |
</head> | |
<body> | |
<div class="this_should_be_embed_div"> | |
<h2>Control yammer embed loading time </h2> | |
</div> | |
<script> | |
// load contents in the div 5 secs after the page fully loads | |
$(document).ready(function() { | |
$(".this_should_be_embed_div").delay(5000).fadeIn(500); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment