![]() |
Loading indicator question
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:
Then right after that i have the js Code:
<script type="text/javascript">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? |
Code:
document.getElementById('loading-indicator').innerHTML = 'Loading file...';And don't see where your loading anything. Is that somewhere else? |
good eye i was cleaning it up and i removed the span because i had my own message and i honestly did not realize it was the id it should look like this
same js as above but this is dif Code:
see any issues here ? |
This may be useful:-
Code:
<html> |
thanks all.. :)
|
| All times are GMT +1. The time now is 09:07 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.