/[webpac]/trunk2/out/search.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk2/out/search.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 469 - (hide annotations)
Fri Sep 24 18:04:48 2004 UTC (16 years, 7 months ago) by dpavlin
File MIME type: text/html
File size: 2614 byte(s)
mostly cosmetic changes: create anchor for every element in tree and
position results to ancor, filter on two letters, remove most of debugging

1 dpavlin 391 <!DOCTYPE html PUBLIC
2     "-//W3C//DTD XHTML 1.0 Strict//EN"
3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 dpavlin 446 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hr" lang="hr">
5 dpavlin 391 <head>
6     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
7     <title>HIDRA Eurovoc CD</title>
8 dpavlin 464 <script src="bfilter/hide.js" type="text/javascript"></script>
9 dpavlin 396 <script src="js/l2_unescape.js" type="text/javascript"></script>
10 dpavlin 391 <script src="js/getargs.js" type="text/javascript"></script>
11     <script src="js/search.js" type="text/javascript"></script>
12     <script src="js/usage.js" type="text/javascript"></script>
13 dpavlin 456 <link rel="stylesheet" href="style.css" type="text/css">
14 dpavlin 391 </head>
15    
16     <body>
17    
18 dpavlin 464 <div style="float: right; width: 10em; text-align: center; margin: 0.5m">
19     <a href="#" onClick="toggle_display('debug');">debug</a>
20     <div style="text-align: left; border: 1px dashed #c0c0c0; display: none;" id="debug">
21     </div>
22     </div>
23    
24 dpavlin 432 <span style="background: #e0e0e0;">
25     <a href="search.html"><b>search</b></a> |
26     <a href="thesaurus.html">thesarus</a> |
27     <a href="browse.html">browse</a>
28     </span>
29    
30 dpavlin 446 <div>
31    
32 dpavlin 391 <script type="text/javascript">
33     var args=getArgs();
34     function select_option(value,text,selected) {
35     document.write('<option value="'+value+'"');
36     if (value == selected) document.write(' selected');
37     document.write('>'+text+'</option>');
38     }
39     </script>
40    
41 dpavlin 464 <form id="search" onsubmit="return go(this);">
42 dpavlin 391 <script type="text/javascript">
43     document.write('<select name="index_name">');
44 dpavlin 469 var index = 'index/DescriptorHR';
45     if (args && args.index_name) index = args.index_name;
46     select_option("index/DescriptorHR","Hrvatski",index);
47     select_option("index/DescriptorEN","Engleski",index);
48     select_option("index/DescriptorFR","Francuski",index);
49     select_option("index/DescriptorGE","Njemaèki",index);
50     select_option("index/AllThes","Sve rijeèi",index);
51 dpavlin 391 document.write('</select>');
52     </script>
53     <script type="text/javascript">
54     document.write("<input name=\"query\" value=\"");
55    
56     if (args.query) {
57     var search_string = args.query.replace(/\+/gi," ");
58     document.write(search_string);
59     }
60    
61     document.write("\" type=\"text\" size=\"30\"/>\n");
62     </script>
63    
64     <input type="SUBMIT" value="Pretra¾i"/><br/>
65     </form>
66    
67     <script type="text/javascript">
68    
69     if (args.query) {
70     document.write("<div id=\"results\"><h2>Please wait...</h2></div>\n");
71 dpavlin 469 doSearch(index, args.query, printResults);
72 dpavlin 391 }
73    
74     </script>
75    
76 dpavlin 446 </div>
77    
78 dpavlin 391 </body>
79     </html>

  ViewVC Help
Powered by ViewVC 1.1.26