You are here: Home / Departments / Libraries / documents / Ebsco OneSearch snippet

Ebsco OneSearch snippet


<div> <link rel="stylesheet" type="text/css" href="http://imageserver.ebscohost.com/branding/demos/TabViewCSS/tabview.css"> <table class="tableborder"> <tbody> <tr> <td id="tablecontent"> <div class="yui-skin-sam"> <div id="demo" class="yui-navset yui-navset-top"> <ul class="yui-nav"> <li class="selected" title="active"> <a href="#tab1"> <em>OneSearch</em> </a> </li> <li> <a href="#tab2"> <em>Articles</em> </a> </li> <li> <a href="#tab3"> <em>Books</em> </a> </li> <li> <a href="#tab4"> <em>eBooks</em> </a> </li> <li> <a href="#tab5"> <em>Videos</em> </a> </li> <li> <a href="#tab6"> <em>Journal Title</em> </a> </li> <li> <a href="#tab7"> <em>Research Guides</em> </a> </li> </ul> <div class="yui-content"> <div id="tab1" class=""> <p>OneSearch: Find library resources</p> <form action="http://search.ebscohost.com/login.aspx" method="get" target="_blank" onsubmit="ebscoPreProcess(this)"> <select size="1" name="search_prefix" style="width:100px"> <option selected="selected" value="">Keyword</option> <option value="TI ">Title</option> <option value="AU ">Author</option> </select> <input name="direct" value="true" type="hidden"> <input name="scope" value="site" type="hidden"> <input name="site" value="eds-live" type="hidden"> <input name="profile" value="eds" type="hidden"> <input name="authtype" value="ip,guest" type="hidden"> <input name="custid" value="albtecvo" type="hidden"> <input name="groupid" value="main" type="hidden"> <input name="cli0" value="FT" type="hidden"> <input name="clv0" value="N" type="hidden"> <input name="cli1" value="RV" type="hidden"> <input name="clv1" value="N" type="hidden"> <input name="cli2" value="FC" type="hidden"> <input name="clv2" value="N" type="hidden"> <input name="cli3" value="FC1" type="hidden"> <input name="clv3" value="y" type="hidden"> <input name="bquery" value="" type="hidden"> <input name="uquery" size="65" type="text"> <input value="Search" type="submit"> <br><br> <input name="fulltext_checkbox" id="fulltext_checkbox_all" onclick="limittoFullText(this.form)" type="checkbox"> <label for="fulltext_checkbox_all">Full-Text (online)</label> &nbsp;&nbsp;&nbsp;&nbsp; <input name="scholarly_checkbox" id="scholarly_checkbox_articles" onclick="limittoScholarly(this.form)" type="checkbox"> <label for="scholarly_checkbox_articles">Scholarly (peer reviewed)</label> &nbsp;&nbsp;&nbsp;&nbsp; <input name="catalog_only_checkbox" id="catalog_only_checkbox" onclick="limittoCatalog(this.form)" type="checkbox"> <label for="catalog_only_checkbox">Library books &amp; videos</label> </form> <br> </div> <div id="tab2" class="yui-hidden"> <p>Find journal, magazine, and newspaper articles:</p> <form action="http://search.ebscohost.com/login.aspx" method="get" target="_blank" onsubmit="ebscoPreProcess(this); limittoArticles(this)"> <select onchange="#" size="1" name="search_prefix" style="width: 100px"> <option selected="selected" value="">Keyword</option> <option value="TI ">Title</option> <option value="AU ">Author</option> </select> <input name="direct" value="true" type="hidden"> <input name="scope" value="site" type="hidden"> <input name="site" value="eds-live" type="hidden"> <input name="profile" value="eds" type="hidden"> <input name="authtype" value="ip,guest" type="hidden"> <input name="custid" value="albtecvo" type="hidden"> <input name="groupid" value="main" type="hidden"> <input name="cli0" value="FT" type="hidden"> <input name="clv0" value="N" type="hidden"> <input name="cli1" value="RV" type="hidden"> <input name="clv1" value="N" type="hidden"> <input name="bquery" value="" type="hidden"> <input name="uquery" size="65" type="text"> <input type="submit" value=" Search "> <br><br> <input name="fulltext_checkbox" id="fulltext_checkbox_articles" onclick="limittoFullText(this.form)" type="checkbox"> <label for="fulltext_checkbox_articles">Full-Text</label> &nbsp;&nbsp;&nbsp;&nbsp; <input name="scholarly_checkbox" id="scholarly_checkbox_articles2" onclick="limittoScholarly(this.form)" type="checkbox"> <label for="scholarly_checkbox_articles">Limit to scholarly (peer reviewed) articles</label> </form> <br> </div> <div id="tab3" class="yui-hidden"> <p>Find print and electronic books:</p> <form action="http://search.ebscohost.com/login.aspx" method="get" target="_blank" onsubmit="ebscoPreProcess(this); limittoBooks(this)"> <select onchange="#" size="1" name="search_prefix" style="width: 100px"> <option selected="selected" value="">Keyword</option> <option value="TI ">Title</option> <option value="AU ">Author</option> </select> <input name="direct" value="true" type="hidden"> <input name="scope" value="site" type="hidden"> <input name="site" value="eds-live" type="hidden"> <input name="profile" value="eds" type="hidden"> <input name="authtype" type="hidden" value="ip,guest"> <input name="custid" type="hidden" value="albtecvo"> <input name="groupid" type="hidden" value="main"> <input name="cli0" value="FT" type="hidden"> <input name="clv0" value="N" type="hidden"> <input name="bquery" value="" type="hidden"> <input name="uquery" size="65" type="text"> <input value="Search" type="submit"> <br> <p> <a href="http://libros.unm.edu/search~S22">Go to library catalog (LIBROS)</a> </p> </form> <br> </div> <div id="tab4" class="yui-hidden"> <p>Find electronic books:</p> <form action="http://search.ebscohost.com/login.aspx" method="get" target="_blank" onsubmit="ebscoPreProcess(this); limittoEBooks(this)"> <select name="search_prefix" size="1"> <option selected="selected" value="">Keyword</option> <option value="TI ">Title</option> <option value="AU ">Author</option> </select> <input name="direct" type="hidden" value="true"> <input name="scope" type="hidden" value="site"> <input name="site" type="hidden" value="eds-live"> <input name="profile" type="hidden" value="eds"> <input name="authtype" type="hidden" value="ip,guest"> <input name="custid" type="hidden" value="albtecvo"> <input name="groupid" type="hidden" value="main"> <input name="cli0" type="hidden" value="FT"> <input name="clv0" type="hidden" value="N"> <input name="bquery" type="hidden"> <input name="uquery" size="65" type="text"> <input type="submit" value="Search"> <br> <p> <a href="http://libros.unm.edu/search~S22">Go to library catalog (LIBROS)</a> </p> </form> </div> <div id="tab5" class="yui-hidden"> <p>Find videos:</p> <form action="http://search.ebscohost.com/login.aspx" method="get" target="_blank" onsubmit="ebscoPreProcess(this); limittoVideos(this)"> <select name="search_prefix" size="1"> <option selected="selected" value="">Keyword</option> <option value="TI ">Title</option> <option value="AU ">Author</option> </select> <input name="direct" type="hidden" value="true"> <input name="scope" type="hidden" value="site"> <input name="site" type="hidden" value="eds-live"> <input name="profile" type="hidden" value="eds"> <input name="authtype" type="hidden" value="ip,guest"> <input name="custid" type="hidden" value="albtecvo"> <input name="groupid" type="hidden" value="main"> <input name="cli0" type="hidden" value="FT"> <input name="clv0" type="hidden" value="N"> <input name="bquery" type="hidden"> <input name="uquery" size="65" type="text"> <input type="submit" value="Search"> <br> <p> <a href="http://libros.unm.edu/search~S22">Go to library catalog (LIBROS)</a> </p> </form> </div> <div id="tab6" class="yui-hidden"> <form action="http://atoz.ebsco.com/titles.asp" method="get" name="frmAdvSearch" target="_blank" id="frmAdvSearch"> <input name="lang" type="hidden" value=""> <input name="lang.subject" type="hidden" value=""> <input name="lang.menu" type="hidden" value=""> <p>Find journals by title:</p> <input id="txtKeyword" name="txtKeyword" size="65" type="text" value=""> <input name="sid" type="hidden" value="260569046"> <input name="id" type="hidden" value="12966"> <input name="cmdSearchSubmit" type="submit" value="Search"> <br> <i>To find variants of a word, truncate using an *</i> <br> For example, child* will find child, children, childhood, etc. <br> </form> </div> <div id="tab7" class="yui-hidden"> <p>Get help by topic:</p> <div id="api_search_guides_iid1917"> <form name="guide_select" id="guide_select"> <select class="combo" name="my_guide_select" onchange="window.location.href= this.form.my_guide_select.options[this.form.my_guide_select.selectedIndex].value"> <option selected="selected">Please Select...</option> <option value="http://subjectguides.cnm.edu/content.php?pid=525362">Allied Health Resources</option> <option value="http://subjectguides.cnm.edu/aecontent.php?pid=332936">Anatomical Models</option> <option value="http://subjectguides.cnm.edu/ArtHistory">Art History</option> <option value="http://subjectguides.cnm.edu/aecontent.php?pid=228639">Biology &amp; Biotechnology</option> <option value="http://subjectguides.cnm.edu/career">Career &amp; Job Research</option> <option value="http://subjectguides.cnm.edu/chemistry">Chemistry</option> <option value="http://subjectguides.cnm.edu/DBIssues">Database Issues</option> <option value="http://subjectguides.cnm.edu/education">Education</option> <option value="http://subjectguides.cnm.edu/content.php?pid=395609">Emergency Medical Services</option> <option value="http://subjectguides.cnm.edu/english">English</option> <option value="http://subjectguides.cnm.edu/content.php?pid=257913">Film</option> <option value="http://subjectguides.cnm.edu/library">Finding Information in the Library</option> <option value="http://subjectguides.cnm.edu/COS">Hair Affair: A One-Stop Shop for Cosmetology Resources</option> <option value="http://subjectguides.cnm.edu/paralegal">Legal Research</option> <option value="http://subjectguides.cnm.edu/libraryinstruction">Library Instruction@CNM: an Overview</option> <option value="http://subjectguides.cnm.edu/MLT">Medical Laboratory Technology</option> <option value="http://subjectguides.cnm.edu/newitems">New Items at CNM Libraries</option> <option value="http://subjectguides.cnm.edu/content.php?pid=395600">Pueblos of New Mexico</option> <option value="http://subjectguides.cnm.edu/popular_reading">Popular and Leisure Reading</option> <option value="http://subjectguides.cnm.edu/suncatstorytime">Suncat Story Time</option> <option value="http://subjectguides.cnm.edu/trades">Trades</option> <option value="http://subjectguides.cnm.edu/VT">Veterinary Technology</option> <option value="http://subjectguides.cnm.edu/winter_intersession_2013">Winter intersession 2013 Courses</option> <option value="http://subjectguides.cnm.edu/evaluate">You and Information</option> </select> </form> </div> </div> </div> </div> </div> </td> </tr> </tbody> </table> </div>



