Skip to content

Instantly share code, notes, and snippets.

@iogbole
Created July 27, 2016 15:00
Show Gist options
  • Save iogbole/3ffac30540159f54e01e9446eeb9036b to your computer and use it in GitHub Desktop.
Save iogbole/3ffac30540159f54e01e9446eeb9036b to your computer and use it in GitHub Desktop.
Control embed load time
<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