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

Diff of /trunk2/out/thesaurus.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 432 by dpavlin, Sun Sep 12 20:36:33 2004 UTC revision 456 by dpavlin, Mon Sep 20 19:14:15 2004 UTC
# Line 11  function myfilter() { Line 11  function myfilter() {
11  //      document.getElementById('textfilter').caretPos=1;  //      document.getElementById('textfilter').caretPos=1;
12  //      document.getElementById('textfilter').select();  //      document.getElementById('textfilter').select();
13          document.myfilter = new BFilter(headlines);          document.myfilter = new BFilter(headlines);
14    
15            document.myfilter.result = function (arr) {
16                    return '<li><a href="thes/'+arr[1]+'.html">'+arr[0]+'</a>'+
17                    '&nbsp;<a href="browse.html?o='+arr[1]+'">&curren;</a>' +
18                    '</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  }  }
26    
27  </script>  </script>
28  <!--  <script type="text/javascript" src="bfilter/hide.js"></script>
29  <link rel="stylesheet" href="style.css" type="text/css">  <link rel="stylesheet" href="style.css" type="text/css">
 -->  
30  <title>Thesaurus</title>  <title>Thesaurus</title>
31  </head>  </head>
32    
33  <body onload="myfilter(); ">  <body onload="myfilter(); ">
34    
35  <div style="width:20%; float: right; border: 1px solid red" id="debug">  <div style="float: right; width: 10em; text-align: center; margin: 0.5m">
36    <a href="#" onClick="toggle_display('debug');">debug</a>
37    
38    <div style="text-align: left; border: 1px dashed #c0c0c0; display: none;" id="debug">
39    </div>
40    
41  </div>  </div>
42    
43  <span style="background: #e0e0e0;">  <span style="background: #e0e0e0;">

Legend:
Removed from v.432  
changed lines
  Added in v.456

  ViewVC Help
Powered by ViewVC 1.1.26