The R Project SVN R

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8069 leisch 1
<html>
2
<head>
3
<title>R: Search Engine</title>
4
<LINK REL=STYLESHEET TYPE="text/css" HREF="../R.css">
5
<script language="JavaScript">
6
<!--
7
function searchObject ()
8
{
9
  searchstring = location.search.substring(1);
10
 
11
  line =        '<html><head>\n';
12
  line = line + '<title>Search Results</title>\n';
13
  line = line + '<link rel=stylesheet type="text/css" href="../R.css">';
14
  line = line + '\n';
15
 
16
  line = line + '<body>\n';
17
 
18
  line = line + '<h1>Search Result</h1>\n';
19
 
20
  // call the applet code!
8194 leisch 21
  searchstring = " " + searchstring + " ";
8090 leisch 22
  line = line + document.SearchEngine.search (searchstring,false,false,true);
8069 leisch 23
 
24
  line = line + '</body>\n';
25
 
26
  document.write (line);
27
 
28
  // this makes it all work as expected, stops loading and after following
29
  // a link the search results will be displayed again.
30
  document.close ();
31
  return "";
32
}
33
 
34
//-->
35
</script>
36
 
37
 
38
</head>
39
 
40
<body onLoad='searchObject();'>
41
 
42
Searching, please wait ...
43
 
44
<applet
45
    code=SearchEngine.class
46
    name=SearchEngine
47
    width=0
48
    height=0 >
49
    <param name="INDEXFILE" value="index.txt">
50
</applet>
51
 
52
</body>
53
</html>
54