The parameters used by the applet follow. If any parameters are omitted default values will be used, but some scrolling text must be specified.
Parameter Name | Type | Purpose |
TEXT1 | string | This parameter sets some plain text which will be scrolled in the applet. It should be used with the 'link' parameter, as described below |
LINK2 | string | This parameter sets some text which is also a link. The value should consist of the text to appear in the message, and the location to link to. They should be separated by a '|', e.g. "Yahoo|http://www.yahoo.com". The 'http' is required. Relative links are not allowed. It should be used in conjunction with the previous parameter. For example, to make the scrolling message consist of some normal text, a link, more normal text, and another link, you would use the following parameters: TEXT1, LINK2, TEXT3, LINK4. |
FPS | number | This parameter sets the number of frames per second, i.e. the speed. Good values are around 25. |
BGIMAGE | filename | This parameter specifies an image to use as a background. It should be either a GIF or a JPEG format file. |
STEP | number | This parameter sets the number of pixels the text will scroll per frame. The default is one. |
<APPLET CODE="LinkScrollApplet.class" WIDTH=420 HEIGHT=40> <PARAM NAME=TEXT1 VALUE="This is an example of the scrolling applet. Go to"> <PARAM NAME=LINK2 VALUE="Yahoo,|http://www.yahoo.com"> <PARAM NAME=TEXT3 VALUE="or to"> <PARAM NAME=LINK4 VALUE="Gamelan|http://www.gamelan.com"> <PARAM NAME=FPS VALUE="20"> <PARAM NAME=BGIMAGE VALUE="background.gif"> </APPLET>