Access Keys:
Skip to content (Access Key - 0)
My Area (Access Key - 2)


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 0 rates
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Voyager 7 - Hide search tabs and change search options when simul searching

Tags: voyager 7 tomcat simul search simultaneous hide tab
Last Updated: 16 July 2009


  • Description
    This is a javascript that will hide the Advanced (and other) tabs and alter the search options available when someone has chosen something other than your local database.
  • Author: Curran Riley
  • Institution: University of Wisconsin - Madison
  • 2009
  • License: BSD style
  • Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
  • Link to terms: [Detailed license terms]
  • Skill required for using this code:
    Basic

State

Stable

Programming language

Javascript

Screen captures

Download

Working example

http://testcat-madison.library.wisc.edu/

Installation instructions

1. Download simul-search-hide-stuff.js.

2. Edit simul-search-hide-stuff.js:

  a. Change catalogLabel.innerHTML =='UW-Madison' to reflect your catalog's name

  b. Alter the "These are the tabs we want to suppress" section to reflect the tabs you want to hide

  c. Alter the "elOptNew" chunks with the searches you want to add in.  Make sure they're included in the "Add in the search indexes we want to insert" section down below as well.

  d. Alter the "Work through the searches available and suppress the ones we want to remove" section to remove the searches you want to remove.

3. Upload simul-search-hide-js to your jscripts directory.

4. Edit /xsl/pageTools/frameWork.xsl to add the following line within the <head></head> portion of that file.

Page Attachments

File NameCommentSizeNumber of Downloads
simul-search-hide-stuff.jsThe javascript to use4 kB64

Added by Curran Riley on Jul 16, 2009 22:09, last edited by Conf Admin on Oct 30, 2009 02:07

Adaptavist Theme Builder Powered by Atlassian Confluence