Suppose I have this code :
<head>
<script type="text/javascript">
func1();
</script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
func2();
</script>
<script type="text/javascript" src="tabber.js"></script>
</head>
Would func2() be called only after jquery.js is completely loaded? Basically I am trying to make a progress bar in a page with some heavy javascript code. So I want to know how much of the page has loaded.Now I can show this progress in the form of the number of js files that have been completely downloaded. So if func2() is called only after jquery completely loads, I can use that function to slide up the progress bar by some percentage.