/[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 10 - (show annotations)
Fri Sep 10 12:16:21 2004 UTC (19 years, 7 months ago) by dpavlin
File MIME type: text/html
File size: 1267 byte(s)
new object-oriented implementation contributed by Matko Adjelinic,
lot more debug output (which goes to debug div), configurable index
name which is argument to constructor

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="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 }
15
16 </script>
17 <!--
18 <link rel="stylesheet" href="style.css" type="text/css">
19 -->
20 <title>Filter entries</title>
21 </head>
22
23 <body onload="myfilter(); ">
24
25 <div style="width:50%; flow: right" id="debug">
26 </div>
27
28 <form method="get" onSubmit="return false;">
29 <div class="filters">
30 <input autocomplete="off" class="filters" id="textfilter" title="enter a regular expression to filter by" onKeyUp="document.myfilter.filter(document,this.value);">
31 <!-- 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 <!--
38 Enter few letters to filter by them
39 -->
40 </div>
41
42 <div id="results">
43 </div>
44
45 </body>
46

  ViewVC Help
Powered by ViewVC 1.1.26