$.getScript( "http://yui.yahooapis.com/2.8.2r1/build/yahoo-dom-event/yahoo-dom-event.js", function( data, textStatus, jqxhr ) { $.getScript( "http://yui.yahooapis.com/2.8.2r1/build/element/element-min.js", function( data, textStatus, jqxhr ) { $.getScript( "http://yui.yahooapis.com/2.8.2r1/build/tabview/tabview-min.js", function( data, textStatus, jqxhr ) { (function() { var tabView = new YAHOO.widget.TabView('demo'); YAHOO.log("The example has finished loading; as you interact with it, you'll see log messages appearing here.", "info", "example"); })(); }); }); }); function limittoFullText(myForm) { if (myForm.fulltext_checkbox.checked) myForm.clv0.value = "Y"; else myForm.clv0.value = "N"; } function limittoScholarly(myForm) { if(myForm.scholarly_checkbox.checked) myForm.clv1.value = "Y"; else myForm.clv1.value = "N"; } function limittoCatalog(myForm) { if(myForm.catalog_only_checkbox.checked) myForm.clv2.value = "Y"; else myForm.clv2.value = "N"; } function ebscoPreProcess(myForm) { myForm.bquery.value = myForm.search_prefix.value + myForm.uquery.value; } function limittoArticles(myForm) { myForm.bquery.value += ' AND ZT Article'; } function limittoBooks(myForm) { myForm.bquery.value += ' AND PT Book'; } function limittoEBooks(myForm) { myForm.bquery.value += ' AND PT eBook'; } function limittoVideos(myForm) { myForm.bquery.value += ' AND (PT DVD OR PT Motion Picture OR PT Video)'; }