Changes and updates include:
Update - September 1996
To be placed on the updates list, use this subscription form.
TickerTape is Shareware and your fee covers the cost of me helping you (by e-mail) to install it!. How much is it? Well, I figure $5 U.S. (or more) will do it. More details can be found at the start of the next section. This should help cover my coffee budget...
To download the 3 class files either download the raw class files or a compressed archive file. Once you have the 3 class files on your site, make sure they are the same size as specified here:
The raw files:
First some examples. The first TickerTape working above makes use of most of the defulat settings and specifies its text through the text parameter. It has an HTML applet tag that looks like:
The second TickerTape above makes use of more of the parameters and reads its text from a file on the server. It has an HTML applet tag that looks like:
Text can either be entered at the parameter line or via a file reference. If both are specified the TEXT parameter takes precidence (as in the following example). The file specifies a file that is relative to the document in which the applet is displayed.
Values accepted are the prime colours that the Java language uses: black, blue, cyan, darkgray, gray, green, lightgray, magenta, orange, pink, red, white, and yellow, or you can specify an absolute hex tripplet (Red Green Blue) as you would in HTML coding. You can currently set the colours of the background, the frame and the text on and off colours as follows (in the same order and with default values shown):
You have control over the height and width of the display as well as the thickness of the frame and size and spacing of the "LEDs" (the units that make up each dot in a character).
The applet width is flexible, however it is up to you to set an appropriate height value. The value for height should be more than: 11 x (the LED size + the LED spacing) + 2 x the frame thickness + 2. So for the default frame thickness of 1 and LED size of 2 and spacing of 1 a minimum height value would be 11 x 3 + 2 + 2 = 37.
height and width are the parameter you specify in the <applet> tag. You can set the frame thickness and LED appearance as follows (default values shown):
The ledtype corresponds to the shape, either square or circular. Square LEDs have ledtype of 0 and circular are ledtype 1. ledspacing is the pixel distance between LEDs - typically a value of 1 or 2 presents a good appearance.
There are two ways you can control the speed. One defines the scrolling time interval in millseconds, the other defines how far each scroll interval moves the text (default values shown):
There are now three different ISO fonts/scripts that you can use with the TickerTape: regular latin, greek and hewbrew. To chose one, specify either 1, 7 or 8 respectively. The text that your provide to TickerTape must, of course, be compatible with the selected encoding. Each character should be an 8 bit value. The values from 0 - 127 implement the standard ASCII characters and values from 128 - 255 are for the specific ISO encoding.
The TickerTape scrolls from left to right when using the Hebrew script.
There are three corresponding class files: ISO8859_1.class, ISO8859_7.class, and ISO8859_8.class. TickerTape is designed so that only the one you need is loaded.
You can specify a URL that the reader is taken to when they click on the TickerTape. Either specify it as a relative URL (name="somefile.html") or as an absolute URL (name="http://www.conveyor.com/space.html") as follows:
If you still have a problem downloading the 3 class files to their correct size try downloading them by anonymous FTP to conveyor.com from the directory /pub/java/classes and make sure to download them as "binary".
If you still have trouble then contact me through this form describing the problem and provide me the URL of your test document so that I can check it from here. Tell me also what you see in the Java Console. I generally respond within the same day - if not the same hour.
Questions or comments through this form please.
Installing TickerTape
TickerTape is now shareware. There are 2 things that this implies if you use TickerTape:
To install TickerTape you need to do 3 things:
John Criswick
153 St-Andrew St.
Ottawa, Ontario
Canada K1N 5G3
(and let me know by e-mail that you have sent it)<font size=-1>TickerTape courtesy of
<a href="http://www.conveyor.com/conveyor-java.html">John Criswick</a></font>
Compressed archives of the 3 class files (apologies to Windows users, but I've had enough of 8.3 character type file names and the problems associated with that and Java):
Place the class files in the same directory as the HTML file you wish the applet to appear in.
Using TickerTape
This section describes the parameters that allow you to control the behaviour of the TickerTape. There is also a section on problems that you may encounter in installing and running the applet. <applet code="conveyor.class" width=320 height=41 align=absmiddle>
<param name=text value="The Quick Bröwn Fox Jumps Over the
lazy dog - 0123456789 ! ? ¿ @ # % ¼ £ ......">
<font size=-1>[You will need a Java capable browser to view this applet]</font>
</applet>
Note that any regular HTML between the applet tags only appears in browsers that do not support Java, so this is your place to put alternative graphics or text. <applet code="conveyor.class" width=440 height=59 align=absmiddle>
<param name=speed value=75>
<param name=ledcolour value=yellow>
<param name=backcolour value=black>
<param name=framecolour value=darkgray>
<param name=ledoffcolour value=darkgray>
<param name=framethick value=2>
<param name=ledsize value=4>
<param name=ledtype value=1>
<param name=href value="http://www.spacejobs.com/">
<param name=file value="java/ticker/blurb.txt">
<font size=-1>[You will need a Java capable browser to view this applet]</font>
</applet>
The following subsections detail each of the parameters used to define the TickerTape behaviour:
<param name=text value="The Quick Bröwn Fox Jumps Over the lazy
dog - 0123456789 ! ? ¿ @ # % ¼ £ ......">
<param name=file value="java/ticker/blurb.txt">
Note that the text can include HTML entity names like ö. In fact it implements nearly all entity names as listed in this reference on ISO-8859.<param name=backcolour value="black">
<param name=framecolour value="green">
<param name=ledcolour value=#ffcd88>
<param name=ledoffcolour value="darkgray">
<param name=framethick value=1>
<param name=ledsize value=1>
<param name=ledtype value=0>
<param name=ledspacing value=1>
<param name=speed value=100>
<param name=scrollfactor value=2>
<param name=isoencoding value=1>
<param name=href value="the-url.html">
In Case it Didn't Work
ClassFormatError or Applet NotFoundError - some of the most frequent problems after downloading Java code. If you have one of these problems, verify that you indeed copied the class files properly (compare the sizes). Next verify with your server administrator that their server transmits Java .class files as application/octet-stream MIME type. Many server administrators still haven't added a type specification for .class files.Toll-free Support Line
More freeware and shareware Java applets here.