/[bfilter]/trunk/bfilter.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 /trunk/bfilter.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29 - (hide annotations)
Fri Sep 24 15:44:27 2004 UTC (19 years, 7 months ago) by dpavlin
File MIME type: text/html
File size: 1289 byte(s)
lot of small changes: remove null from display, clear results before filling
new ones, combo that works again...

1 dpavlin 1 <!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 dpavlin 10 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
5     <script type="text/javascript" src="bfilter.js"></script>
6 dpavlin 29 <script type="text/javascript" src="combo-test.js"></script>
7 dpavlin 10 <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     }
15    
16     </script>
17 dpavlin 1 <!--
18 dpavlin 10 <link rel="stylesheet" href="style.css" type="text/css">
19 dpavlin 1 -->
20 dpavlin 10 <title>Filter entries</title>
21 dpavlin 1 </head>
22    
23 dpavlin 10 <body onload="myfilter(); ">
24 dpavlin 1
25 dpavlin 12 <div style="width:20%; float: right; border: 1px solid red" id="debug">
26 dpavlin 10 </div>
27    
28 dpavlin 1 <form method="get" onSubmit="return false;">
29     <div class="filters">
30 dpavlin 10 <input autocomplete="off" class="filters" id="textfilter" title="enter a regular expression to filter by" onKeyUp="document.myfilter.filter(document,this.value);">
31 dpavlin 1 <!-- this button is strictly for looks -->
32     <input class="filters" value="filter" type="button">
33     </div>
34     </form>
35    
36     <div id="status" style="font-size: 80%; color: gray;">
37 dpavlin 10 <!--
38 dpavlin 1 Enter few letters to filter by them
39 dpavlin 10 -->
40 dpavlin 1 </div>
41    
42     <div id="results">
43     </div>
44    
45     </body>
46    

  ViewVC Help
Powered by ViewVC 1.1.26