Click here to return to Newclient Main Help Page


Back


Last Updated: March 14, 1998

Image Tape

  1. Example
  2. Installation
  3. Documentation and Source Code


Example of Image Tape

  • [You will need a Java capable browser to view this applet]


Installation

To install the Java Image Tape onto your Virtual Server, you will need to telnet or SSH to your Virtual Server and then do the following steps:

  1. cd   (this will put you in your home directory)
  2. tar -xvf /usr/local/contrib/ImageTape.tar

The HTML source below represents the applet definition for the Image Tape.

<applet codebase="/Java/ImageTape" code="ImageTape.class" width=400 height=22> 
<param name=speed value="8"> 
<param name=img value="images"> 
<param name=nimgs value="24"> </applet> 

You will need to adjust the "width", "height", "img", and "nimgs" tags as appropriate for your specific situation. It would be wise to set the height of the applet equal to the height of your images.

If you are unfamiliar with JAVA, or would like to learn more about JAVA: Programming for the Internet, the following URL is an excellent resource:

http://java.sun.com


Documentation and Source Code

Documentation

More information about the Image Tape can be obtained at the following URL:
(The URL below was known to be valid as of March 14, 1998)

http://java.sun.com/applets/applets/ScrollingImages/example1.html

Due to the fact that the above URL does not have much in terms of documentation, a brief usage summary is given here.

The Java definition for the ImageTape should look something like this:

<applet codebase="/Java/ImageTape" code="ImageTape.class" width=400 height=22> 
<param name=speed value="8"> 
<param name=img value="images"> 
<param name=nimgs value="24"> </applet> 

The "img" variable specifies the image directory. In this case it is a subdirectory called "images". Set "nimgs" to be the number of images that you have. These images must be named in the format "T%d.gif" or "T%d.jpg", i.e. T1.gif, T2.gif, T3.gif, etc.  

Source Code

The source code for the Image Tape was written by the Java developers.
 


top


bd