• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 <?cs # The default search box that goes in the header ?><?cs
2 def:default_search_box() ?>
3   <div id="search" >
4       <div id="searchForm">
5           <form accept-charset="utf-8" class="gsc-search-box"
6                 onsubmit="return submit_search()">
7             <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
8                 <tr>
9                   <td class="gsc-input">
10                     <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
11                       title="search developer docs" name="q"
12                       value="search developer docs"
13                       onFocus="search_focus_changed(this, true)"
14                       onBlur="search_focus_changed(this, false)"
15                       onkeydown="return search_changed(event, true, '<?cs var:toroot?>')"
16                       onkeyup="return search_changed(event, false, '<?cs var:toroot?>')" />
17                   <div id="search_filtered_div" class="no-display">
18                       <table id="search_filtered" cellspacing=0>
19                       </table>
20                   </div>
21                   </td>
22                   <td class="gsc-search-button">
23                     <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
24                   </td>
25                   <td class="gsc-clear-button">
26                     <div title="clear results" class="gsc-clear-button">&nbsp;</div>
27                   </td>
28                 </tr></tbody>
29               </table>
30           </form>
31       </div><!-- searchForm -->
32   </div><!-- search --><?cs
33 /def ?>