<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
<script>
$(document).ready(function () {
// Hide the div
$("#myModal").hide();
// Show the div after 5s
$("#myModal").delay(5000).fadeIn(100);
});
</script>
<div id="myModal"> test div </div>
<script>
$(document).ready(function () {
// Hide the div
$("#myModal").hide();
// Show the div after 5s
$("#myModal").delay(5000).fadeIn(100);
});
</script>
<div id="myModal"> test div </div>
No comments:
Post a Comment