132 lines
4.8 KiB
HTML
132 lines
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<html>
|
|
<head>
|
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<title>Windows Server installation advisor--Keyboard layout</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess = "Enter a keyboard layout, or specify to use the default keyboard.";
|
|
var errMess2 = "The keyboard layout must be 8 hexadecimals.";
|
|
|
|
//START NON-TRANSLATABLE
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function checkFrame() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzahqadvisor1.htm") {
|
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzahqadvhidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzahqadvhidden.htm";
|
|
} else { //already loaded
|
|
getData();
|
|
}
|
|
}
|
|
}
|
|
|
|
function getData() {
|
|
if (!isEmpty(parent.hidden.v1[9])) {
|
|
if (parseInt(parent.hidden.v1[9]) == 2) {
|
|
document.form1.rad[1].checked = true;
|
|
if (!isEmpty(parent.hidden.v1[10])) {
|
|
document.form1.layout.value = parent.hidden.v1[10];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
keylay = document.form1.layout.value;
|
|
//Save data
|
|
if (document.form1.rad[0].checked == true) {
|
|
parent.hidden.v1[9] = "1"; //default
|
|
parent.hidden.v1[10] = "";
|
|
} else {
|
|
if (!isEmpty(document.form1.layout.value)) {
|
|
parent.hidden.v1[9] = "2"; //use other
|
|
//Check for hex
|
|
if (isHexadecimal(document.form1.layout.value)) {
|
|
if (keylay.length < 8) {
|
|
alert(errMess2);
|
|
document.form1.layout.select();
|
|
document.form1.layout.focus();
|
|
return;
|
|
} else {
|
|
parent.hidden.v1[10] = document.form1.layout.value;
|
|
}
|
|
} else {
|
|
alert(errMess2);
|
|
document.form1.layout.select();
|
|
document.form1.layout.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
alert(errMess);
|
|
return;
|
|
}
|
|
}
|
|
//Next page
|
|
if (parseInt(parent.hidden.v1[5],10) == 1 && (parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI")) { //basic install and hardware type is 2689 or iSCSI
|
|
window.location = "rzahqadvisor10.htm";
|
|
} else {
|
|
window.location = "rzahqadvisor9.htm";
|
|
}
|
|
}
|
|
|
|
function onBack() {
|
|
window.location = "rzahqadvisor7.htm";
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
|
|
<body onLoad="checkFrame()">
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>Keyboard layout</strong>
|
|
|
|
<form name="form1">
|
|
<p>You can choose to use the default keyboard layout that is defined for the national language version
|
|
of Windows that you are installing, or you can specify a specific keyboard layout to use.
|
|
(Valid keyboard layout identifiers are listed in the txtsetup.sif file in the I386
|
|
directory of the Windows server installation source.)</p>
|
|
|
|
<p>What keyboard layout do you want to use for the Windows server console?</p>
|
|
<blockquote>
|
|
<input type="radio" name="rad" value="default" id="default" checked>
|
|
<label for="default">Use the default keyboard layout</label>
|
|
<br>
|
|
<br>
|
|
<input type="radio" name="rad" value="other" id="other">
|
|
<label for="other">Use another keyboard layout:</label>
|
|
<input type="text" name="layout" size="15" maxlength="8" id="other" onKeyPress="selectRadio(1)">
|
|
</blockquote>
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|