![]() |
- User Guide |
DancingText applet is very easy to use. All parameters have a default value and so there is no such thing as a minimum number of parameters which you must use. However you must have a Java-enabled browser such as Sun's Hotjava or Netscape Navigator 2.0x to use DancingText. If you have a Java-enabled browser and you wish to see examples on DancingText now, click here.
The table below shows all the parameters and their description:
Paramenter Name | Description | Default Value |
text | Text which is going to dance. | DancingText |
fontName | Name of the font. | TimesRoman |
fontStyle | Style of the font. It can be PLAIN, BOLD, ITALIC. They can be joined together by a | symbol. For example "BOLD|ITALIC". | PLAIN |
fontSize | Size of the font in points. | 36 |
charSpace | Character spacing in points. | 2 |
maxXOffset | Maximum dancing offset on x-axis in points. | 2 |
maxYOffset | Maximum dancing offset on y-axis in points. | 4 |
shadowXOffset | Shadow image x-axis offset in points. | 3 |
shadowXOffset | Shadow image y-axis offset in points. | 3 |
shadow | Enable(true) or disable(false) text shadow. | true |
shadowColor | Color for the text shadow. For more information on color, please see Color format below. | 128,128,128 |
textColor | Control text color. The syntax is as follows: c1-color1|c2-color2|...|cn-colorn where c is the character index number(does not have to be in order) and color is the color value. All characters before the first known color value would have the same color value as the first known color. All characters after the last known color value would have the same color value as the last known color. For more information on color, please see Color format below. Example: 0-255,100,200|10-FFE0A0|5-0,0,10 |
"Black" |
baseColor | Background color. For more information on color, please see Color format below. | Background color |
speed | Control the speed of the dance. This is the number of milliseconds the applet would wait between each update of the text. | 100 |
target | This is the name of the target window to open the URL (i.e. support of the frames feature). | "None" |
URL | Uniform Reference Locator - a reference to an object on the World Wide Web. The browser would navigate to this URL when the user clicks inside the applet window. | "None" |
You can use two formats for color: r,g,b or hhhhhh where r,g,b specify red, green, and blue values in the range (0 - 255);
hhhhhh (hex number) specify combined RGB value consisting of the red
component in bits 16-23, the green component in bits 8-15, and the blue component
in bits 0-7. |
Would you like to:
View examples
View the source