/[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 447 by dpavlin, Sun Sep 12 20:36:33 2004 UTC revision 448 by dpavlin, Wed Sep 15 16:53:51 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]+'">&#8258;</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>

Legend:
Removed from v.447  
changed lines
  Added in v.448

  ViewVC Help
Powered by ViewVC 1.1.26