For a quick install, simply copy majax.html and majax.js to the /screens directory of your III installation.
Other III libraries can use this technology, which has been released by Virginia Tech under the LGPL.
(6/2/2010): Use location.protocol to support use via https:// sites.
Fixed syndetics book cover display to use ISBN from record so that it will work with all search types.
(10/8/2010): Load majax frame on document.ready rather than waiting until window.load fires. This should speed up loading majax on many pages. Duplicates some code taken from jQuery. Note that Majax is still not dependent on any libraries.
(10/8/2010): Auto-detect .ac.uk and .edu.au domains and adjust superdomain accordingly.
(10/8/2010): Added support for ERM record information via the e100040 identifier.
Added majax-showholdingslocations class, courtesy of Tomasz.Neugebauer@concordia.ca
Fixed majax-linktocatalog class when bibrecord linking syntax is used. Note that MAJAX does not allow a checkdigit when ".b" is used.
Introduces caching. MAJAX will now fetch every record only once from the III server, no matter how many SPANs refer to it. Because of this, we increased the number of requests sent per second to 100 (5 requests are sent every 50ms) until all SPANs are processed. Previously, each SPAN caused a request to be sent to the server, even if multiple SPANs referred to the same record. This change was somewhat involved, so be sure to thoroughly test it when upgrading.
Fixed loading issue on Safari. Thanks for William Hicks for pointing it out.
Be quiet about non-existing MARC subfields rather than emitting 'undefined'.
Erik Still provided a patch to allow Majax to run from both the staging port (2082) and the live port.
Now support embedded the search terms inside the <span> tag. In this case, use a "*" instead of the search term after the i, o, t, or .b See the test items marked 'inlined' in the demo for examples.
Changes: MAJAX now also supports 'o57207630' for OCLC number in the title attribute.
Slides from the IUG 2008 talk. These slides are an updated version of the 2007 talk, containing information about all updates and additions made since.
Slides from the IUG 2007 talk. These slides contain brief instructions on how to use MAJAX. They also have a number of screen shots showing it in action.
Just like you normally would. Simply add either a style= attribute or use a class and add it to MAJAX's classes. MAJAX will ignore those styles, and the browser will ignore the MAJAX classes. For instance, if you have declared a class 'booktitle' in your style sheet, you could use <span class="majax-marc-245-a majax-marc-245-b booktitle" ... > ... to ensure that 245$a and 245$b are formatted in this style.
If you prefer to use ids in your style sheets, add an id= attribute.
Then, define a number of variables (explained at the beginning of majax.js). For instance, to change the message '1 copy is available' to 'One copy is available', define
var singleCopyStatus = "One copy is %s";Other strings include noCopiesFound, multipleCopyStatus, itemAvailableMsg, noCopyHeld, singleItemUnavailable, multipleItemsUnavailable, and electronicBookMsg. If your catalog doesn't refer to available items as available, set isAvailableRegex to a regular expression that matches your catalog's message.
A. We do not think so. We believe MAJAX should work even if your record do not display a link to the MARC record, as long as the III system returns a MARC record when asked. This is based on testing with Danbury, which does not have the MARC display enabled.
Because IE does not support data: URLs. Use majax-endnote or majax-endnote-switch instead if IE support is important to you.
For more information and to report bugs, contact email@example.com
Other meanings of MAJAX include Gérard Majax and Major Accident plans in UK hospitals.