Credo Search boxes

Place a Credo Search Box right on your library's webpage! This is what our standard search box looks like:

 

You can preview the basic search box function, and find subject-specific boxes, on our LibGuides Search Box page.

Adding the code to your website
The code can simply be copied and pasted into your website's HTML. Some sites have restrictions on adding Javascript, so if the box appears but doesn't perform a search, you may wish to ask your web Admin for help.

Adding the Code to Your LibGuides
To add the search box to your LibGuides, create a new Multimedia Box > Embedded Media and Widgets. Title the box and click "Create Box." Click "Add Media/Widget Code," and paste all of the attached code into the "Embed Code" box. Click "Embed It," and you should get a working Credo search box.

Adding the Code to Your LMS - see this page of the Help Center

Here's the basic search box code

<img src="http://corp.credoreference.com/images/logos/Credo-Black-landscape-%20147x50.png" alt="Credo Logo">
<form action="javascript:void;" onsubmit="javascript:return credoMultiSearchBasic(document.forms.credoMultiSearchFormBasic);" method="GET" name="credoMultiSearchFormBasic">
<input type="hidden" name="ubasic" value="http://search.credoreference.com/search/all?searchPhrase={0}">
<label for="qbasic">Search</label> <input type="text" id="qbasic" value="" size="15" />
<input type="image" border="0" name="Submit" value="search" src="http://media.credoreference.com/images/tools/go_button.png" alt="Submit Button"  width="54" height="31" style="top:10px; position:relative;"><br/>
<script type="text/javascript">
function credoMultiSearchBasic(f){if(f.qbasic.value=='Search for...'||f.qbasic.value==''){alert('Please enter a search.');}else{var qbasic=escape(f.qbasic.value);var ubasic=f.ubasic.value.replace("{0}",qbasic);window.open(ubasic,"_blank");}return false;}
</script>
</form>

You can preview other search box types on our LibGuides Search Box page. Just let us know if you'd like the code for any of these boxes! 

Adding your proxy

If your remote users access through a proxy, add your proxy information to the http://search.credoreference.com link in the 7th line of the code.

The unproxied Credo URL:

value="http://search.credoreference.com/search/all?searchPhrase={0}"

EZ Proxy example:

value="http://yourlib.ezproxy.com/login?url=http://search.credoreference.com/search/all?searchPhrase={0}"

WAM Proxy example:

value="http://0-search.credoreference.com.yourproxy.edu/search/all?searchPhrase={0}"

Make sure to keep the quotation marks in the appropriate place! If you have any issues, please submit a support request for help in modifying the code. 

Have a question or feedback about this answer?

Click here to submit a support request or click here to access the Community page and post your question or comment.

Powered by Zendesk