The process is noticeably slower in IE than FF or Opera so I want to display something dynamic while the tables are being created.
I have tried both an animated gif and a marquee-type "...Loading..." message using setInterval or repeatedly issuing setTimeout calls.
Both the gif and the marquee work just fine stand alone.
My problem is that the processing that is creating the tables seems to take processing priority so that the animated gif just stalls or the moving message stops moving.
I was setting the gif/calling the marquee function from within the same function I was using to create the tables.
So I tried separating the functions, calling the gif/marquee using onMouseDown= and starting the table functions from onMouseUp=. In the fraction of a second between the two, the gif/marquee moves and then stalls just as before.
The two are writing to different parts of the page.
The part of the page containing the large table is hidden until the processing is complete.
When the processing is complete, I then blank out gif or call clearTimeout and blank out the message. That part works just fine.
What is the secret to getting the animated gif or marquee message to keep moving?
I found a script that displays an animated gif while loading a larger image but I cannot figure out how it keeps the animation going as it uses a very object-oriented style and I cannot figure out how it is keeping things separate.