Skip to main content
Main Content

Embed an Aspen search box

When your library is ready to make Aspen your primary catalog, you can set up your website's search box to go to Aspen.

Example Code

For a basic catalog search box, copy and paste the code below and change "XXX" to your library's 3-letter code. 

<form method="get" role="search" action="https://XXX.swanlibraries.net/Union/Search/">
<label for="catalog-search" class="hidden">Search the New Catalog</label><br />
<input id="catalog-search" type="text" name="lookfor" />
<button type="submit"><span>Go</span></button>
</form>
<style>
.hidden {position: absolute;top: -9999px;left: -9999px;}
</style>