/[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

Contents of /trunk2/out/search.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 464 - (show annotations)
Thu Sep 23 17:14:33 2004 UTC (16 years, 6 months ago) by dpavlin
File MIME type: text/html
File size: 2584 byte(s)
re-write of debug function for search

1 <!DOCTYPE html PUBLIC
2 "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hr" lang="hr">
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
7 <title>HIDRA Eurovoc CD</title>
8 <script src="bfilter/hide.js" type="text/javascript"></script>
9 <script src="js/l2_unescape.js" type="text/javascript"></script>
10 <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 <link rel="stylesheet" href="style.css" type="text/css">
14 </head>
15
16 <body>
17
18 <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 <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 <div>
31
32 <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 <form id="search" onsubmit="return go(this);">
42 <script type="text/javascript">
43 document.write('<select name="index_name">');
44 select_option("index/DescriptorHR","Hrvatski",args.index_name);
45 select_option("index/DescriptorEN","Engleski",args.index_name);
46 select_option("index/DescriptorFR","Francuski",args.index_name);
47 select_option("index/DescriptorGE","Njemaèki",args.index_name);
48 select_option("index/AllThes","Sve rijeèi",args.index_name);
49 document.write('</select>');
50 </script>
51 <script type="text/javascript">
52 document.write("<input name=\"query\" value=\"");
53
54 if (args.query) {
55 var search_string = args.query.replace(/\+/gi," ");
56 document.write(search_string);
57 }
58
59 document.write("\" type=\"text\" size=\"30\"/>\n");
60 </script>
61
62 <input type="SUBMIT" value="Pretra¾i"/><br/>
63 </form>
64
65 <script type="text/javascript">
66
67 if (args.query) {
68 document.write("<div id=\"results\"><h2>Please wait...</h2></div>\n");
69 doSearch(args.index_name, args.query, printResults);
70 }
71
72 </script>
73
74 </div>
75
76 </body>
77 </html>

  ViewVC Help
Powered by ViewVC 1.1.26