Im building an app that shows a loading .GIF animation while the data is being fetched from the database... this issue isnt really an 'issue' persay, but rather a trick Im trying to get to work...
I'd like to know if its possible to 'stall' the return of the data, say 4 seconds AFTER the onReadyStateChange signaling the data is ready to display.
This would allow the user to see more of the loading gif,and that sounds crazy Im sure, but I'd like to know if its possible.
what would the javascript for something like that look like? Is it as simple as giving the javascript a task like 'count xx seconds then proceed'?
I'd like to know if its possible to 'stall' the return of the data, say 4 seconds AFTER the onReadyStateChange signaling the data is ready to display.
This would allow the user to see more of the loading gif,and that sounds crazy Im sure, but I'd like to know if its possible.
what would the javascript for something like that look like? Is it as simple as giving the javascript a task like 'count xx seconds then proceed'?