📄 parameters.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>RubikPlayer · Applet Parameters</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link href="documentation/stylesheet.css" rel="stylesheet" type="text/css"><script language="JavaScript" type="text/JavaScript"><!--function MM_callJS(jsStr) { //v2.0 return eval(jsStr)}//--></script></head><body><div id="Spalte1" style="position:absolute; left:10px; top:10px; width:460px; height:60px; z-index:3"> <div id="Spalte5" style="position:absolute; left:480px; top:80px; width:220px; height:120px; z-index:7"> <h3 class="dividerparagraph">Documentation</h3> <p class="semiparagraph"><strong><a href="readme.html"><img src="../images/layout/link.gif" width="9" height="10" border="0" align="baseline"></a></strong><a href="readme.html">Readme</a></p> <p><strong><a href="changes.html"><img src="../images/layout/link.gif" width="9" height="10" border="0" align="baseline"></a></strong><a href="changes.html">Changes</a></p> <p><strong><a href="license.html"><img src="../images/layout/link.gif" width="9" height="10" border="0" align="baseline"></a></strong><a href="license.html">License (GPL)</a></p> <p> </p> <p><strong><img src="../images/layout/link.gif" width="9" height="10" border="0" align="baseline">Applet Parameters</strong></p> <h3> </h3> </div> <h3>RubikPlayer</h3> <h1>Applet Parameters</h1></div><div id="Spalte2" style="position:absolute; left:12px; top:90px; width:460px; height:65px; z-index:4"> <p>The form below shows all parameters supported by the RubikPlayer applet. Change the values of the form and click at 'Generate HTML Code' to generate the HTML code that is required to embed the Applet in your web page.</p></div><div id="cfg" style="position:absolute; left:10px; top:240px; width:700px; height:1040px; z-index:4"> <form action="" method="post" name="cfg" id="cfg"> <p>Generated HTML code to be inserted into your HTML page: </p> <p align="center"> <textarea name="appletTag" cols="96" rows="10" id="appletTag"><applet code="RubikPlayer.class" archive="rubikplayer.jar" width="300" height="300"> <param name="scriptLanguage" value="SupersetENG"></applet></textarea> </p> <p align="center"> </p> <p align="center"> <input name="generate" type="button" id="generate" onClick="MM_callJS('generateAppletTag()')" value="Generate HTML Code"> <input name="show" type="button" id="show" onClick="MM_callJS('showApplet()')" value="Show the Applet"> <input name="generateAndShow" type="button" id="generateAndShow" onClick="MM_callJS('generateAndShow()')" value="Generate and Show"><input type="reset" name="reset" value="Reset"> </p> <p> </p> <p>Applet Parameters:</p> <table border="0" cellpadding="1" cellspacing="0" bgcolor="#999999"> <tr> <td><TABLE width="698" BORDER="0" cellpadding="1" CELLSPACING="0" bgcolor="#FFFFFF"> <TR ALIGN="left" VALIGN="top"> <TD width="229"> </TD> <TD width="400" class="info"> </TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD><div align="right"><span class="info"><strong>code<img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></div></TD> <TD class="info"><p> <input name="textfield" type="text" value="RubikPlayer.class" size="60" disabled="disabled"> <br> <span class="secondaryInfo">The name of the applet class.<br> <strong>Required value:</strong> "RubikPlayer.class".</span></p> <p> </p></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><span class="info">archive<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><p> <input name="textfield2" type="text" value="rubikplayer.jar" size="30" disabled="disabled"> </p> <p class="secondaryInfo">The name of the file that holds the applet class.<br> <strong>Required value:</strong> "rubikplayer.jar"</p> <p class="secondaryInfo"> </p></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><span class="info">width<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><p> <input name="appletWidth" type="text" id="appletWidth" value="300" size="8" maxlength="4"> </p> <p class="secondaryInfo">The width of the applet.<br> <strong>Range:</strong> 1..9999</p> <p class="secondaryInfo"> </p></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><span class="info">height<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><p> <input name="appletHeight" type="text" id="appletHeight" value="300" size="8" maxlength="4"> <br> <span class="secondaryInfo">The height of the applet.<br> <strong>Range:</strong> 1..9999</span></p> </TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info" colspan="2"><hr size="1"></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><span class="info">scriptLanguage<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><select name="scriptLanguage" id="scriptLanguage"> <option value="BandelowENG">BandelowENG <option value="HarrisENG">HarrisENG <option value="RandelshoferGER">RandelshoferGER <option value="ScriptFRA">ScriptFRA <option value="SupersetENG" selected>SupersetENG <option value="TouchardDeledicqFRA">TouchardDeledicqFRA <option value="Castella">Castella </select> <P class="secondaryInfo">The language (notation) of the script. (see <A HREF="readme.html#Notations">here</A> for more details):<BR> Choice of: "BandelowENG", "HarrisENG", "RandelshoferGER", "ScriptFRA", "SupersetENG", "TouchardDeledicqFRA", "Castella".<BR> <strong>Default value: </strong>"SupersetENG"</P> <P class="secondaryInfo"> </P></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><a name="paramscripttype"></a><span class="info">scriptType<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><select name="scriptType" id="scriptType"> <option value="Generator" selected>Generator</option> <option value="Solver">Solver</option> </select> <p class="info"><span class="secondaryInfo">The type of the script.<br> A "Generator" transforms the cube from a source state to a target state. The source state of a generator is the initial state of the cube.<br> A "Solver" also transforms the cube from a source state to a target state. The source state is the initial state of the cube transformed by the inverse of the script.<br> <strong>Choice of:</strong> "Generator", "Solver"<br> <strong>Default value:</strong> "Generator"</span> <br> <strong>Tip:</strong> Use generators to describe pretty patterns, use solvers to describe maneuvers. </p> <p class="info"> </p></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><A NAME="paramscript"></A><span class="info">script<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><textarea name="script" cols="58" rows="3" wrap="VIRTUAL" id="script"></textarea> <P align="right" class="secondaryInfo"> <input name="Button" type="button" onClick="MM_callJS('insertRandomScript(\"script\")')" value="Insert Random Script"></P> <P class="secondaryInfo">The script.<BR> Default value: no script. </P> <P class="secondaryInfo"> </P></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><A NAME="paramscriptprogress"></A>scriptProgress<span class="info"><strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><input name="scriptProgress" type="text" id="scriptProgress" value="-1" size="8"> <P class="secondaryInfo">Position of the progress bar. Positive values are offsets from the start of the script, negative values are offsets from the end of the script.<BR> <strong>Range:</strong> -9999..9999<BR> <strong>Default value: </strong>-1 for generators, 0 for solvers, 0 when <a href="#paramAutoPlay">autoPlay</a> is set to true.</P> <P class="secondaryInfo"> </P></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><a name="paraminitscript"></a><span class="info">initScript<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><p> <textarea name="initScript" cols="58" rows="3" wrap="VIRTUAL" id="initScript"></textarea> </p> <p align="right"> <input name="Button2" type="button" onClick="MM_callJS('insertRandomScript(\"initScript\")')" value="Insert Random Script"> </p> <p class="secondaryInfo">An initScript is used to set up the initial position of the cube.<br> If you don't specify an initScript, the solved state of the cube is used.</p> <p class="secondaryInfo"><strong>Default value:</strong> no script</p> <p class="secondaryInfo"> </p></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><A NAME="paramdisplaylines"></A><span class="info">displayLines<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><span class="secondaryInfo"> <input name="displayLines" type="text" id="displayLines" value="1" size="8"> </span> <P class="secondaryInfo">Number of lines of the script to display.<BR> Set to 0 to switch the display off.<BR> <strong>Default value:</strong> 1<br> </P></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><A NAME="paramAutoPlay" id="paramAutoPlay"></A><span class="info">autoPlay<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div> </TD> <TD class="info"><span class="secondaryInfo"> <select name="autoPlay" id="autoPlay"> <option value="false" selected>false</option> <option value="true">true</option> </select> </span> <P class="secondaryInfo">Turns automatic playback of the script on or off.<BR> <strong>Values:</strong> true, false<BR> <strong>Default value:</strong> false</P> </TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD colspan="2" class="info"><div align="right"> <hr size="1"> </div></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><A NAME="paramcolortable"></A><span class="info">colorTable<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><textarea name="colorTable" cols="58" rows="3" wrap="VIRTUAL" id="colorTable">0x003373,0xff4600,0xf8f8f8,0x00732f,0x8c000f,0xffd200</textarea> <P class="secondaryInfo">RGB color look up table. The colors in this table can be referenced by the faces and the stickers attribute. The table may contain up to 54 different values.<BR> The default values represent the colors of the Arxon cube: blue, orange, white, green, red and yellow.<BR> This results into the following color scheme:</P> <TABLE BORDER="0"> <TR> <TD> </TD> <TD BGCOLOR="#ffd200" class="info"> 5 </TD> <TD> </TD> <TD> </TD> </TR> <TR> <TD BGCOLOR="#8c000f" class="info"> <FONT COLOR="#FFFFFF">4 </FONT></TD> <TD BGCOLOR="#003373" class="info"><FONT COLOR="#FFFFFF"> 0 </FONT></TD> <TD BGCOLOR="#ff4600" class="info"> <FONT COLOR="#FFFFFF">1</FONT> </TD> <TD BGCOLOR="#00732f" class="info"> <FONT COLOR="#FFFFFF">3</FONT> </TD> </TR> <TR> <TD> </TD> <TD BGCOLOR="#f8f8f8" class="info"> 2 </TD> <TD> </TD> <TD> </TD> </TR> </TABLE> <P class="secondaryInfo"><strong>Range:</strong> 0x000000..0xffffff<BR> <strong>Default value:</strong> 0x003373,0xff4600,0xf8f8f8,0x00732f,0x8c000f,0xffd200</P> <P class="info"><strong>Tip:</strong> For ease of use, you can assign names to the colors.<br> Instead of writing 0x003373 you can write blue=0x003373 or b=0x003373.</P> <P class="info"> </P></TD> </TR> <TR ALIGN="left" VALIGN="top"> <TD class="info"><div align="right"><strong><A NAME="paramfaces"></A><span class="info">faces<strong><img src="documentation/images/spacer.gif" width="10" height="15"></strong></span></strong></div></TD> <TD class="info"><input name="faces" type="text" id="faces" value="0,1,2,3,4,5" size="30"> <P class="secondaryInfo">Maps colors from the color table to the faces of the cube.<BR> 6 integer values: front, right, down, back, left, up.<BR> The values of the faces parameter are overriden by the stickers parameter if present.<BR> <strong>Range:</strong> 0..54<BR> <strong>Default value:</strong> 0,1,2,3,4,5</P> <P class="secondaryInfo">The face values are organized like this:</P> <TABLE BORDER="0"> <TR> <TD> </TD> <TD BGCOLOR="#CCCCCC" class="info"> 5 </TD> <TD> </TD> <TD> </TD> </TR> <TR BGCOLOR="#CCCCCC"> <TD class="info"> 4 </TD> <TD class="info"> 0 </TD> <TD class="info"> 1 </TD> <TD class="info"> 3 </TD> </TR> <TR> <TD> </TD> <TD BGCOLOR="#CCCCCC" class="info"> 2 </TD> <TD> </TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -