cSetup switches to "other" preset when modified
This commit is contained in:
@@ -74,7 +74,11 @@ hspace="0" vspace="0" fontsize="large" noscroll>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function setOther() {
|
||||||
|
count = document.connect.preset.length;
|
||||||
|
document.connect.preset.selectedIndex = count - 1;
|
||||||
|
updateService();
|
||||||
|
}
|
||||||
function updateService() {
|
function updateService() {
|
||||||
srv = document.connect.preset[document.connect.preset.selectedIndex].value;
|
srv = document.connect.preset[document.connect.preset.selectedIndex].value;
|
||||||
switch (srv) {
|
switch (srv) {
|
||||||
@@ -108,6 +112,8 @@ hspace="0" vspace="0" fontsize="large" noscroll>
|
|||||||
alert("Coming soon!")
|
alert("Coming soon!")
|
||||||
document.connect.preset.selectedIndex = document.connect.preset.selectedIndex - 1;
|
document.connect.preset.selectedIndex = document.connect.preset.selectedIndex - 1;
|
||||||
updateService();
|
updateService();
|
||||||
|
case "other":
|
||||||
|
document.message.msg.value="Your custom service."
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -126,6 +132,7 @@ hspace="0" vspace="0" fontsize="large" noscroll>
|
|||||||
<option value="local">Your local minisrv</option>
|
<option value="local">Your local minisrv</option>
|
||||||
<option value="wni-prod">WebTV Production Default</option>
|
<option value="wni-prod">WebTV Production Default</option>
|
||||||
<option value="wni-int">WebTV Internal Default</option>
|
<option value="wni-int">WebTV Internal Default</option>
|
||||||
|
<option value="other">Other</option>
|
||||||
</select>
|
</select>
|
||||||
<tr><td absheight=6>
|
<tr><td absheight=6>
|
||||||
</table>
|
</table>
|
||||||
@@ -149,7 +156,7 @@ hspace="0" vspace="0" fontsize="large" noscroll>
|
|||||||
Custom:
|
Custom:
|
||||||
<td>
|
<td>
|
||||||
Address:
|
Address:
|
||||||
<input size=16 ASCIIONLY name=machine bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="74.76.120.18">
|
<input size=16 ASCIIONLY name=machine bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="74.76.120.18" onkeypress="setOther()">
|
||||||
Port:
|
Port:
|
||||||
<input size=5 ASCIIONLY NUMBERS name=port bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="1615">
|
<input size=5 ASCIIONLY NUMBERS name=port bgcolor=#444444 text=#cbcbcb cursor=#cc9933 value="1615">
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user