
BSC3DView Applet Tag Descriptions
Overview
The applet tag is the element in the HTML document used to embed the Java Applet.
Applet resources are loaded relative to the document URL. The CODEBASE = attribute is used to change this default behavior. If the CODEBASE= attribute is defined, it specifies a different location in which to find applet resources. The value can be an absolute or a relative URL. The absolute URL is used as is, without modification, and is not affected by the document's BASE element. When the CODEBASE= attribute is relative, it is relative to the document URL (or BASE tag, if defined).
The basic tag takes the following form...
ALIGN = LEFT | CENTER | RIGHT | TOP | MIDDLE | BOTTOM
- Describes the alignment of an object to text. The default is LEFT.
ALT = alternateText
- Specifies alternate text for text-only browsers or browsers that do not support Java.
CODE = appletFile
- Specifies the name of the Java applet.
CODEBASE = codebaseURL
- Specifies the base URL of the applet (the directory in which the applet is located).
HEIGHT = pixels
- Specifies the initial height of the applet display area.
HSPACE = pixels
- Specifies the horizontal space in which the applet displays.
NAME = appletInstanceName
- Identifies an applet to other applets within the HTML page.
PARAM NAME=AttributeName
- Passes applet-specific arguments in from an HTML page. There may be no, one, or any number of PARAM NAME= attributes present in the APPLET start-tag.
TITLE=text
- Specifies an advisory title string.
VSPACE=pixels
- Specifies the space in pixels above the applet.
WIDTH=pixels
- Specifies the initial width of the applet display area.
Example Applet Tag
ModelFile
This parameter is used to specify the filename of the 3D Model.
The URL can be either a fully qualified URL or relative to the applet location.
Note - The Model must be on the same server as the applet.
ModelColour
This parameter is used to specify the colour of the model.
The parameter must be specified in hexidecimal in the form RRGGBB.
e.g. Red = FF0000; Green = 00FF00; Blue = 0000FF
Default = 000000 (Black)
BackTopColour
This parameter is used to specify the top colour of the background gradient.
The parameter must be specified in hexidecimal in the form RRGGBB.
e.g. Red = FF0000; Green = 00FF00; Blue = 0000FF
Default = FF0000 (Red)
BackBottomColour
This parameter is used to specify the bottom colour of the background gradient.
The parameter must be specified in hexidecimal in the form RRGGBB.
e.g. Red = FF0000; Green = 00FF00; Blue = 0000FF
Default = FF0000 (Red)
Licence
This parameter is used by registered users of BSC3DView to disable the "nag" lines.
To obtain a registration code, please register quoting the domain/subdomain on which you want the applet to work.
e.g. Quote www.byte-sized.com for any page within http://www.byte-sized.com
|