Created
March 13, 2012 18:47
-
-
Save mtheoryx/2030643 to your computer and use it in GitHub Desktop.
IU Search Box with Campus-specific option
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- BEGIN BASIC IU SEARCH BOX WITH CAMPUS SCOPE OPTION --> | |
| <form id="iusearch" method="get" action="https://search.sharepoint.iu.edu/sites/demo2/Pages/results.aspx"> | |
| <fieldset id="set1"> | |
| <ul class="unstyled"> | |
| <li><a href="http://people.iu.edu/">People</a></li> | |
| <li> | |
| <!-- Input to customize for narrowing search scope --> | |
| <input type="radio" name="s" id="search1" value="indiana" /> | |
| <label for="search1">Indiana</label> | |
| </li> | |
| <li> | |
| <!-- Input to customize for narrowing search scope --> | |
| <input type="radio" name="s" id="search2" value="" checked="checked"/> | |
| <label for="search2">All IU</label> | |
| </li> | |
| </ul> | |
| </fieldset> | |
| <fieldset id="set2"> | |
| <input type="text" | |
| name="k" | |
| id="searchtxt" | |
| maxlength="255" | |
| value="Search" | |
| onfocus="if(this.value=='Search')this.value='';" | |
| onblur="if(this.value=='')this.value='Search';" /> | |
| <input type="image" name="btnG" id="go" src="img/go_red.gif" alt="GO" /> | |
| </fieldset> | |
| </form> | |
| <!-- END BASIC IU SEARCH BOX WITH CAMPUS SCOPE OPTION --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment