Dragon-like Text Scroller |
|
Source and class files: This applet is freeware. To use the applet on your site, save the file Dragon.zip by right clicking on the link and use the 'SAVE LINK AS' option, then UNZIP the file and put the class file in the same directory as your HTML file. A sample HTML file is included in the zip file. To customize the applet for your site, follow the procedures below. |
|
|
|
Required global parameters:
Change the width and height to indicate the size of the applet. maxText
text1
text2
textn
speed
fontname
Courier Dialog Helvetica TimesRoman fontstyle
PLAIN BOLD ITALIC PLAIN_ITALIC BOLD_ITALIC fontsize
fontcolor
black blue cyan darkGray gray green lightGray magenta orange pink red white yellow random ----- if this value is selected, each of the strings will be ranomly changed in color. setcolor ----- if this value is selected, you can use any color by setting the following three sets of parameters. rbg
For example, to use the 'white'-colored strings,
code the fontcolor parameters as follows:
background
black blue cyan darkGray gray green lightGray magenta orange pink red white yellow setcolor ----- if this value is selected, you can use any color by setting the following three sets of parameters. bgrgb
For example, to use the 'silver'-colored background,
code the background parameters as follows:
|
|
The easiest way to set up the applet on your site is to start with the applet code in the sample HTML file found in Dragon.zip. Use notepad and cut and paste the applet parameters from the sample HTML file into your HTML file. Then try it out, if it works, then 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). |
|
|
NO olvideis pinchar en algun baner de nuestros patrocinadores para que esta web pueda seguir ofreciendo servicios gratuitos para ñwebmasters y votarnos en los top.