| See also: JSV_applet |
Writes an param tag (<param name="name" value="value">).
JSV_appletParam([expN])
n/a
The JSV_appletParam function returns a PARAM tag.
The JSV_appletParam function uses the following arguments.
| Argument | Description |
| paramName |
The required NAME attribute gives the name of the parameter.
|
| paramValue |
The required VALUE attribute gives the parameter's value.
|
The PARAM element provides parameters for the OBJECT and APPLET elements.
An OBJECT or APPLET may contain any number of PARAM elements prior to the
alternate content that is also contained within the OBJECT or APPLET element.
The required NAME attribute of PARAM gives the name of the parameter while
the VALUE attribute gives the parameter's value. The parameters recognized
are specific to the kind of object being embedded or to the plug-in that
renders the embedded object.
See the Web Design Group HTML 4.0 Reference on the param tag for more information.
n/a
The following lines of code
function paintClock() {
document.write(
JSV_applet(
'codebase="classes" code="JavaClock.class" width="125" height="125"',
JSV_appletParam("delay", "100"),
JSV_appletParam("link", "http://java.sun.com/"),
JSV_appletParam("border", "5"),
JSV_appletParam("nradius", "80"),
JSV_appletParam("cfont", "TimesRoman|BOLD|18"),
JSV_appletParam("bgcolor", "8080FF"),
JSV_appletParam("shcolor", "ff0000"),
JSV_appletParam("mhcolor", "00ff00"),
JSV_appletParam("hhcolor", "0000ff"),
JSV_appletParam("ccolor", "dddddd"),
JSV_appletParam("ncolor", "000000")
)
);
}
paintClock();
produce
Copyright © 2000 Roaring Fork Software. All rights reserved.