ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahq_5.4.0.1/rzahqadvisor11.htm

125 lines
4.5 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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--Recommend system drive size</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 the disk space you need for applications and data.";
var errMess1 = "Enter the amout of installed memory.";
var errMess2 = "The installed memory must contain only numbers. If necessary, round up to the nearest MB.";
var errMess4 = "The disk space must contain only numbers. If necessary, round up to the nearest MB.";
//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[14])) {
document.form1.install.value = parent.hidden.v1[14];
}
if (!isEmpty(parent.hidden.v1[15])) {
document.form1.dspace.value = parent.hidden.v1[15];
}
}
function onNext() {
if (isEmpty(document.form1.install.value)) {
alert(errMess1);
return;
}
if (isEmpty(document.form1.dspace.value)) {
alert(errMess);
return;
}
//Check if installed memory name is numeric
if (isInteger(document.form1.install.value) == false) {
alert(errMess2);
return;
} else {
if (isInteger(document.form1.dspace.value) == false) {
alert(errMess4);
return;
} else {
//Save data
if (!isEmpty(parent.hidden.v1[14]) || !isEmpty(parent.hidden.v1[15])) {
if (parent.hidden.v1[14] != document.form1.install.value || parent.hidden.v1[15] != document.form1.dspace.value) { parent.hidden.v1[16] = ""; }
}
parent.hidden.v1[14] = document.form1.install.value;
parent.hidden.v1[15] = document.form1.dspace.value;
//Next page
window.location = "rzahqadvisor12.htm";
}
}
}
function onBack() {
window.location = "rzahqadvisor10.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>Recommend system drive size</strong>
<p>Enter the amount of installed memory and the necessary disk space for applications and data. The advisor will recommend a
minimum-sized system drive size for you based on these two values.</p>
<form name="form1">
<blockquote>
<table>
<tr>
<td><label for="install">Installed memory:</label></td>
<td><input type="text" name="install" id="install" size="8" maxlength="5"> MB</td></tr>
<tr>
<td><label for="dspace">Disk space for applications and data:</label></td>
<td><input type="text" name="dspace" id="dspace" size="8" maxlength="7"> MB</td>
</tr>
</table>
</blockquote>
<br><br><br>
<center>
<input type="button" value="&lt;&lt; Back" onClick="onBack()">
<input type="button" value="Next &gt;&gt;" onClick="onNext()">
</center>
</form>
</body>
</html>