Hi guys, I have a page that takes a fair while to load-reason being is that on the previous page a form is submitted and an XML request is made and the response is interpreted by my php script and then displayed. There's about a 5 second wait time for any user to recieve a response-is there a way of putting a page loading message with some sort of animated gif etc. to display and only when the page has finished loading to display it. I've searched the web for something that suits my application and have not been successful, reason is that the loader has to be on the page which the data is POSTED to as i have no control over the form on the previous page. Page containing form -> Results Page (cannot modify) (loading script on this page) Is this possible per say?
if you use a javascript framework, this task should be a cakewalk... the basic principle is to load and display you loading bar on load start and end it either in case of error / abort / success using the event handlers of the xmlhttprequest object refer this for the preliminary details. and event handlers of your framework (jquery or mootools or like, in case you use it) for specific details...