Name
CODEBASE — NN 2 IE 3 HTML 3.2
Synopsis
CODEBASE=”path"Optional
Path to the directory holding the class file designated in either the
CODE or ARCHIVE attribute. The
CODEBASE attribute does not name the class file,
just the path. You can make this attribute a complete URL to the
directory, but don’t try to access a codebase outside of the
domain of the current document: security restrictions may prevent the
class from loading. A full path and filename can be set together in
the CODE or OBJECT attribute,
eliminating the need for the CODEBASE attribute
setting.
Example
<APPLET CODE="ScriptableClock.class" CODEBASE="applets/" WIDTH=400 HEIGHT=50> </APPLET>
Value
Case-sensitive pathname, usually relative to the directory storing the current HTML document.
Default
None.
Object Model Reference
- IE
[window.]document.applets[i].codeBase
[window.]document.appletName.codeBase
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access