Summon search

Cabus, Michael CabusM at PHILAU.EDU
Tue Aug 5 16:56:32 EDT 2014


Howdy y'all,
  In the process of implementing Summon on our site...I used their tool to embed a search box, and we are using jquery-ui tabs to let users select a type of search (articles, books, everything)..problem is, I can only the search box to generate for one tab at a time.

I tried to add a jsfiddle and just send that link on, but, the Summon embed code and jsfiddle are not great friends...so, here is essentially the setup:

<li><a href="#tabs-1">Summon</a></li>
<li><a href="#tabs-2">Articles</a></li>
<li><a href="#tabs-3">Books/Videos</a></li>
<li><a href="#tabs-4">Images</a></li>
</ul>
<div id="tabs-1">
<div class="searchbox">
<h1 class="contentblock"><span>Search Almost Everything</span></h1>
<script id="s75c77a10feec013115bf425f16031628" src="http://philau.summon.serialssolutions.com/widgets/box.js" type="text/javascript"></script>
<script type="text/javascript">// <![CDATA[
new SummonCustomSearchBox({"id":"#s75c77a10feec013115bf425f16031628","params":{},"colors":{"links":"#922c46"},"searchbutton_text":"Search","advanced_text":"Advanced Search","placeholder_text":"enter search terms","boxwidth_text":"727","advanced":"true","suggest":"true","tagline":"true","popup":"true"})
// ]]></script></div>
</div>

....

With additional tabs setup the same way.

The search box appears for the first tab, but does not seem to search properly...it appears for none of the other tabs.  I tested the code out locally, placing each in a separate file (one for everything, another for books, etc) and each one worked...I am wondering if


a.)    In  a tabbed environment the Summon code needs to be modified to accommodate multiple instances of the Summon embed code on the same page

b.)    The fact that I am calling jquery and jquery libraries like jquery-ui and a carousel library are causing the Summon code to get knocked out...inspecting the code, I can see Summon appears to be using a jquery library itself, so that may be causing an issue.

Has anyone implemented Summon search like this before?  Any idea why it's not working out?

Thanks so much

Michael Cabus

Systems Librarian, Paul J. Gutman Library
Philadelphia University
Phone. 215.951.5365


============================

To unsubscribe: http://bit.ly/web4lib

Web4Lib Web Site: http://web4lib.org/

2014-08-05
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.nd.edu/pipermail/web4lib/attachments/20140805/b8f6f561/attachment.htm>


More information about the Web4lib mailing list