Changeset 12109
- Timestamp:
- 2006-07-07T15:45:55+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cic-hcap/macros/extra.dm
r12094 r12109 919 919 for (var i = 0; i < document.StateQueryForm.stq.options.length; i++) \{ 920 920 if (document.StateQueryForm.stq.options[i].value == region) \{ 921 alert("Found " + region + " at index " + i); 921 document.StateQueryForm.stq.options[i].selected = true; 922 break; 922 923 \} 923 924 \} … … 929 930 930 931 <p/> 931 <a href="javascript: selectRegion('West')">West</a> 932 933 <div style="float:right"> 934 <form name=StateQueryForm method=get action="_gwcgi_" onSubmit="prepareStateSearch();"> 935 <select name="stq" size="25" multiple="true" style="width: 125px;"> 936 _cicstateoptions_ 937 </select> 938 939 <p/> 940 <center><input type="submit" value="_textbeginsearch_" onClick="preparestatesearch();></center> 941 </form> 942 </div> 932 <a href="javascript: selectRegion('West')">West</a> 933 <a href="javascript: selectRegion('Mountain')">Mountain</a> 934 <a href="javascript: selectRegion('Southwest')">Southwest</a> 935 <a href="javascript: selectRegion('Midwest')">Midwest</a> 936 <a href="javascript: selectRegion('Southeast')">Southeast</a> 937 <a href="javascript: selectRegion('Northeast')">Northeast</a> 938 939 <p/> 940 941 <table cellpadding="0" cellspacing="0" width="100%"> 942 <tr> 943 <td valign="top"> 944 <img src="_httpcollection_/images/us-state-map.gif" usemap="#states"/> 945 <map name="states"> 946 <area shape="rect" coords="106,145,132,159" href="javascript: selectRegion('NM')"> 947 </map> 948 </td> 949 <td align="right" valign="top"> 950 <form name=StateQueryForm method=get action="_gwcgi_" onSubmit="prepareStateSearch();"> 951 <select name="stq" size="25" multiple="true" style="width: 125px;"> 952 _cicstateoptions_ 953 </select> 954 955 <p/> 956 <input type="submit" value="_textbeginsearch_" onClick="preparestatesearch();> 957 </form> 958 </td> 959 </tr> 960 </table> 943 961 } 944 962 … … 1050 1068 _formfunctions_ {} 1051 1069 1052 _pagescriptextra_ {}1053 1054 1070 # Hide the "search and display results in ... order" text 1055 1071 _textformselect_ {}
Note:
See TracChangeset
for help on using the changeset viewer.