Vertical Text Scroller |
Vertical Text Scroller now supports RGB colors, single or double clicked links,
mouse over link highlighting, enhanced manual pause, and five special backgrounds!
Source and class files: This applet is freeware. To use the applet on your site, save the file VertTextScroller.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. numberOfLines
background
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:
Or you can use one of the special multi-colored fade backgrounds, use one the following parameters: special1 - black fade to green special2 - light blue fade to light green special3 - black fade to blue special4 - red fade to yellow special5 - black fade to red For example, to use the 'red fade to yellow' background (special4),
code the background parameter as follows:
scrollDelay
lineSpace
linkFrame
_self - load in current frame. _parent - load in parent frame. _top - load in topmost frame. _blank - load in new unnamed top-level frame. <other> - Show in new top level window named <other>.linkColor This controls the color of the hyperlinked line when the mouse is placed over the line. Colors supported are the same as background. manualPause
linkClick
This is the default text size for each line. lineDefault
colorDefault
fontDefault
Dialog Helvetica TimesRoman CourierstyleDefault This is the default font style for all lines. Use one of the following below: PLAIN ITALIC BOLDlinkDefault This is the default URL for all lines (the default is usually blank). Enter as a standard URL: http://geocities.datacellar.net/SiliconValley/Bay/6879pauseValueDefault This is the default pause value for all line (the default is usually zero). lineOffsetDefault
Optional parameters (controls each individual line):
for example: To change the default text for the first line,
use the parameter 'line1':
|
Vertical Text Scroller can be seen in action at several major websites, including:
|
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 VertTextScroller.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). |
If you just added the applet parameters to your HTML file and the applet doesn't load, try the following three steps:
If the applet displays the above error, this means the applet cannot find the required parameter lineDefault. View your HTML source in your browser (view > page source), the lineDefault parameter probably looks something like this:Browser error: class VertTextScroller not found: If the applet doesn't start and your browser displays the error message above, make sure the file VertTextScroller.class is on your web server in the same directory as your HTML file. Also make sure it's spelled correctly, upper and lower case matter (spell it exactly like this: VertTextScroller.class). If you can't fix the problem:
|
The following features are not supported by the applet:
|