1jQuery( document ).ready(function() { 2 // hide the bottom buy links if the excerpt is closed 3 if (jQuery('.mbm-book-excerpt-read-more').is(":visible")) { 4 jQuery('#mbm-book-links2').hide(); 5 } 6 7 // handle the editions hide/show 8 jQuery('.mbm-book-editions-toggle').on('click', function() { 9 jQuery(this).siblings('.mbm-book-editions-subinfo').toggle(); 10 jQuery(this).toggleClass('mbm-book-editions-open'); 11 }); 12 13 // open the excerpt 14 jQuery('.mbm-book-excerpt-read-more').on( 'click', function() { 15 jQuery(this).siblings('.mbm-book-excerpt-text-hidden').toggle(); 16 jQuery(this).toggle(); 17 jQuery('#mbm-book-links2').show(); 18 }); 19 20 // close the excerpt 21 jQuery('.mbm-book-excerpt-collapse').on( 'click', function() { 22 jQuery(this).parent().toggle(); 23 jQuery(this).parent().siblings('.mbm-book-excerpt-read-more').toggle(); 24 jQuery('#mbm-book-links2').hide(); 25 jQuery('html, body').animate({ 26 scrollTop: (jQuery('.mbm-book-excerpt-read-more').offset().top - 100) 27 },500); 28 29 }); 30 31 // hover popup for grids and widgets 32 jQuery(".mbdb_grid_image").on('mouseenter', mbdb_show_popup_card) 33 .on('mouseleave', mbdb_hide_popup_card ); 34 jQuery('.mbdb_book_widget').on('mouseenter', mbdb_show_popup_card) 35 .on('mouseleave', mbdb_hide_popup_card ); 36 37 38 39}); // ready 40 41 42 function mbdb_show_popup_card( event ) { //}, image, element ) { 43 jQuery(this).find('.mbdb_book_info_popup').css({top: jQuery(this).height() * .75, left: jQuery(this).width() *.5 }).show(); 44 45} 46 47 48 function mbdb_hide_popup_card() { 49 jQuery(this).find('.mbdb_book_info_popup').hide(); 50 }
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.