============================================================= Clock & AnalogClock - add a Javascript clock to your webpages ============================================================= Overview: --------- This package contains two scripts that generate sections of an HTML page which display an analog or digital clock using JavaScript. Both scripts are intended to be used via SSI. Example pages for both a digital and an analog version are provided in this directory. Usage: ------ In the body of your HTML page, simply place a SSI line like to have a clock appear at this point of the page. Possible arguments are: type - Determines the type of the clock; can be either "analog" or "digital", default is "digital". for the digital clock: font - which font face to use. default is "default" seconds - show seconds? either "yes" or "no". default is "no" for the analog clock: bgcolor - background color, default: transparent arrowcolor - color of the arrows, default: black scalecolor - color of the marks, default: none size - width/height in pixels, default: 100 bgimage - image filename to lay in background, default: none Installation: ------------- A. Copy the two cgi scripts named 'clock.cgi' and 'analogclock.cgi' to a cgi directory and give them execute permission. B. Edit the first line of each script to set the correct path to the perl interpreter. C. You may have to update line 32/33 of 'clock.cgi', look for $ANALOGCLOCKCGI = "/cgi-bin/analogclock.cgi"; $FONTDIR = "/clock/images/"; these are URLs, relative to your respective domain.