University Relations

UC Santa Cruz
1156 High Street
University of California
Santa Cruz, CA 95064-1077
Email: pioweb@ucsc.edu
Phone: (831) 459-2495

Web:

Web: Search

Google Search

The Public Affairs Office maintains an account with Google to provide search features for the UC Santa Cruz website.

You may use the code for this search on your website by including the following:

<!-- Begin Search -->
<table width="165" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<form method="get" action="http://www.google.com/u/UCSantaCruz">
<td width="20">
<input type="text" name="q" size="18" maxlength="255" value="Search UCSC" onFocus="if(this.value=='Search UCSC') {this.value='';}" onBlur="if(this.value=='') {this.value='Search UCSC';}">
<input type="hidden" name="domains" value="ucsc.edu">
<input type="hidden" name="sitesearch" value="ucsc.edu">
</td>
<td width="145">
<input type="image" src="http://www.ucsc.edu/images/go.gif" width="17" height="17" hspace="0" vspace="0" border="0" name="sa" alt="go" value="Go">
</td>
</form>
</tr>
</table>
<!-- End Search -->

The example example below shows how the search code can be customized to give search results for only specific domains or directories of your site:

<!-- Begin Search -->
<table width="165" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="middle">
<form method="get" action="http://www.google.com/u/UCSantaCruz">
<td width="20">
<input type="text" name="q" size="18" maxlength="255" value="Search Site" onFocus="if(this.value=='Search Site') {this.value='';}" onBlur="if(this.value=='') {this.value='Search Site';}">
<input type="hidden" name="domains" value="ucsc.edu">
<input type="hidden" name="sitesearch" value="urelations.ucsc.edu">
<input type="hidden" name="hq" value="inurl:www.ucsc.edu/administration/ur | inurl:urelations.ucsc.edu">
</td>
<td width="145">
<input type="image" src="images/go.gif" width="17" height="17" hspace="0" vspace="0" border="0" name="sa" alt="go" value="Go">
</td>
</form>
</tr>
</table>
<!-- End Search -->

If you prefer to have the search results page match your website template, you will need to signup for a new Google account and customize your settings accordingly.