#javascript-generator-array-create.htm / htm
<head> <style> #display { position: relative; left: 10px; width: 450px; border: 1px solid black; padding: 10px; } </style> <script type="text/javascript" src="javascript-generator-array-script.js"></script> </head> <body> <form name="f1"> <table border="0"> <tr> <td>Array Name:</td> <td colspan="6"> <input type="text" name="t1" value="myArray"> </td> </tr><tr> <td> <span id="sp">Indexed Array Length:</span> </td> <td colspan="6"> <input type="text" name="t2" value="5" size="3" maxlength="3"> </td> </tr><tr> <td>Index Value:</td> <td colspan="6"> <input type="text" name="t3" value="image" size="10"> <input type="text" name="t3a" value="_tn" size="10"> Ext <input type="text" name="t4" value=".jpg" size="4" maxlength="4"> </td> </tr><tr> <td>Index Style:</td> <td align="right">1 <input type="radio" name="r1" value="0" checked onclick="init()"> </td> <td> </td> <td align="right">2 <input type="radio" name="r1" value="1" onclick="init()"> </td> <td> </td> <td align="right">3 <input type="radio" name="r1" value="2" onclick="init()"> </td> <td width="80"> </td> </tr><tr> <td>Add Numerical Values:</td> <td align="right">Yes <input type="radio" name="r2" value="0" checked onclick="chk()"> </td> <td align="center"> </td> <td align="right">No <input type="radio" name="r2" value="1" onclick="chk()"> </td> <td> </td> <td colspan="2"> </td> </tr><tr align="center"> <td> <input type="button" name="b1" value="Numerical Enter" onclick="init()"> </td> <td colspan="6"> <input type="button" name="cpy" value="Copy Array" onclick="Copy(display)" disabled> <input type="button" name="b2" value="Manual Enter" onclick="init()" disabled> <input type="button" name="b3" value="Restart" onclick="oreset()" disabled> </td> </tr> </table> </form> <div id="display"></div> </body>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.