Vertical Text Scroller



Source and class files:

VertTextScroller.zip

This applet is freeware. To use the applet on your site, save the zip file by right clicking 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.

HTML Example
<applet code="VertTextScroller.class" width="325" height="150"> <param name=numberOfLines value="23"> <param name=background value="white"> <param name=scrollDelay value="15"> <param name=lineSpace value="17"> <param name=linkFrame value="_top"> <param name=linkColor value="red"> <param name=sizeDefault value="17"> <param name=lineDefault value=""> <param name=colorDefault value="black"> <param name=fontDefault value="Helvetica"> <param name=styleDefault value="PLAIN"> <param name=linkDefault value=""> <param name=pauseValueDefault value="0"> <param name=lineOffsetDefault value="0"> <param name=line1 value="Free Vertical text scroller"> <param name=pauseValue1 value="7500"> <param name=style1 value="BOLD"> <param name=color1 value="red"> <param name=line2 value="If you're looking for a professional look"> <param name=line3 value="and feel for your web site, or your site's"> <param name=line4 value="getting a little cluttered and you need to"> <param name=line5 value="save some real estate, why pay for a"> <param name=line6 value="professional quality vertical text scroller"> <param name=line7 value="when this one is free?"> <param name=line10 value="Features"> <param name=pauseValue10 value="9500"> <param name=style10 value="BOLD"> <param name=color10 value="red"> <param name=line11 value="Professional quality smooth scrolling."> <param name=lineOffset11 value="10"> <param name=line12 value="Adjustable scrolling speed."> <param name=lineOffset12 value="10"> <param name=line13 value="Manual scrolling/pausing using your mouse."> <param name=lineOffset13 value="10"> <param name=line14 value="Automatic pausing at any line."> <param name=lineOffset14 value="10"> <param name=line15 value="URL links that are hilighted when clicked."> <param name=lineOffset15 value="10"> <param name=line16 value="Many fonts, styles, and colors to choose."> <param name=lineOffset16 value="10"> <param name=line17 value="Param tag syntax checking for easy setup."> <param name=lineOffset17 value="10"> <param name=line18 value="And more..."> <param name=lineOffset18 value="10"> <param name=line20 value="For more examples of this applet, double"> <param name=pauseValue20 value="5500"> <param name=style20 value="BOLD"> <param name=color20 value="red"> <param name=line21 value="click on the URL below"> <param name=style21 value="BOLD"> <param name=color21 value="red"> <param name=lineOffset21 value="60"> <param name=line23 value="Lou Schiano's home page"> <param name=color23 value="blue"> <param name=style23 value="ITALIC"> <param name=link23 value="http://www.geocities.com/SiliconValley/Bay/6879/"> <param name=lineOffset23 value="55"> </applet>

 Applet parameters

Required global parameters: 

    width and height 
    Change the width and height to indicate the size of the applet. 

    numberOfLines 
    This is the number of lines to display. 

    background 
    This is the background color of the applet. Use one of the following below: 

    black
    blue
    cyan
    darkGray
    gray
    green
    lightGray
    magenta
    orange
    pink
    red
    white
    yellow
    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 vertically. 

    linkFrame 
    This controls which HTML frame to use when a hyperlink is double clicked. Use one of the following below: 

    _self   - load in current frame. 
    _parent - load in parent frame.
    _top    - load in topmost frame.
    _blank  - load in new unnamed top-level frame.
    
    linkColor 
    This controls the color of the hyperlinked line when clicked. Colors supported are the same as background. 

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 overridden). 

    colorDefault 
    This is the default color for all lines. Colors supported are the same as background. 

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

    Dialog
    Helvetica
    TimesRoman
    Courier
    
    styleDefault 
    This is the default font style for all lines. Use one of the following below: 
    PLAIN
    ITALIC
    BOLD
    
    linkDefault 
    This is the default URL for all lines (the default is usually blank). Enter as a standard URL: 
    http://www.geocities.com/SiliconValley/Bay/6879
    
    pauseValueDefault 
    This is the default pause value for all line (the default is usually zero). 

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

Optional parameters (controls each individual line): 

    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="Free Vertical text scroller">