250 lines
8.6 KiB
HTML
250 lines
8.6 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||
|
<TITLE>DDS keyword finder</TITLE>
|
||
|
<SCRIPT LANGUAGE="Javascript" type="text/javascript">
|
||
|
|
||
|
var cookieMess = "This finder uses a cookie to function. Ensure that you have are using a browser that supports cookies and that cookies are enabled.";
|
||
|
var errMess1= "Type a keyword you want to find and click Go.";
|
||
|
|
||
|
//START NON-TRANSLATABLE
|
||
|
var noVal = "zzzz";
|
||
|
var cookieName = "ibmdds";
|
||
|
|
||
|
function getCookieData(label) {
|
||
|
var labelLen = label.length;
|
||
|
var cLen = document.cookie.length;
|
||
|
var i=0;
|
||
|
var cEnd;
|
||
|
while (i < cLen) {
|
||
|
var j = i + labelLen;
|
||
|
if (document.cookie.substring(i,j) == label) {
|
||
|
cEnd = document.cookie.indexOf(";",j);
|
||
|
if (cEnd == -1) {
|
||
|
cEnd = document.cookie.length;
|
||
|
}
|
||
|
return unescape(document.cookie.substring(j+1,cEnd));
|
||
|
}
|
||
|
i++
|
||
|
}
|
||
|
//if they reach this point, no cookie data was found
|
||
|
return(noVal);
|
||
|
}
|
||
|
|
||
|
function storeCookieData(storeValue) {
|
||
|
re = /\s*/;
|
||
|
var newStoreValue = "";
|
||
|
a = getCookieData(cookieName);
|
||
|
if (a != storeValue) {
|
||
|
s2 = storeValue.split(re);
|
||
|
for (var i=0; i < s2.length; i++) {
|
||
|
newStoreValue = newStoreValue + s2[i];
|
||
|
}
|
||
|
storeValue = newStoreValue;
|
||
|
}
|
||
|
var exp = new Date();
|
||
|
var oneYearFromNow = exp.getTime() + (365 * 24 * 60 * 60 * 1000);
|
||
|
exp.setTime(oneYearFromNow);
|
||
|
document.cookie = cookieName + "=" + escape(storeValue) + ";expires=" + exp.toGMTString();
|
||
|
}
|
||
|
|
||
|
function loadHidden() {
|
||
|
//loadCookieData
|
||
|
re = /\s*/;
|
||
|
a = getCookieData(cookieName);
|
||
|
if (a != noVal) { //cookie and data exist
|
||
|
a2 = a.split(re);
|
||
|
switch (parseInt(a2[0],10)) {
|
||
|
case 0:
|
||
|
document.ddsfinderall.showall[0].checked = true;
|
||
|
break;
|
||
|
case 1:
|
||
|
document.ddsfinderall.showall[1].checked = true;
|
||
|
break;
|
||
|
case 4:
|
||
|
document.ddsfinderall.showall[2].checked = true;
|
||
|
break;
|
||
|
case 5:
|
||
|
document.ddsfinderall.showall[3].checked = true;
|
||
|
break;
|
||
|
case 6:
|
||
|
document.ddsfinderall.showall[4].checked = true;
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
if (parseInt(a2[1],10) == 1) {
|
||
|
document.ddsfinder.what[1].checked = true;
|
||
|
}
|
||
|
if (a2.length > 3) {
|
||
|
//grab rest of cookie data and stick in searcher field
|
||
|
a = a.replace(/\+/g," ");
|
||
|
document.ddsfinder.searcher.value = a.substring(3,a.length);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function valfind(nextPage) {
|
||
|
re = /\s*/;
|
||
|
var cookieString = "";
|
||
|
|
||
|
if (document.ddsfinder.searcher.value == "") {
|
||
|
alert(errMess1);
|
||
|
return;
|
||
|
} else {
|
||
|
|
||
|
//overwrite cookie data
|
||
|
if (document.ddsfinderall.showall[0].checked == true) cookieString += "0";
|
||
|
if (document.ddsfinderall.showall[1].checked == true) cookieString += "1";
|
||
|
if (document.ddsfinderall.showall[2].checked == true) cookieString += "4";
|
||
|
if (document.ddsfinderall.showall[3].checked == true) cookieString += "5";
|
||
|
if (document.ddsfinderall.showall[4].checked == true) cookieString += "6";
|
||
|
if (document.ddsfinder.what[1].checked == true) {
|
||
|
cookieString += "1";
|
||
|
} else {
|
||
|
cookieString += "0";
|
||
|
}
|
||
|
cookieString += "1"; //indicate search
|
||
|
if (document.ddsfinder.searcher.value != "" && document.ddsfinder.searcher.value != null) {
|
||
|
cookieString += document.ddsfinder.searcher.value;
|
||
|
//Replace any spaces with pluses (+)
|
||
|
cookieString = cookieString.replace(/\s/g,"+");
|
||
|
}
|
||
|
storeCookieData(cookieString);
|
||
|
inputA = getCookieData(cookieName); //load stored data
|
||
|
if (inputA == noVal) { //cookie did not work, probably disabled
|
||
|
alert(cookieMess);
|
||
|
//cannot continue interview without cookie
|
||
|
return;
|
||
|
}
|
||
|
window.location = nextPage;
|
||
|
}
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
|
||
|
function goAlpha() {
|
||
|
re = /\s*/;
|
||
|
var cookieString = "";
|
||
|
a = getCookieData(cookieName);
|
||
|
if (a == noVal) {
|
||
|
alert(cookieMess);
|
||
|
return;
|
||
|
}
|
||
|
//overwrite cookie data
|
||
|
if (document.ddsfinderall.showall[0].checked == true) cookieString = "0";
|
||
|
if (document.ddsfinderall.showall[1].checked == true) cookieString = "1";
|
||
|
if (document.ddsfinderall.showall[2].checked == true) cookieString = "4";
|
||
|
if (document.ddsfinderall.showall[3].checked == true) cookieString = "5";
|
||
|
if (document.ddsfinderall.showall[4].checked == true) cookieString = "6";
|
||
|
if (document.ddsfinder.what[1].checked == true) {
|
||
|
cookieString += "1";
|
||
|
} else {
|
||
|
cookieString += "0";
|
||
|
}
|
||
|
cookieString += "0"; //indicate show list
|
||
|
if (document.ddsfinder.searcher.value != "" && document.ddsfinder.searcher.value != null) {
|
||
|
cookieString += document.ddsfinder.searcher.value;
|
||
|
//Replace any spaces with pluses (+)
|
||
|
cookieString = cookieString.replace(/\s/g,"+");
|
||
|
}
|
||
|
storeCookieData(cookieString);
|
||
|
inputA = getCookieData(cookieName); //load stored data
|
||
|
if (inputA == noVal) { //cookie did not work, probably disabled
|
||
|
alert(cookieMess);
|
||
|
//cannot continue interview without cookie
|
||
|
return;
|
||
|
}
|
||
|
if (document.ddsfinderall.showall[0].checked == true) {
|
||
|
window.location = "rbafpfinder20.htm";
|
||
|
} else {
|
||
|
if (document.ddsfinderall.showall[1].checked == true) {
|
||
|
window.location = "rbafpfinder10.htm";
|
||
|
} else {
|
||
|
if (document.ddsfinderall.showall[2].checked == true) {
|
||
|
window.location = "rbafpfinder10.htm";
|
||
|
} else {
|
||
|
if (document.ddsfinderall.showall[3].checked == true) {
|
||
|
window.location = "rbafpfinder10.htm";
|
||
|
} else {
|
||
|
if (document.ddsfinderall.showall[4].checked == true) {
|
||
|
window.location = "rbafpfinder10.htm";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//END NON-TRANSLATABLE
|
||
|
|
||
|
|
||
|
</script>
|
||
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<BODY onLoad="loadHidden()">
|
||
|
<!-- Java sync-link -->
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
<H2>DDS keyword finder</H2>
|
||
|
|
||
|
<noscript><p><strong>Important:</strong> This finder uses Javascript<sup>TM</sup>, but Javascript is either not available or enabled in your browser.
|
||
|
If you do not have access to a browser that supports Javascript,
|
||
|
you can still view DDS keyword information by clicking on the table of contents for each DDS topic.</p>
|
||
|
</noscript>
|
||
|
|
||
|
<P>Use the DDS keyword finder to find information about data description specification (DDS) keywords.
|
||
|
You can find DDS keywords by name, by category, or by a complete list.</P>
|
||
|
|
||
|
<FORM NAME="ddsfinder" onSubmit="return valfind('rbafpfinder10.htm');">
|
||
|
<table cellspacing="4" cellpadding="4" border="0" WIDTH="85%" ALIGN="CENTER">
|
||
|
<TR>
|
||
|
<TD COLSPAN="2"><BR></td>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD colspan="2" class="finderbar"><font size="+1"><STRONG>Find by name</strong></font></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD colspan="2"><LABEL for="searcher">Search by keyword or description for individual keywords.</LABEL></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD width="15%"><BR><BR></TD>
|
||
|
<TD><FONT SIZE=-1>Example: Enter <EM>blank fold</EM>, <EM>BLKFOLD</EM>, or just <EM>BLK</EM>.</FONT><BR><br>
|
||
|
<INPUT TYPE="text" NAME="searcher" id="searcher"> <INPUT TYPE="button" NAME="Go" VALUE="Go" onclick="valfind('rbafpfinder10.htm')">
|
||
|
<br><br><FONT SIZE="-1">Show results containing: <input type="radio" name="what" value="all" checked="">All words <input type="radio" name="what" value="any">Any words</font>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD COLSPAN="2"><BR></TD>
|
||
|
</TR>
|
||
|
</table>
|
||
|
</FORM>
|
||
|
|
||
|
<FORM NAME="ddsfinderall">
|
||
|
<table cellspacing="4" cellpadding="4" border="0" WIDTH="85%" ALIGN="CENTER">
|
||
|
<tr>
|
||
|
<td colspan="2" class="finderbar"><font size="+1"><STRONG>Find by group</strong></font></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td><input type="radio" name="showall" value="name" checked="" id="rad1"><label for="rad1">All DDS keywords</label><br>
|
||
|
<input type="radio" name="showall" value="desc" id="rad2"><label for="rad2">DDS keywords for physical and logical files</label><br>
|
||
|
<input type="radio" name="showall" value="new" id="rad3"><label for="rad3">DDS keywords for display files</label><br>
|
||
|
<input type="radio" name="showall" value="change" id="rad4"><label for="rad4">DDS keywords for printer files</label><br>
|
||
|
<input type="radio" name="showall" value="icf" id="rad5"><label for="rad5">DDS keywords for ICF files</label></td>
|
||
|
<td valign="center"> <INPUT TYPE="button" NAME="Show all alphabetically" VALUE="Go" onclick="goAlpha()">
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<TR>
|
||
|
<TD COLSPAN="2"><BR></TD>
|
||
|
</TR>
|
||
|
</table>
|
||
|
</FORM>
|
||
|
</BODY>
|
||
|
</HTML>
|