Voyage 7 Tomcat - Turn on or off highlighting
Tags: voyager , webvoyage , opac , javascript , highlight , tomcat Last Updated: Oct 30, 2009 02:10
- Description
The highlighting function in Voyage 7 Tomcat OPAC could not be turned on and off by users. It might not be easy to read when highlighting is on. This script allows users to control whether to turn on or off the text highlighting.
- Author: Jason Zou
- Additional author(s):
- Institution: Lakehead University
- Year: 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
Working example
http://inukshuk.lakeheadu.ca:7008
Installation instructions
The following is the Javascript code. There are three functions: insertHighlightBtn, turnOnHighlight and turnOffHighlight.
local_highlight.js
2. Change the framework.xsl. Add the following line:
3. Change the following line:
| JQuery javascript library is required to run this script. It can be downloaded from jquery.com. Save into your jscripts folder. Don't forget to add jquery.js |

