On Mon, 1 Mar 2004 18:02:47 -0000, Alastair McFarlane
<al*****@2-athol.fsnet.co.uk> wrote:
[Using the codebase and archive attributes]
Thanks, but how do I use them? Do I need both, or just one? Which one? I
have tried both but I may have done it wrong.
You could have posted your attempt, so we could tell you. However, whether
you used them properly or not may be of no consequence.
According to the HTML specification, for security reasons, Java applets
must be located in the same directory as the document, or in a
subdirectory. An entirely different server will certainly not satisfy
those restrictions. I don't know to what extent this is enforced.
Of the two attributes Ike was referring to, codebase is the most
appropriate. It is a URI that specifies the location of the class files.
Note that with the restriction above, this is intended to be a URI that is
relative to the base address of the document and should only go deeper
(into more directories, not out of them).
The archive attribute is used to "preload" class files by specifying a
comma-separated list of URIs.
Be aware that this is off-topic in this group: JavaScript is not Java.
More appropriate groups would be comp.lang.java or
comp.infosystems.
www.authoring.html.
Hope that helps,
Mike
--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)