The Reference Widget

Open up your collection to your library users even more quickly via the Reference Widget. You can deploy this anywhere within your library website.

Examples:

  As as Reference Portal   In LibGuides
       
  California Baptist University   Gonzaga University
  George Washington University   Dartmouth College
  Western University (of Ontario)   Florida International University
  St. Michael's College   Morehead University
  Lycoming College   University of California - Los Angeles
  University of Lethbridge   Pittsburg State University


The following code is offered 'as is' to Reference Universe libraries at no additional fee:


<!--Reference Universe Search Widget-->
<!--Insert your proxy URL in the line starting with var url="-->
<!--e.g. var url="http://exproxy.mycollege.edu:2048/login?url= -->
<script type="text/javascript">
function rusearch(){
var url="[ my proxy URL ]http://refuniv.odyssi.com/cgi-bin/member/search2/r?dbs+ruprime:@and+@syn1+";
var searchInputEl = document.getElementById("ruSearchInput");
document.location=url + '@w15 + (+' + encodeURIComponent(searchInputEl.value) + '+)';
}</script>
<script type="text/javascript">
function getKeyValue(e,form){
var key=e.keyCode || e.which;
if (key==13){
rusearch();
}
}
</script>
<!--Insert the search box somewhere in your html. -->
<!--Make any style changes you want, but don't change the ids or names-->
<div>
<div id="ruSearchBox" style="border: 1px solid #666666; background-color:#FFFFFF;margin: 0 1.00em 1.00em 0; padding: 1.00em 0.75em;">
<div id="enterText" style="position: absolute; left: -1000em; width: 20em;">Enter your search terms:</div>
<input type="text" id="ruSearchInput" size="30" onKeyPress="getKeyValue(event,this.form)" />
<div style="display:inline"><input type="button" value="Search" onclick="rusearch()"/></div>
</div>
</div>
<!--/Reference Universe Search Widget -->