Copy the following code with Notepad, insert codebase data, then save with a name of your choice, but with an extension of .html [not .txt].
<html>
<head>
<title>Slide15 Puzzle HTML example using codebase</title>
</head>
<body>
<center>
<table border=0 width=400 height=300 cellpadding=0 cellspacing=0>
<tr>
<td>
<applet code=puzz.class width=129 height=128 codebase=http://www.where-files-are.com/ name="game">
<!-- REMOVE CODEBASE IF YOU WANT TO USE APPLET OFF-LINE -->
<!-- CAREFULLY RETAIN name="game"> AT END OF CODEBASE LINE -->
</applet>
<a href="JavaScript:document.game.scramble();"><U>Scramble</U></a> <a href="JavaScript:document.game.solve();"><U>Solve</U></a><br>Drag or click <a href="JavaScript:document.game.toggle();"><U>Toggle</U></a>
</td>
</tr>
</table>
</center>
</body>
</html>
What can be modified?
The only modification you can make to the puzzle is the controls, which could be made into roll-over buttons if you didn't like these text-links. Changing the size of the applet will produce a gray background but will not change the actual puzzle size.
What is codebase?
Codebase tells the browser where the applet files are located, but if all files (including the HTML file, .class files, and images) are all together in one folder on your own server or local system, you should not specify a CODEBASE. Likewise, if you are going to use the applet off-line, do not use a CODEBASE.
If you are using something like BLOGGER, then yes, you will definitely need to use a codebase address (since applets and images can't be directly stored on the .blogspot server).
Replace ...where-files-are.com/ with address of where files are stored.
BE EXTRA CAREFUL NOT TO ACCIDENTLY DELETE "name="game">".