scroller version: 2002.04.15

[Main Features]: This is a Java scrolling applet with several cool features that can enhance your web site. At a specified rate, it reads and reloads from a file and supports auto-wrapped text and images. You can set colors, font face / style / size, left / right / center alignments, web address links, scrolling speed, background image, margins, shadow / outline effects, pause time, etc.

[Customizable Parameters]: Cut and paste the code in this commented HTML exmaple, scroller.html and open the file scroller.txt to see how keywords are used. The followings are a brief list of the keywords.


Keyword Format Description
color <color_R_G_B> ... </color> R, G, B, are color components 0..255
link <link_URL> ... </link> URL is the web address
font <font_face_style_size> ... </font> style (0 = plain, 1 = bold, 2 = italic, 3 = bold and italic)
align <align_pos> ... </align> pos (left, right, or center)
break <break> line break
pause <pause_time> time is in milliseconds
image <image_filename> filename is either in GIF or JPG
effect <effect_type_R_G_B> ... </effect> effect (shadow or outline), R G B are the color of background


[Execution Tips]: Move the mouse onto items and you may find some hot links.

[Download and Installation Guide]: Use a file editor (e.g. WordPad) to open scroller.html and copy the code segemnt between starting and ending APPLET tags into your desirable HTML file. Supply your own image files and type in their names in the input text file (in our example - scroller.txt).

[More Package Info]:
  • File Description:
  • scroller.html - this example with comments on param usage
  • scroller*.jpg scroller*.gif - test images
  • scroller.class - main class
  • scroller.txt - sample data file
  • Possible Future Updates:
  • Add target frame for the link