Posted By

luxuryluke on 06/29/06


form template search html xslt xhtml google input action method

Versions (?)

Search bar for sites based on XSLT as target for results

 / Published in: HTML

A rough search form based on usage with googleboxes and xslt templates for results.

  1. <div id="searchbar">
  2. <form action="" method="get">
  3. <input type="text" name="q" value="Search Our Site" size="20" maxlength="120" id="searchInput" onfocus="if(this.value == 'Search Our Site'){this.value='';}">
  4. <input type="hidden" name="site" value="externalSearch">
  5. <input type="hidden" name="client" value="externalSearch">
  6. <input type="hidden" name="restrict" value="wwwexternal">
  7. <input type="hidden" name="proxystylesheet" value="">
  8. <input type="hidden" name="output" value="xml_no_dtd">
  10. <input type="submit" name="btnG" value="Search" id="searchSubmit">
  11. </form>
  12. </div>

Report this snippet  

You need to login to post a comment.