Web Administration: Web Resources

Tutorials

Creating a Custom Search Page

To add a search form like the one below to your Web site, insert the following code in your page in the desired location and then replace the Web Administration paramaters with your top-level domain name and the name of your Web site. For example, in the code below replace "www.webadmin.ufl.edu" and and "Web Admin Site" with your own parameters.


<form action="http://search.ufl.edu/search" method="get">
  <input type="hidden" name="site" value="www.webadmin.ufl.edu" />
  <label for="source">
    <select id="source" name="source">
      <option value="web" selected="selected">Web Admin Site</option>
      <option value="allweb">UF Web with Google</option>
      <option value="phonebook">UF Phonebook</option>
    </select>
  </label>
  <br />
  <label for="searchbox">
    <input name="query" id="searchbox" type="text" size="20" value="Search" alt="Search" onfocus="select();" />
  </label>
  <input type="submit" name="Submit" value="Go" />
</form>

Notes:

Primary Navigation