1//--------------------------------------------------------------------------------------------------------------- 2//-Dynamic min-heights 3//--------------------------------------------------------------------------------------------------------------- 4jQuery(document).ready(function () { 5 jQuery('div.owl-item .case_study_key_benefits_wrapper ul').matchHeight({ 6 property: 'min-height', 7 byRow: true 8 }); 9}); 10 // jQuery('.insight_isotope_v3_wrapper .news_wrapper').matchHeight({ 11// property: 'min-height', 12// byRow: false 13// }); 14// }); 15 16 17//--------------------------------------------------------------------------------------------------------------- 18//-Isotope V3 Loader 19//--------------------------------------------------------------------------------------------------------------- 20//funciont($) allows for the use of $ instead of jQuery 21// (function($) { 22// $( document ).ready(function() { 23// //Deep Linking Start 24// function getHashFilter() { 25// var hash = location.hash; 26// // get filter=filterName 27// var matches = location.hash.match( /filter=([^&]+)/i ); 28// var hashFilter = matches && matches[1]; 29 30// return hashFilter && decodeURIComponent( hashFilter ); 31// } 32 33// $( function() { 34 35// var $grid = $('.insight_isotope_v3_wrapper'); 36 37// // bind filter button click 38// var $filters = $('.insight_isotope_filter_wrapper').on( 'click', 'a', function() { 39// var filterAttr = $( this ).attr('data-filter'); 40// // set filter in hash 41// location.hash = 'filter=' + encodeURIComponent( filterAttr ); 42// }); 43 44// var isIsotopeInit = false; 45 46// function onHashchange() { 47// var hashFilter = getHashFilter(); 48// if ( !hashFilter && isIsotopeInit ) { 49// return; 50// } 51// isIsotopeInit = true; 52// // filter isotope 53// $grid.isotope({ 54// itemSelector: '.insight-isotope-item', 55// filter: hashFilter 56// }); 57// // set selected class on button 58// if ( hashFilter ) { 59// $filters.find('.is-checked').removeClass('is-checked'); 60// $filters.find('[data-filter="' + hashFilter + '"]').addClass('is-checked'); 61// } 62// } 63 64// $(window).on( 'hashchange', onHashchange ); 65// // trigger event handler to init Isotope 66// onHashchange(); 67// }); 68// }); 69 70// })( jQuery ); 71 72//--------------------------------------------------------------------------------------------------------------- 73//-Read More after x characters 74//--------------------------------------------------------------------------------------------------------------- 75(function($) { 76 $(document).ready(function() { 77 var moretext = 'Show More <span class="rotate">»</span>'; 78 var lesstext = 'Show Less <span class="rotate">«</span>'; 79 $('.leadership-toggle-bio').click(function(){ 80 if($(this).hasClass("less")) { 81 $(this).removeClass("less"); 82 $(this).html(moretext); 83 } else { 84 $(this).addClass("less"); 85 $(this).html(lesstext); 86 } 87 $(this).prev('.leadership-full-bio').fadeToggle(); 88 }); 89 }); 90})( jQuery );
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.