-
Notifications
You must be signed in to change notification settings - Fork 0
/
anchorSearch.html
94 lines (92 loc) · 2.37 KB
/
anchorSearch.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>
D&D 3.5 Index Search
</TITLE>
<LINK rel="stylesheet" type="text/css" href="style.css">
<TABLE cellspacing=20 cellpadding=0 border=0 width=100% height=100%>
<TR>
<TD valign=top>
<SCRIPT LANGUAGE="JavaScript" src="anchorSearch.js">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="anchorList.js">
</SCRIPT>
<script language="JavaScript">
<!--
function runSearch() {
var query = location.search;
if(query.length > 1){
query = query.substring (1, query.length);
i = 1;
for(i=1; i < 30; i++){
if(query.indexOf('%20') > -1){
query = query.replace('%20',' ');
}
else {
i = 30;
}
}
document.form1.name.value = query;
if(query !=' '){
searchAnchor(document.form1, anchorlist);
return false;
}
}
}
-->
</script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-239947-2";
urchinTracker();
</script>
</HEAD>
<BODY onLoad="runSearch()">
<H2>
Index Search
</H2>
<FORM name="form1" onSubmit="searchAnchor(document.form1, anchorlist); return false">
<TABLE border="0" cellspacing="0">
<TR class="odd-row">
<TD valign="center">
<B>
Search text in Name
</B>
</TD>
<TD valign="center">
<INPUT maxLength=60 size=30 value="" name="name">
</TD>
<TD valign="center">
<SELECT name="stop">
<OPTION value="0">
Don't stop search
<OPTION value="30">
Stop search at 30 results
<OPTION value="50" selected>
Stop search at 50 results
<OPTION value="100">
Stop search at 100 results
<OPTION value="200">
Stop search at 200 results
</SELECT>
</TD>
<TD>
</TD>
</TR>
</TABLE>
<INPUT type="submit" name="search" value="Search">
<INPUT type="reset" name="clear" value="Clear form" />
</FORM>
<BR>
<BR>
<TABLE border=0 cellspacing=0>
<TBODY>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>