Note that any regular HTML between the applet tags only appears in browsers that do not support Java, so this is your place to put
alternative graphics or text.
The second TickerTape above makes use of more of the parameters and reads its text from a file on the server. It has an HTML
applet tag that looks like:
The following subsections detail each of the parameters used to define the TickerTape behaviour:
The text to display:
Text can either be entered at the parameter line or via a file reference. If both are specified the TEXT parameter takes
precidence (as in the following example). The file specifies a file that is relative to the document in which the applet is displayed.
Note that the text can include HTML entity names like ö. In fact it implements nearly all entity names as listed in this
reference on ISO-8859.
The Colours:
Values accepted are the prime colours that the Java language uses: black, blue, cyan, darkgray, gray, green, lightgray, magenta,
orange, pink, red, white, and yellow, or you can specify an absolute hex tripplet (Red Green Blue) as you would in HTML
coding. You can currently set the colours of the background, the frame and the text on and off colours as follows (in the same
order and with default values shown):
Display Size Parameters
You have control over the height and width of the display as well as the thickness of the frame and size and spacing of the
"LEDs" (the units that make up each dot in a character).
The applet width is flexible, however it is up to you to set an appropriate height value. The value for height should be more than:
11 x (the LED size + the LED spacing) + 2 x the frame thickness + 2. So for the default frame thickness of 1 and LED size of 2
and spacing of 1 a minimum height value would be 11 x 3 + 2 + 2 = 37.
height and width are the parameter you specify in the