|
Image TapeExample of Image Tape
InstallationTo 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:
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: Documentation and Source CodeDocumentationMore information about the Image Tape can be obtained at the
following URL: 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 CodeThe source code for the
Image Tape was written by the Java developers.
|