NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Ooh! (Score:1)
Let me be the first to say... (Score:1)
Works better with XMLHTTPRequest (Score:1)
I've done some tests with this last year, and couldn't resolve the timing issues. At least in IE the script src is loaded asynchronously and you end up calling functions which aren't loaded yet most of the time.
However, the XMLHTTPRequest object has the option to load data synchronously, so you can actually wait untill the data is loaded. The problem is that it isn't meant to load javascript files, but with some eval() magic it does work.
I've put a first version up at http://helene.muze.nl/download/jsan.z [helene.muze.nl]
Remote scripting won't work (Score:1)
The problem with a pure <script> solution is that it doesn't have to be synchronous, so you can't use any of the libraries until onload. The problem with pure XMLHttpRequest is that it appears to be impossible to eval() something in the global scope from inside the include() function in IE (Moz ca
Re:Remote scripting won't work (Score:1)
Open JSAN (Score:2)
JavaScript Archive Network
http://openjsan.org/ [openjsan.org]
JSAN JavaScript Code Importing System
http://www.openjsan.org/doc/CWEST/JSAN/0.01/lib/JSAN.html [openjsan.org]
Casey West