Replace services menu functionality in full view (jQuery)
Tags: 00code00
, javascript
, jquery
, ajax
, opac
Last Updated: Aug 06, 2010 16:07
- Description
Here is a simple jQuery snippet you can use to pull additional data into your full view (or any other files in your catalog).
In this example we use it to query the X-Server to show us the number of additional records linked with the given classification code, and link it. Users can instantly see what's linked without having to click through to the default service menu window. - Author: Daniel Zimmel
- Additional author(s):
- Institution: Max Planck Gesellschaft
- Year: 2010
- 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
- Programming language
- Software requirements
- Author(s) homepage
- Download
- Working example
- Using the following Ex Libris open interfaces
- Installation instructions
- Example 1: replace notation links using the X-Server (AJAX)
- Example 2: Replace links to the services menu with find links
- TO DO list
- Known issues
- Comments
State
Stable
Programming language
Javascript
Software requirements
jquery.js, X-Server (+ a proxy script if you have generally restricted access to your X-Server)
Author(s) homepage
Download
see code below
Working example
http://aleph.mpg.de/F?func=direct&doc_number=000101920&local_base=rdg01&con_lng=eng
Using the following Ex Libris open interfaces
Aleph X-Server
Installation instructions
Example 1: replace notation links using the X-Server (AJAX)
1. to access the MARC/MAB fields, store the ALEPH variables as IDs in your full-999-body:
2. copy code snippet to your full-set-tail & direct-tail. Modify queries/search codes and CSS-IDs to your needs (CSS-IDs are for German MAB)
Example 2: Replace links to the services menu with find links
Additionally, jQuery allows you to easily replace the services menu by simply linking to the search:
Be aware, though, that this example only does a keyword search with the subject text, and does not use the authorities records number.
TO DO list
Text...
Known issues
Text...
Comments
Text...

