1 2jQuery(function($) { 3/* 4 $('#flipbook').each( function() { 5 var flipbookEL = $(this); 6 7 window.addEventListener('resize', function (e) { 8 flipbookEL.style.width = ''; 9 flipbookEL.style.height = ''; 10 jQuery(flipbookEL).turn('size', flipbookEL.clientWidth, flipbookEL.clientHeight); 11 }); 12 13 $(flipbookEL).turn({ 14 autoCenter: true 15 }); 16 17 $('.flipbook-prev').each( function() { 18 var this_obj = $(this); 19 $(this).on('click', function(e) { 20 e.preventDefault(); 21 $(flipbookEL).turn("previous"); 22 return false; 23 }); 24 }); 25 26 $('.flipbook-next').each( function() { 27 var this_obj = $(this); 28 $(this).on('click', function(e) { 29 e.preventDefault(); 30 $(flipbookEL).turn("next"); 31 return false; 32 }); 33 }); 34 }); 35*/ 36 37 38 39//Color big image control 40jQuery(".innerwebnier .toggle-more-detail").on('click', function (e) { 41 e.preventDefault(); 42 var parent = jQuery(this).closest('.jet-listing-grid__item'); 43 var box = parent.find('.more-detail-box'); 44 45 if ( parent.hasClass("active") ) { 46 parent.removeClass("active"); 47 box.slideUp(); 48 } else { 49 jQuery('.more-detail-box').slideUp(); 50 jQuery('.jet-listing-grid__item').removeClass("active"); 51 parent.addClass("active"); 52 box.slideDown(); 53 } 54}); 55 56start_hero_animation(); 57find_ceo(); 58 59}); 60 61 62function start_hero_animation() { 63 if ( jQuery('.slider-sidebox').length ) { 64 if ( typeof gsap !== 'undefined' ) { 65 var tl = gsap.timeline({defaults:{duration: 0.5}}); 66 tl.to(".slider-sidebox", {y:0,height:250, opacity: 1, ease:'Power02.out'}, 0.2) 67 .to(".slider-sidebox", {duration: 0.5, y:0,width:150, ease:'Power04.out'}, '-=0.1') 68 //.to(".anim1", {y:0, stagger: .6, opacity: 1}) 69 //.to(rule, {duration: 0.8,cssRule: {yPercent: -100}}, "-=0.2") 70 //.from("aside", {backgroundPosition: '200px 0px', opacity: 0}, "-=1.5") 71 //.from("img", {y:30, opacity: 0}, "-=.5") 72 } 73 } 74} 75 76function find_ceo() { 77 var name = 'Luis Lizán'; 78 jQuery( ".personname" ).each(function( index ) { 79 var text = jQuery(this).find('.jet-listing-dynamic-field__content').html(); 80 //console.log(name); 81 if(text == name) { 82 jQuery(this).closest('.jet-listing-grid__item').addClass('disablelist'); 83 } 84 }); 85}
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.