Skip to content

Instantly share code, notes, and snippets.

@sandbergja
Created January 7, 2015 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandbergja/a2c00edff534689bab36 to your computer and use it in GitHub Desktop.
Save sandbergja/a2c00edff534689bab36 to your computer and use it in GitHub Desktop.
Basic eg search widget
<form action="http://libcat.linnbenton.edu/eg/opac/results" method="get" />
<input onblur="if (this.value == '') this.value = 'Find Books and More...';" onfocus="if (this.value == 'Find Books and More...') this.value = '';" value="Find Books and More..." name="query" class="catalog-search" />
<input name="locg" value="all" type="hidden" />
<input name="detail_record_view" value="1" type="hidden" />
<input name="search" type="submit" value="Search" />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment