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 into an outer layer which covers the
whole screen, (I'm lucky mine already does).

presto page loads first then all the dynapi stuff is loaded and rendered
blocking out the original doc contents and your loading stuff.

as I said quick and dirty....

Matt

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matt Fair
Sent: 31 January 2002 16:21
To: Omar Kandeel; DynAPI Help
Subject: RE: [Dynapi-Help] page load, please wait


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, Omar Kandeel wrote:
> I think what u need is something like this:
>
> <script language=javascript>
> DynAPI.onload = function()
> {
>       //      Your code here
> }
>
> -----Original Message-----
> From: Matt Fair [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 12:16 AM
> To: DynAPI Help
> Subject: [Dynapi-Help] page load, please wait
>
> Hello,
> I am trying to have a message come up when my page is loading.
> Like:
> loading = new DynLayer(null, DynAPI.document.getWidth()/2,
> DynAPI.document.getHeight()/2, 300,300);
> loading.setHTML("<h3>Please Wait, Loading ...</h3>");
> DynAPI.document.addChild(loading);
> But this doesn't show until everything else is loaded up.  I want it to
> show up right away when the page loads up.
> Is this posible?
> --
> Matt Fair
> Uprint.com Staff
>
> Gartner Studios, Inc.
> 124 South Second Street
> Stillwater, MN 55082
>
> Phone: 651-351-7700, 888-522-9722
> Fax: 651-351-1408
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
--
Matt Fair
Uprint.com Staff

Gartner Studios, Inc.
124 South Second Street
Stillwater, MN 55082

Phone: 651-351-7700, 888-522-9722
Fax: 651-351-1408


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to