Yet another text scroller. This one scrolls an arbitrary number of text lines vertically and each can represent a link to another Web page. It also allows a target window or frame to be specified for each link and you can change the message that is shown in the browser's status area when the mouse is over the link. |
Name | Format | Description |
delay (optional) | n | Specifies time between display updates in milliseconds. Default is 25. |
pause (optional) | n | Specifies time, in milliseconds, that a link will be paused when centered in the applet area. Default is 2000. |
fgcolor (optional) | color | Specifies the text color. Default is black. |
bgcolor (optional) | color | Specifies the background color for the applet area. Default is white. |
vlcolor (optional) | color | Specifies the color used for links that have been visited. Default is #663399. |
shadow (optional) | x,y,color OR x,y | x and y specify the offsets of the shadow relative to the link text, color defines the shadow's color. By default, no shadow is drawn. If only the offsets are given the default color is lightGray. |
border (optional) | n OR n,color | n specifies the size and color of the border drawn around the edge of the applet. If n is less than one, no border is drawn. The default is no border. If only a size is given color will default to the value of fgcolor. |
For the above parameters, color may be one of the following: black, blue, cyan, darkgray, gray, green, lightgray, magenta, orange, pink, red, white or yellow. Or you can specify an RGB hex triplet, e.g. #ffcc99. | ||
font (optional) | name,style,size | Specifies the font used for the link text. The defaults are dialog,plain,12. |
For the font parameter, name may be one of: courier, dialog, helvetica, symbol or timesroman and style may be one of: bold, bolditalic, italic or plain. | ||
You may define any number of links, numbered 1-n. For each link, specify the following: | ||
link-i | string | The text to display for this link. |
url-i (optional) | url OR url,target | The url to link to when this area is clicked on. Optionally a target window or frame may be specified. |
status-i (optional) | string | The message to display in the status window in place of the link URL. |
Files | ||
Source: LinkScroll.java | Class: LinkScroll.class |