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 URL in red with the top-level domain name of your unit and the name in red with the name of your Web site.


<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