Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Untitled"
Bootstrap 4.1.1 Snippet by
waffleamp
4.1.1
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
1.2K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form action="" enctype="application/x-www-form-urlencoded; charset=utf-8" id="simple" method="get" name="SpartanSearchForm" onsubmit="searchPrimo()" target="_blank"> <!-- Customizable Parameters --> <input name="institution" type="hidden" value="01CARLI_ARU"> <input name="vid" type="hidden" value="01CARLI_ARU:CARLI_ARU"> <input id="primoTab" name="tab" type="hidden" value="Everything"> <input id="primoScope" name="search_scope" type="hidden" value="MyInst_and_CI"> <input name="mode" type="hidden" value="Basic"> <!-- Fixed parameters --> <input name="displayMode" type="hidden" value="full"> <input name="bulkSize" type="hidden" value="10"> <input name="highlight" type="hidden" value="true"> <input name="dum" type="hidden" value="true"> <input id="primoQuery" name="query" type="hidden"> <input name="displayField" type="hidden" value="all"> <!-- Select Statement with values from case Fires onchange --> <select id="scopeSelecter" name="scopeSelecter" onchange="primoScopeSwitch(this)"> <option value="Everything">Everything</option> <option value="LibraryCatalog">Library Catalog</option> <option value="CentralIndex">Articles</option> <option value="CourseReserves">Course Reserves</option> <option value="NewDiscoveryNetwork">I-Share</option> <option value="EBSCO">EBSCO Databases</option> </select> <!-- Enable this if "Expand My Results" is enabled by default in Views Wizard --> <input name="pcAvailabiltyMode" type="hidden" value="true"> <input id="primoQueryTemp" size="135" type="text" value="" placeholder="Discover books, articles, videos, and more"> <!-- Search Button --> <input alt="Search" id="go" onclick="searchPrimo()" class="btn btn-success lrcSearchButton" title="Search" type="button" value="SEARCH"> </form>
<script src="http://support.ebsco.com/eit/scripts/ebscohostsearch.js" type="text/javascript"></script> <form class="ebscohostCustomSearchBox" action="" onsubmit="return ebscoHostSearchGo(this);" method="post" style="overflow:hidden;" target="_blank"> <input id="ebscohostwindow" name="ebscohostwindow" type="hidden" value="1" /> <input id="ebscohosturl" name="ebscohosturl" type="hidden" value="http://library.aurora.edu/login?url=http://search.ebscohost.com/login.aspx?direct=true&site=ehost-live&scope=site&type=1&db=a9h&db=afh&db=aph&db=vth&db=rfh&db=bai&db=bth&db=bsh&db=ccm&db=rzh&db=cgh&db=chh&db=cmr&db=ufh&db=c9h&db=i3h&db=dah&db=eoah&db=e000xna&db=nlebk&db=20h&db=eih&db=eric&db=funk&db=8gh&db=hxh&db=hch&db=hta&db=llf&db=ulh&db=f5h&db=mnh&db=mth&db=nfh&db=eed&db=poh&db=prh&db=tfh&db=pdh&db=psyh&db=bwh&db=swh&db=sih&db=s3h&db=trh&db=undefined&mode=bool&lang=en&authtype=ip" /> <input id="ebscohostsearchsrc" name="ebscohostsearchsrc" type="hidden" value="url" /> <input id="ebscohostsearchmode" name="ebscohostsearchmode" type="hidden" value="+" /> <input id="ebscohostkeywords" name="ebscohostkeywords" type="hidden" value="" /> <div class="input-group lrcInputs"><input class="form-control" id="ebscohostsearchtext" placeholder="Search Ebsco" type="text" /> <div class="input-group-btn"><button class="btn btn-success lrcSearchButton" type="submit"><i class="glyphicon glyphicon-search"></i></button></div> </div> <div id="limiterblock" style="margin-left:-px; overflow: auto; display:none;"> <div id="limitertitle" style="font-weight:bold;padding-top:25px;padding-bottom:5px;">Limit Your Results</div> <div class="limiter" style="display:none;"> <input type="checkbox" id="chkFullText" name="chkFullText" /> <label for="chkFullText">Full Text</label> </div> <div class="limiter" style="display:none;"> <input type="checkbox" id="chkReferencesAvailable" name="chkReferencesAvailable" /> <label for="chkReferencesAvailable">References Available</label> </div> <div class="limiter" style="display:none;"> <input type="checkbox" id="chkPeerReviewed" name="chkPeerReviewed" /> <label for="chkPeerReviewed">Peer Reviewed</label> </div> </div> </form>
function searchPrimo() { document.getElementById("primoQuery").value = "any,contains," + document.getElementById("primoQueryTemp").value.replace(/[,]/g, " "); document.forms["OnesearchForm"].submit(); } function primoScopeSwitch(scope) { switch(scope.value) { case "Everything": document.getElementById("primoTab").value = "Everything"; document.getElementById("primoScope").value = "MyInst_and_CI"; document.getElementById("primoQueryTemp").placeholder = "Discover books, articles, videos, and more"; form.action="https://i-share-aru.primo.exlibrisgroup.com/discovery/search"; break; case "LibraryCatalog": document.getElementById("primoTab").value = "LibraryCatalog"; document.getElementById("primoScope").value = "MyInstitution"; document.getElementById("primoQueryTemp").placeholder = "Discover books, eBooks, and media"; break; case "CentralIndex": document.getElementById("primoTab").value = "CentralIndex"; document.getElementById("primoScope").value = "CentralIndex"; document.getElementById("primoQueryTemp").placeholder = "Discover articles and more"; break; case "CourseReserves": document.getElementById("primoTab").value = "CourseReserves"; document.getElementById("primoScope").value = "CourseReserves"; document.getElementById("primoQueryTemp").placeholder = "Find items on course reserve"; break; case "NewDiscoveryNetwork": document.getElementById("primoTab").value = "NewDiscoveryNetwork"; document.getElementById("primoScope").value = "NewDiscoveryNetwork"; document.getElementById("primoQueryTemp").placeholder = "Search All I-Share Libraries"; break; case "EBSCO": document.getElementById("primoTab").value = "NewDiscoveryNetwork"; document.getElementById("primoScope").value = "NewDiscoveryNetwork"; document.getElementById("primoQueryTemp").placeholder = "Search All EBSCO Databases"; break; } } //Windows on load function to load the intitial change window.onload = function() { var scope = document.getElementById("scopeSelecter"); primoScopeSwitch(scope); };
Related:
See More
Free Template
Now UI Kit Angular
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76