I am going to sound really a beginer, but what does "async mode" and "To get
scripts loaded in the same scope as the window
object" mean? What is the advantage of having the function run in async mode
or not?
----Original Message Follows----
From: Raymond Irving <[EMAIL PROTECTED]>
To: DynAPI-Dev <[EMAIL PROTECTED]>
Subject: [Dynapi-Dev] Javascript Request Object
Date: Fri, 28 Dec 2001 08:28:44 -0800 (PST)
Hello Everyone,
Well I've been very busy since the holiday season and
did not get much time to work in this project so I'll
be releasing it anyway so we can all take a look at it
and if possible offer some improvements.
The file is attached
Things to note:
To get scripts loaded in the same scope as the window
object in ns4. You should do the following:
myfunction=function(){
//some code here
}
Or
parent.myfunction=function(){
//some code here
}
And not
function myfunction(){
//some code here
}
P.S. NS6 only loading scripts in async mode. Can't
figure out why :(
--
All the best!
Raymond
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/