Replace the input text box for max. search results with a select
box. This change reduce the numbers of input fields from 2 to 1. Many browers accept a simple 'return' in the search field (instead pressing submit button) for starting searching if there is only one input text box.
This commit is contained in:
parent
fdeef50b17
commit
04cae3637f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2744
2 changed files with 46 additions and 12 deletions
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
|
||||
<!ENTITY date "$Date: 1998-04-07 13:59:01 $">
|
||||
<!ENTITY date "$Date: 1998-04-27 10:07:15 $">
|
||||
<!ENTITY title "Search">
|
||||
<!ENTITY % includes SYSTEM "includes.sgml"> %includes;
|
||||
]>
|
||||
<!-- $Id: search.sgml,v 1.29 1998-04-07 13:59:01 wosch Exp $ -->
|
||||
<!-- $Id: search.sgml,v 1.30 1998-04-27 10:07:15 wosch Exp $ -->
|
||||
|
||||
<html>
|
||||
&header;
|
||||
|
@ -35,8 +35,17 @@ and <a href="&base/handbook/handbook.html">Handbook</a>)</h2>
|
|||
href="searchhints.html">Look here for more hints</a>.</em></p>
|
||||
|
||||
<p><input type="text" name="words" size="50"><br>
|
||||
Limit the number of results to <input type="text" name="max"
|
||||
value="25" size="5"> <input type="submit"> <input type="reset"></p>
|
||||
Limit the number of results to <select name="max"
|
||||
<OPTION VALUE="5">5</OPTION>
|
||||
<OPTION VALUE="10">10</OPTION>
|
||||
<OPTION VALUE="25" SELECTED>25</OPTION>
|
||||
<OPTION VALUE="50">50</OPTION>
|
||||
<OPTION VALUE="100">100</OPTION>
|
||||
<OPTION VALUE="250">250</OPTION>
|
||||
<OPTION VALUE="500">500</OPTION>
|
||||
<OPTION VALUE="1000">1000</OPTION>
|
||||
</SELECT>
|
||||
<input type="submit"> <input type="reset"></p>
|
||||
<input type="hidden" name="source" value="www">
|
||||
|
||||
</form>
|
||||
|
@ -56,8 +65,16 @@ value="25" size="5"> <input type="submit"> <input type="reset"></p>
|
|||
for more hints</a>.</em></p>
|
||||
|
||||
<p><input type="text" name="words" size="50"><br>
|
||||
Limit the number of results to <input type="text" name="max"
|
||||
value="25" size="5">
|
||||
Limit the number of results to <select name="max"
|
||||
<OPTION VALUE="5">5</OPTION>
|
||||
<OPTION VALUE="10">10</OPTION>
|
||||
<OPTION VALUE="25" SELECTED>25</OPTION>
|
||||
<OPTION VALUE="50">50</OPTION>
|
||||
<OPTION VALUE="100">100</OPTION>
|
||||
<OPTION VALUE="250">250</OPTION>
|
||||
<OPTION VALUE="500">500</OPTION>
|
||||
<OPTION VALUE="1000">1000</OPTION>
|
||||
</SELECT>
|
||||
|
||||
sort by
|
||||
<SELECT NAME="sort">
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
|
||||
<!ENTITY date "$Date: 1998-04-07 13:59:01 $">
|
||||
<!ENTITY date "$Date: 1998-04-27 10:07:15 $">
|
||||
<!ENTITY title "Search">
|
||||
<!ENTITY % includes SYSTEM "includes.sgml"> %includes;
|
||||
]>
|
||||
<!-- $Id: search.sgml,v 1.29 1998-04-07 13:59:01 wosch Exp $ -->
|
||||
<!-- $Id: search.sgml,v 1.30 1998-04-27 10:07:15 wosch Exp $ -->
|
||||
|
||||
<html>
|
||||
&header;
|
||||
|
@ -35,8 +35,17 @@ and <a href="&base/handbook/handbook.html">Handbook</a>)</h2>
|
|||
href="searchhints.html">Look here for more hints</a>.</em></p>
|
||||
|
||||
<p><input type="text" name="words" size="50"><br>
|
||||
Limit the number of results to <input type="text" name="max"
|
||||
value="25" size="5"> <input type="submit"> <input type="reset"></p>
|
||||
Limit the number of results to <select name="max"
|
||||
<OPTION VALUE="5">5</OPTION>
|
||||
<OPTION VALUE="10">10</OPTION>
|
||||
<OPTION VALUE="25" SELECTED>25</OPTION>
|
||||
<OPTION VALUE="50">50</OPTION>
|
||||
<OPTION VALUE="100">100</OPTION>
|
||||
<OPTION VALUE="250">250</OPTION>
|
||||
<OPTION VALUE="500">500</OPTION>
|
||||
<OPTION VALUE="1000">1000</OPTION>
|
||||
</SELECT>
|
||||
<input type="submit"> <input type="reset"></p>
|
||||
<input type="hidden" name="source" value="www">
|
||||
|
||||
</form>
|
||||
|
@ -56,8 +65,16 @@ value="25" size="5"> <input type="submit"> <input type="reset"></p>
|
|||
for more hints</a>.</em></p>
|
||||
|
||||
<p><input type="text" name="words" size="50"><br>
|
||||
Limit the number of results to <input type="text" name="max"
|
||||
value="25" size="5">
|
||||
Limit the number of results to <select name="max"
|
||||
<OPTION VALUE="5">5</OPTION>
|
||||
<OPTION VALUE="10">10</OPTION>
|
||||
<OPTION VALUE="25" SELECTED>25</OPTION>
|
||||
<OPTION VALUE="50">50</OPTION>
|
||||
<OPTION VALUE="100">100</OPTION>
|
||||
<OPTION VALUE="250">250</OPTION>
|
||||
<OPTION VALUE="500">500</OPTION>
|
||||
<OPTION VALUE="1000">1000</OPTION>
|
||||
</SELECT>
|
||||
|
||||
sort by
|
||||
<SELECT NAME="sort">
|
||||
|
|
Loading…
Reference in a new issue