|
The thing is, you would want to have one main page,
which loads (or includes) the others as needed.
Including the DynAPI source files only happens on
the main page, so this page includes all the files needed for the others to run.
It also has one onload function, within which the other files are
loaded.
The other files are just the javascript that's
usually within the onload function.
A setup would look something like
this:
<html><head> <script language="Javascript"
src="../src/dynapi.js"></script><script language="Javascript"> DynAPI.setLibraryPath('../src/lib/');
DynAPI.include('dynapi.api.*'); DynAPI.include('dynapi.event.*'); DynAPI.include('dynapi.util.thread.js'); //Include all files needed for all pages
here
<script language="Javascript"> DynAPI. {
//Include file 1
here
//include file 2
here
}
</script></html>
Hope that's what you mean.
Cheers,
Richard Bennett [EMAIL PROTECTED]
www.richardinfo.com (Everything running on, and ported to DynAPI2.53) visit the DynAPI homepage (and FAQ) :: http://dynapi.sourceforge.net/dynapi/index.php?menu=1 Browse (and search) the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi
|
- [Dynapi-Help] Re: How to call 2 DynAPI scripts from two te... Joe NguyenLe
- Re: [Dynapi-Help] Re: How to call 2 DynAPI scripts fr... Richard Bennett
- Re: [Dynapi-Help] Re: How to call 2 DynAPI script... Joe NguyenLe
