Silent javascript download+queue+iframe

"Maninder, Singh" <[email protected]> Tue, 16 May 2006 22:59:25 +0530
Newsgroups gmane.comp.web.dom.wdf
Message-ID <4D8B620F4FDA414982B23A3E7F6A8EF113409314@hydmail01.hyd.corp.int.untd.com>
Hello Everyone,

Here are my application details:

1) I have a series of pages and almost all of them have their associated javascript files.
2) Some pages require a number of javascript files and hence take more time to download as compared to others.
3) I expect the user to spend more time on one particular page and obviously he got to come on the login page (which is pretty light).


Here is my problem:

1) The pages that have a number of javascript files take a lot of time to download and I would like to implement some solution so that I can make use of the page where I expect the user to spend some time by downloading those javascript files in the background (at least a couple of them).

What's the best way to do this?

Should I have a hidden iframe on that page and give a call to those 2-3 javascript files?
Should I use xmlhttp to give a call to those files?
Should I implement a queue mechanism?

Does someone have some code on this already?

Please let me know.

Thank you,
Mandy.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/9rHolB/TM
--------------------------------------------------------------------~-> 

Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/