I am doing a loader indicator (image with some text next to it) while the page loads.
But im not having so much success with it.
right after the body tag i have this
Code:
<div id="loading-mask"></div>
<div id="loading">
<div class="loading-indicator"></div>
</div>
Then right after that i have the js
Code:
<script type="text/javascript">
document.getElementById('loading-indicator').innerHTML = 'Loading file...';
</script>
The issue is that it comes up and displays but it just sits there, it does not end and load the page.
Not sure what i am mssing here or maybe i dont have this in the right place in the file. Should it go on the very bottom of the file?