Vertical Scroller Type Writer Applet Documentation

Version 2 release (18 September 98)

©Copyright George Eleftheriou 1998


Contents


License Agreement

You may use this program free of charge only for Non Commercial purposes. Please read the license agreement for non commercial sites. If your site is commercial you need to purchase a license. Please read the license agreement for commercial sites.

Applet Overview

Vertical Scroller Type Writer Applet is a small and fast loading applet that displays vertical scrolling text being written as in a type writer. There is optional sound support when the mouse is over the applet and support for a background image. When the user clicks on the applet a URL can appear in a new page or in a frame.

Applet files

Applet Parameters
In addition to the above variables, Vertical scroller has some variables that can change for different parts of the text. These variables are defined inside the text file, just before the text you want to display. The examples will help you understand how they work. The above values are defined like this:
<new>
<url=http://www.cnn.com>
<fontsize=12>
<fontstyle=Plain>
<fontname=TimesRoman>
<target=_blank>
<textcolor=0,0,0>
<bgcolor=255,255,255>
<bordercolor=0,0,0>
<delay=2000>
Text goes here
<new>
<fontsize=16>
Another Text goes here
<new>
<textcolor=0,0,255>
<fontstyle=bold>
Another Text goes here

Some things to note:

Explanation of Applet Tags

Each applet is characterised by a pair of tags: "<applet>" and "</applet>". The applet must be contained in the body section of the html document. The applet tag must at least specify the "CODE", "WIDTH", and "HEIGHT" modifieres. In addition it can have other modifiers like "CODEBASE" and parameters. For example

<APPLET CODE="MyApplet.class" CODEBASE="." WIDTH="100" HEIGHT="100">

<PARAM NAME="FileName" VALUE="message.txt">

Your browser doesn't support Java or Java is not enabled.

</APPLET>

Other things to note: Class names are case sensitive. "MyApplet.class" is different from "MyAPPLET.class". Class files are binary files and should be uploaded in binary mode. The applet tags can be written in lower or uppercase characters. CODE is the same as code or Code.

Examples

The best way of learning how applets work is to see at the examples and play with the values of parameters.

Browser compatibilty

This applet works with all major browsers. It has been tested with Netscape Navigator 3.04, Netscape Communicator 4.04 and Internet Explorer 4.

Future Enhancements

The ability to have multiple parts of text with different URLs and font styles

©Copyright 1998 by George Eleftheriou