/ Published in: HTML

A rough search form based on usage with googleboxes and xslt templates for results.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div id="searchbar"> <form action="http://domain.com/search" method="get"> <input type="text" name="q" value="Search Our Site" size="20" maxlength="120" id="searchInput" onfocus="if(this.value == 'Search Our Site'){this.value='';}"> <input type="hidden" name="site" value="externalSearch"> <input type="hidden" name="client" value="externalSearch"> <input type="hidden" name="restrict" value="wwwexternal"> <input type="hidden" name="proxystylesheet" value="http://domain.com/searchStyle.xslt"> <input type="hidden" name="output" value="xml_no_dtd"> <input type="submit" name="btnG" value="Search" id="searchSubmit"> </form> </div>
Comments
