web |
Java: CountdownJava applets are actually files external to your web page. You run the applet from your page, and configure the parameters for the application in the HTML code of your page, but the actual bits that do the work are external to your web page. In this case, there's a file called icltimer.class that is the Java applet. It's in the review directory (it's best to keep the applet in the same directory as the web page). We're going to insert this applet at the top of the Milton Review home page. Open up the Milton Review page in Notepad, and go to the bottom of the HTML code. We're going to insert this applet beneath the Books Received and Books Reviewed links. Next, take a look at countdown.txt, which contains the parameters we need to paste into the Milton Review page to make the applet work. Copy these parameters to your clipboard and paste them into the Milton Review HTML page just beneath the links for Books Received and Books Reviewed. Once you've pasted the code, take a look at what's there. The first line tells the web browser where to find the java applet and how big the applet should be. Next you'll see a number of parameters. Here's what they do:
Save the HTML page and reload the Milton Review page in your browser. The applet should be counting down just beneath the two links. As you can tell, the parameters here are not intuitive. I suspect that
the kind soul who built the applet understood what he or she was doing
and that was good enough. I'm sure if you bought a Java applet it would
be easier to configure, but trial and error can work. |