1/** 2 * js/relatedItems.js 3 * 4 * Copyright (c) 2013 Simon Fraser University Library 5 * Copyright (c) 2003-2013 John Willinsky 6 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. 7 * 8 * Initialization functions for reading tools related items javascript 9 */ 10 11/** 12 * initRelatedItems 13 * Initializes the related items block's roll-up feature 14 */ 15function initRelatedItems() { 16 $(document).ready(function(){ 17 $("#relatedItems").hide(); 18 $("#toggleRelatedItems").show(); 19 $("#hideRelatedItems").click(function() { 20 $("#relatedItems").hide('slow'); 21 $("#hideRelatedItems").hide(); 22 $("#showRelatedItems").show(); 23 }); 24 $("#showRelatedItems").click(function() { 25 $("#relatedItems").show('slow'); 26 $("#showRelatedItems").hide(); 27 $("#hideRelatedItems").show(); 28 }); 29 }); 30}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.