Getting Started             

Before starting to set up DateTrack on your page, please be sure to read the very short page about DateTrack & Java Security.

  1. Place the program files (DateTrack.jar, DateTrack.cab, ryDateTrack.class and ryPipe.class) in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute to the applet tag given below).

  2. Add the following applet tag to your HTML document in the position you want DateTrack to appear:
    <APPLET CODE="ryDateTrack.class" ARCHIVE="DateTrack.jar" WIDTH=??? HEIGHT=???>
    <param name=CabBase value="DateTrack.cab">
    <param name=Copyright value="DateTrack (c) 1997 Cool Focus [www.coolfocus.com]">
    <param name=Name value="UniqueName">
    <param name=Satellites value="no">
    <param name=URL value="../Updates.htm">
    <param name=BgColor value="FFFFFF">
    <param name=TextColor value="000000">
    <param name=FocusTextColor value="0000C0">
    <param name=PressTextColor value="C00000">
    <param name=Font value="Dialog,plain,12">
    <param name=Delimiter value="|">
    <param name=Reactive value="yes">
    <param name=MakeNonLinking value="no">
    <param name=UseHandCursor value="no">
    <param name=DisplayText value="The Cool Focus 'What's New?' Page">
    <param name=ReactText value="This page, |su, |fs, last updated: |ld GMT">
    <param name=Target value="_top">
    </APPLET>

  3. Replace the two sets of question marks with the desired width and height of the applet. If you want DateTrack to react to the mouse, you'll get the cleanest results by reducing the applet height as much as possible. DateTrack is coded to make the same unnecessary for the applet's width: the applet can be as wide as you like and only the text-width will be reactive. Remember to allow for months with longer names (such as 'September') if you choose to minimize the applet width but want to display modification dates. If you use both DisplayText and ReactText parameters, remember to check that your applet width is sufficient to display the longer of the two text-strings.

    When setting applet dimensions, it's a good idea to temporarily set the BgColor parameter to something different from your page background's color.

  4. Remove the URL parameter if you want the applet to report the modication date of the current HTML document (the web page that contains the DateTrack applet), or edit it to point to the absolute or relative URL of a different file.

  5. Edit the contents of the other parameters (or optionally just remove parameters whose default values you want to use) according to the details in The Parameters Explained.