Lucien
09-04-2003, 07:56 PM
With the use of a FORM (Columns="Any Number", Rows="Any Number") , I want to be able to change from the HTML screen the following PARAM values:
<PARAM NAME="hnum" VALUE="4"><PARAM NAME="vnum" VALUE="4">
These PARAMS control the number of COLUMNS ("hnum") and ROWS ("vnum") for a Slide Puzzle—[A Free JavaScript at http://javaboutique.internet.com/slidepuzzle]
They are inside the
<APPLET CODE="SlidePuzzle.class" WIDTH="550" HEIGHT="400" ALIGN="MIDDLE">
<PARAM NAME="image" VALUE="mypic.jpg">
<PARAM NAME="hnum" VALUE="4">
<PARAM NAME="vnum" VALUE="4">
<PARAM NAME="backgroundcolor" VALUE="006600">
<PARAM NAME="soundfile" VALUE="default.au">
<PARAM NAME="pieceshaveborders" VALUE="true">
<PARAM NAME="enablescrolling" VALUE="true">
<PARAM NAME="pieceshavebuttoneffect" VALUE="true">
<PARAM NAME="alwayssolvable" VALUE="true">
<PARAM NAME="scrollingtime" VALUE="300">
<PARAM NAME="solvethepuzzletext" VALUE="Solve it!">
<PARAM NAME="imagestillloadingtext" VALUE="Image is still loading...">
<PARAM NAME="userhaswontext" VALUE="You win!">
<PARAM NAME="timetext" VALUE="Time (seconds): ">
<PARAM NAME="movestext" VALUE="Move: ">
<PARAM NAME="scrambletext" VALUE="Scramble!">
The puzzle-applet: use a java browser
</APPLET>
Thanks in Advance,
Lucien
<PARAM NAME="hnum" VALUE="4"><PARAM NAME="vnum" VALUE="4">
These PARAMS control the number of COLUMNS ("hnum") and ROWS ("vnum") for a Slide Puzzle—[A Free JavaScript at http://javaboutique.internet.com/slidepuzzle]
They are inside the
<APPLET CODE="SlidePuzzle.class" WIDTH="550" HEIGHT="400" ALIGN="MIDDLE">
<PARAM NAME="image" VALUE="mypic.jpg">
<PARAM NAME="hnum" VALUE="4">
<PARAM NAME="vnum" VALUE="4">
<PARAM NAME="backgroundcolor" VALUE="006600">
<PARAM NAME="soundfile" VALUE="default.au">
<PARAM NAME="pieceshaveborders" VALUE="true">
<PARAM NAME="enablescrolling" VALUE="true">
<PARAM NAME="pieceshavebuttoneffect" VALUE="true">
<PARAM NAME="alwayssolvable" VALUE="true">
<PARAM NAME="scrollingtime" VALUE="300">
<PARAM NAME="solvethepuzzletext" VALUE="Solve it!">
<PARAM NAME="imagestillloadingtext" VALUE="Image is still loading...">
<PARAM NAME="userhaswontext" VALUE="You win!">
<PARAM NAME="timetext" VALUE="Time (seconds): ">
<PARAM NAME="movestext" VALUE="Move: ">
<PARAM NAME="scrambletext" VALUE="Scramble!">
The puzzle-applet: use a java browser
</APPLET>
Thanks in Advance,
Lucien