The R Project SVN R

Rev

Rev 8090 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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