Silly Scroll Applet

SillyScroll zip file

SillyScroll.zip


Easy Setup

The easiest way to set up the applet on your site is to start with the applet code found on this page. Use Notepad to copy and paste the applet parameters from the sample HTML file into your HTML file. Then try it out and customize it for your site. Please note, after you change the HTML file you must hit 'reload' on your browser to view the changes (sometimes you must close the browser and reopen it to see the changes).

Note: It is very important that you do not modify or remove the copyright parameter. This will cause a message stating that the applet is "unregistered."


Applet Parameters

numberOfLines
This is the number of lines to display.

background
This is the background color of the applet. There are two different ways to specify this parameter: color name or by RGB color values.

To use a single colored background, use one of the following colors below:
  • black
  • blue
  • cyan
  • darkGray
  • gray
  • green
  • lightGray
  • magenta
  • orange
  • pink
  • red
  • white
  • yellow

Or,  you can specify the red, green, and blue values for a unique RGB color: specify three number from 0 - 255 separated by commas.

For example code this for the color red:
<param name=background value="255,0,0">

borderColor
Sets the color of the applet's border. The default color is gray. This parameter accepts the same values as the 'background' parameter discussed above. Please not that the applet's border can not be removed.

scrollDelay
This controls the speed of the scroll. The lower the number, the faster it scrolls.

lineSpace
This controls how much space is between each line.

copyright
The copyright parameter must be included or the scroller will not function properly. The value for this parameter must be:

Silly Scroll v1.0 Copyright (c) 2000, consulting.com Inc.


Required Default Parameters

sizeDefault
This is the default text size for each line.

lineDefault
This is the default text that is displayed for each line (usually the default is blank, and this is overriden).

colorDefault
This is the default color for each line. Colors supported are the same as background.

fontDefault
This is the default font for all lines. Use one of the following below:

styleDefault
This is the default font style for all lines. Use one of the following below:

pauseValueDefault
This is the default pause value for all lines (the default is usually zero).

lineOffsetDefault
This is the default starting position for all lines (starting at position zero).

effectDefault
The default text effect for each line in the applet. Possible values are:


Optional Parameters

These are basically the same as the default parameters. Just replace 'Default' with the line number, for example:

To change the default text for the first line, use the parameter 'line1':
<param name=line1 value="consulting.com, Inc. Silly Scroller applet">