Step 2: Create an HTML file with applet tags

I first explain how to make the small demo crossword example you've seen earlier.

NOTE: Files mentioned below should be saved as text files, not in the format of Microsoft Word or another word processor.

An HTML page you'd be using to serve your crosswords should look like this:

<HTML>
<HEAD>
<TITLE>Crossword Page</TITLE>
</HEAD>
<APPLET CODE="xwstd.class" WIDTH=160 HEIGHT=460>
<PARAM NAME="Copyright" VALUE="1996 (C) Andrei Grigoriev">
<PARAM NAME="User" VALUE="Copy not registered, will expire soon">
<PARAM NAME="Debug" VALUE="yes">
If you see this text, your browser doesn't support Java applets.<BR>
Try fetching Netcape 2.0 or above from <A HREF="http://home.netscape.com/">here</A>.<BR>
</APPLET>
</HEAD>
</HTML>

For your convenience, such file is included in the download (xwstd.html)

You can, of course, have additional text before <APPLET... and after </APPLET> tags. For instance, this could be a separate list of clues. What's important for the applet to function, is placed between those tags. Parameters you should change for your own crossword are given in RED color. I'll explain their meaning shortly.


<- Previous step | Next step ->
Copyright © 1996-2003 Andrei Grigoriev. All rights reserved.