Description
.ready () Specify the function to execute when the DOM is fully loaded.
So, make your div invisible with cssand make it visible with jQuery.
Example
Html
<div class="wrapper" style="display:none">
</div>
JQuery
$(document).ready(function() {
$('.wrapper').show();
});
Full example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<script type="text/javascript" src="PathToYourJqueryJsFile" />
<script type="text/javascript">
$(document).ready(function () {
$('.wrapper').show();
});
</script>
</head>
<body>
<div class="wrapper" style="display:none">
</div>
</body>
</html>
Additional Information
source
share