This is a browser bug. M$ have made it a "feature" of IE that it does the
thinking for you.
They don't believe you want to update the display until after it has
finished everything else. I had the same thing on a non-dynapi project that
I was doing for a client a few years ago.
I found that
I'd like to be able to draw the current state (of layers) in
the middle of script execution.
Usually things are drawn when a script ends. Scripts run
further via events, and timeOuts() (or threads)
For example using setText() on a label, is not shown till the
function returns.
However, if I p
Hello all,
I'm mostly new to DynAPI so I'm not very good at figuring out why things don't work.
Can anyone help, please?
I have the following page:
http://www.france-reservation-paris-hotels.com/map_of_paris.htm with a layer that pops
up when the mouse is over one of the hot spots. In IE 6 a
a quick and dirty way
Move all the dynapi related code to below the body tags (I haven't found
any problems with this as yet but if anyone has exp probs please correct me)
then put a table structure, or whatever into the main page with your loading
animation, thenput all your page stuff
you could use the possiblity to add dynlayers to the
document before onload that now is in 2.5.7 or 2.9.
then the layers should appear before the page is loaded,
example (using 2.5.7 syntax)
loader = new DynLayer(null,100,100,100,100);
loader.setHTML("loading...");
DynAPI.onLoad = function() {
Yes, I know, this is what I am doing. But it loads up with everything
else at the same time in Internet Explorer. I need something that loads
up right away and shows while everything else is loading, then when the
page is fully loaded up it hides it.
Thanks,
Matt
On Thu, 2002-01-31 at 01:47, Om