1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 |
<HTML> |
<HTML> |
3 |
<HEAD> |
<HEAD> |
4 |
<TITLE> New Document </TITLE> |
<TITLE>Combobox example</TITLE> |
5 |
|
|
6 |
<style type="text/css"> |
<style type="text/css"> |
7 |
#textfilterholder { |
#textfilterholder { |
38 |
|
|
39 |
|
|
40 |
<script type="text/javascript" src="bfilter.js"></script> |
<script type="text/javascript" src="bfilter.js"></script> |
41 |
|
<script type="text/javascript" src="combo-test.js"></script> |
42 |
<script type="text/javascript"> |
<script type="text/javascript"> |
43 |
|
|
|
var headlines = new Object(); |
|
|
headlines['ad'] = [ |
|
|
['thes/232.html','adacta'] |
|
|
, ['thes/232.html','added'] |
|
|
, ['thes/232.html','addenda'] |
|
|
, ['thes/232.html','adlib'] |
|
|
]; |
|
|
|
|
|
headlines.min_len = 2; |
|
|
headlines.length = 4; |
|
|
|
|
44 |
var combo_active = 1; |
var combo_active = 1; |
45 |
|
|
46 |
function combo_onKeyDown(event) { |
function combo_onKeyDown(event) { |
109 |
<div id="results"> |
<div id="results"> |
110 |
</div> |
</div> |
111 |
|
|
|
<div id="status"> |
|
112 |
</div> |
</div> |
113 |
|
|
114 |
|
<div id="status"> |
115 |
</div> |
</div> |
116 |
|
|
117 |
|
<div style="color: #a0a0a0"> |
118 |
Text |
If this combobox isn't working for you, try running <tt>make combo</tt> to create |
119 |
|
example data from first 10000 words in <tt>/usr/share/dict/words</tt>. |
120 |
|
</div> |
121 |
|
|
122 |
</BODY> |
</BODY> |
123 |
</HTML> |
</HTML> |