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

Contents of /trunk/bfilter.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42 - (show annotations)
Wed Dec 15 15:35:24 2004 UTC (14 years, 5 months ago) by dpavlin
File MIME type: text/html
File size: 1215 byte(s)
Added show_all to dump all entries (might be useful for comboboxes without
any data entered). On the other hand, it might be very, very, very slow...
You have been warned.

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

  ViewVC Help
Powered by ViewVC 1.1.26