I'm trying to get this working, but I get this error (IE+NS) what am I doing
wrong?
------------------------------------------------------------
JavaScript Error: file:///C|/My Documents/My Webs/dhtml/daily
snapshots/Copy (2) of dynapi3/dynapi/src/lib/afroapi/file/url.js,
line 6:
unable to reflect applet "urlLoad", index 0 - not loaded yet?.
---------------------------------------------------------
This is the source;
----------------------------------------------------------
<script language="Javascript" src="../src/dynapi.js"></script>
<script language="Javascript">
DynAPI.setLibraryPath('../src/lib/');
DynAPI.include('dynapi.api.*');
DynAPI.include('afroapi.file.io');
DynAPI.include('afroapi.file.url');
</script>
<script language="Javascript">
DynAPI.onLoad = function() {
block = new DynLayer(null,200,200,200,200);
DynAPI.document.addChild(block);
block.setURL('../clock.html')
};
</script>
----------------------------------------------------------
Thanks,
Richard.
----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 6:09 AM
Subject: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)
> I now have it working in both NS and IE (only win tested) and can't see
> any bugs. (I should open my eyes)
>
> Just place all the files in their own directory called "file" in your
> libs directory.
>
> Then all DynLayer's will have a new method called setURL:
> DynLayer.prototype.setURL=function(url,js,noevt)
>
> url is the location of the file.
> this can be relative to the current main page or absolute.
> it MUST only be on the current domain, java does not allow external
> server downloads
> js
> do you wish any found javascript to be executed?
> noevt
> do you wish the load events to be triggered?
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev