E
edfialk
Hi all, I have an application that overlays some WMS images on an
openlayers map, but the only important part is that I'm downloading
some decent sized images and it can take up to a minute or two.
I really need a loading gif that accurately displays and disappears if/
when there is still data being transferred.
I've seen a couple code examples, but they don't seem to work for me.
My document onLoad is calling a function that sets up my maps and
fetches default values, etc., etc. and after this is all done, I call
getElementById("loading").style.display="none", but the loading gif
disappears immediately on page load, instead of when all the image
loading is done.
Does anyone know of a good script that can change a div display AFTER
the page is COMPLETELY loaded (i.e. no more transferring data, etc.)?
I would be just incredibly grateful if anyone could help me out.
Thanks!
-Ed
openlayers map, but the only important part is that I'm downloading
some decent sized images and it can take up to a minute or two.
I really need a loading gif that accurately displays and disappears if/
when there is still data being transferred.
I've seen a couple code examples, but they don't seem to work for me.
My document onLoad is calling a function that sets up my maps and
fetches default values, etc., etc. and after this is all done, I call
getElementById("loading").style.display="none", but the loading gif
disappears immediately on page load, instead of when all the image
loading is done.
Does anyone know of a good script that can change a div display AFTER
the page is COMPLETELY loaded (i.e. no more transferring data, etc.)?
I would be just incredibly grateful if anyone could help me out.
Thanks!
-Ed