Skip to Main Content

LibGuides Standards & Best Practices: Guide-Specific Search Box

Searching a Guide

Springshare does not currently offer a widget or tool that permits users to search a specific guide. There is, however, a way to create such a box using HTML Coding. Below is the coding, which can be pasted into any guide, using the guide's ID number (found on the LibGuides list). The location wherein to insert the HTML code is bolded and pasted in Red text. 


 

<div class="pull-left">
<div id="s-lg-guide-header-search">
<div id="s-lg-guide-search-box">
<form _lpchecked="1" action="https://lib.hoover.mcdaniel.edu/srch.php" id="s-lg-guide-search-form" method="GET" role="search">
<div class="input-group input-group-sm"><input class="form-control" id="s-lg-guide-search-terms" name="q" placeholder="Search this Guide" type="text" /> <label class="sr-only" for="s-lg-guide-search-terms">Search this Guide</label><input name="guide_id" type="hidden" value="GUIDE ID #" /> <span class="input-group-btn"><button class="btn btn-default" type="submit">Search</button> </span></div>
</form>
</div>
</div>
</div>

Maryland Independent College and University Association Federal Depository Library Program Facebook Instagram TikTok Twitter YouTube