Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
<script language="javascript">
var a0 = new Array("");
var a1 = new Array("This", "That", "The Other");
var a2 = new Array("Something", "Something Else");
var a3 = new Array("A bit", "A bit more", "Even more", "Loads more", "Heaps!");
// a0, a1 etc can be any names you want starting with letters
function SetOptions(the_select, the_array) {
the_select.options.length = the_array.length;
for (loop=0; loop < the_array.length; loop++) {
the_select.options[loop].text = the_array[loop];
}
}
</script>
</head>
<body>
<form name="formname">
<select name="selectbox1" value style="width:153px" onchange="SetOptions(formname.selectbox2, eval(formname.selectbox1.options[selectedIndex].value))">
<option name="" value="a0"></option>
<option name="Things" value="a1">Things</option>
<option name="Somethings" value="a2">Somethings</option>
<option name="Bits" value="a3">Bits</option>
</select>
<select name="selectbox2" value style="width:153px">
<option name="" value=""></option>
</select>
</form>
</body>
</html>
MakeUniverse($infinity,1,42);