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