Is it now possible in the world of web development to use HTML, CSS, and Javascript to show a loading message on the screen until all elements have fully downloaded before displaying the webpage?
For instance, can we show "loading" until everything such as html, css, javascript, images, etc. have finished downloading so that the user does not see parts of the website appearing after the loading message disappears?
UPDATE: THE .LOAD METHOD DOES NOT WORK:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
$(document).load(function(){
alert("loaded");
});
</script>
</head>
<body>
</body>
</html>