Forums

This topic is locked

OnLoad Question

Posted 17 Feb 2004 21:49:18
1
has voted
17 Feb 2004 21:49:18 Kurt Buesching posted:
I have a rather large (60k) and complex navigation system that needs to load into an ASP page as an include file (also ASP). I would like to avoid a long wait by loading an identical but stripped down (20k) version of the navbar (also an ASP include) first until the full script loads and replaces it.

<!--#include file="navbar_lite.asp" -->
Loads first with the rest of the page

<!--#include file="navbar_full.asp" -->
Replaces navbar_lite when the page has loaded completely.

I've seen examples with layers and images but not include files. Any suggestions?

Edited by - Kurtster on 17 Feb 2004 21:50:53

Replies

Replied 18 Feb 2004 14:42:24
18 Feb 2004 14:42:24 Dave Thomas replied:
60k, quite big for a nav bar yes.

I'd personally build it in flash and stick a preloader on it.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 19 Feb 2004 16:35:13
19 Feb 2004 16:35:13 Kurt Buesching replied:
Thanks but I'd rather not have to rebuild everything in Flash. I'm using pop-up menus in MX to create a total of nearly 200 different links (3 levels deep in the site) - this was the clients idea in the first place. I would imagine there has got to be a JavaScript that I could modify to replace a server-side-include when the page finishes loading.

Reply to this topic