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


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

WebVoyage 7 (Tomcat) Call Number Tooltip

Tags: tomcat
Last Updated: Apr 03, 2012 20:15


  • Description

    A JavaScript add-on that adds a tooltip to the Location field on results and holdings pages. Uses jQuery and clueTip.


  • Author: John Hubbard
  • Institution: University of Wisconsin - Milwaukee Libraries
  • Year: 2011
  • Skill required for using this code:
    Intermediate

State

Stable, however not compatible with all versions of Voyager (see Known Issues).

Programming language

XML, HTML, JavaScript, CSS

Software requirements

Server running Tomcat. JavaScript-enabled browser.

Download

See Page Attachments below.

Working example

These links no longer show the script, it was deactivated for compatibility reasons.

Changes

Installation instructions

Unzip the download files and place them in the following folders within /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/skin

  1. .gif and .png files --> images/
  2. stacks.html --> htdocs/help
  3. .js files --> jscripts
  4. frameWork.xsl --> xsl\pageTools*
    * If you have customized the frameWork.xsl file already, copy the code marked "Add Call Number Popup to Stacks Floor Key" to your existing file.

Required Customization

  1. Edit stacks.html to reflect the call number division within your building's floors, tiers, levels, entresols, atriums, and so forth.
  2. The following code within frameWork.xsl must match whatever normally shows as your general location (use a backslash to insert special characters):
    Stacks (Floor Key: A-L,P 3rd \/ M-N,Q-R 2nd \/ S-Z Lower)
  3. You can similarly change the "General Stacks" product.
  4. Change all instances of "sandbox" to your skin name in frameWork.xsl and jquery.cluetip.css.

Optional Customization

  1. Variables in frameWork.xsl can be altered to customize the appearance and behavior of the tooltip. See clueTip Plugin API / Options.
  2. jquery.cluetip.css includes the tooltip styling should you wish to modify its presentation.
  3. TO DO list

Text...

Known issues

Other customizations and scripts, such as the new books Google images script, will break the tooltip's functionality.


Comments

Text...

Page Attachments

File NameCommentSizeNumber of Downloads
tooltip.zip48 kB49

Added by John Hubbard on Mar 22, 2011 17:11, last edited by John Hubbard on Apr 03, 2012 20:15

Adaptavist Theme Builder Powered by Atlassian Confluence