/[webpac]/trunk2/out/thesaurus.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/thesaurus.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 452 - (hide annotations)
Wed Sep 15 21:16:22 2004 UTC (19 years, 6 months ago) by dpavlin
File MIME type: text/html
File size: 2019 byte(s)
debug on/off

1 dpavlin 432 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2     <html>
3     <head>
4     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
5     <script type="text/javascript" src="bfilter/bfilter.js"></script>
6     <script type="text/javascript" src="bfilter/DescriptorHR.js"></script>
7     <script type="text/javascript">
8    
9     function myfilter() {
10     // document.getElementById('textfilter').focus();
11     // document.getElementById('textfilter').caretPos=1;
12     // document.getElementById('textfilter').select();
13     document.myfilter = new BFilter(headlines);
14 dpavlin 448
15     document.myfilter.result = function (arr) {
16     return '<li><a href="thes/'+arr[1]+'.html">'+arr[0]+'</a>'+
17 dpavlin 452 '&nbsp;<a href="browse.html?o='+arr[1]+'">&curren;</a>' +
18 dpavlin 448 '</li>';
19     }
20    
21     // this function is called when updating innerHTML with results
22     document.myfilter.display = function (html) {
23     return '<ul>'+html+'</ul>';
24     }
25 dpavlin 432 }
26    
27     </script>
28 dpavlin 452 <script type="text/javascript" src="bfilter/hide.js"></script>
29 dpavlin 432 <!--
30     <link rel="stylesheet" href="style.css" type="text/css">
31     -->
32     <title>Thesaurus</title>
33     </head>
34    
35     <body onload="myfilter(); ">
36    
37 dpavlin 452 <div style="float: right; width: 10em; text-align: center; margin: 0.5m">
38     <a href="#" onClick="toggle_display('debug');">debug</a>
39    
40     <div style="text-align: left; border: 1px dashed #c0c0c0; display: none;" id="debug">
41 dpavlin 432 </div>
42    
43 dpavlin 452 </div>
44    
45 dpavlin 432 <span style="background: #e0e0e0;">
46     <a href="search.html">search</a> |
47     <a href="thesaurus.html"><b>thesarus</b></a> |
48     <a href="browse.html">browse</a>
49     </span>
50    
51     <form method="get" onSubmit="return false;">
52     <div class="filters">
53     <input autocomplete="off" class="filters" id="textfilter" title="enter a regular expression to filter by" onKeyUp="document.myfilter.filter(document,this.value);">
54     <!-- this button is strictly for looks -->
55     <input class="filters" value="filter" type="button">
56     </div>
57     </form>
58    
59     <div id="status" style="font-size: 80%; color: gray;">
60     <!--
61     Enter few letters to filter by them
62     -->
63     </div>
64    
65     <div id="results">
66     </div>
67    
68     </body>
69    

  ViewVC Help
Powered by ViewVC 1.1.26