The Federal WidgetOpen up your collection to your library users even more quickly via the United States Masterfile Widget. You can deploy this anywhere within your library website.
<!--USM Search Widget--> function pdmsearch(){ var url="[ my proxy URL ]http://documents.paratext.com/pdm/pdm.php/r?request_type=initial_search&databases=all&detail=0&saved_set=0&Stemming=2&query=" var searchInputEl = document.getElementById("pdmSearchInput"); document.location=url + encodeURIComponent(searchInputEl.value) ; }</script> <script type="text/javascript"> function getKeyValue(e,form){ var key=e.keyCode || e.which; if (key==13){ pdmsearch(); } } </script>
<!--Insert the search box somewhere in your html.--> <div id="pdmSearchBox" 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="pdmSearchInput" size="30" onKeyPress="getKeyValue(event,this.form)" /> <div style="display:inline"><input type="button" value="Search" onclick="pdmsearch()"/></div> </div> </div> <!--/USM Search Widget --> |
|