1let viewWidth = $(window).width(); 2 3new fullpage('#fullpage', { 4 licenseKey: 'JJ1KK-DGJS9-V6K38-Q0JJK-MONSL', 5 credits: false, 6 autoScrolling:true, 7 anchors:['MAIN', 'PRODUCT','STRENGTH','MEDIA','APPLICATION','CSSUPPORT','INQUIRY'], 8 navigation: true, 9 responsiveWidth: 992, 10 normalScrollElements :'#test', 11 beforeLeave: function(origin, destination, direction, trigger) { 12 var idx = destination.index; 13 14 if(idx == 1 || idx == 2 || idx == 3){ 15 $('.bh .header_wrap').addClass('color') 16 }else{ 17 $('.bh .header_wrap').removeClass('color') 18 } 19 20 if(idx == 0 || idx == 4 || idx == 5 || idx== 6){ 21 $('.fp-right').removeClass('color') 22 }else{ 23 $('.fp-right').addClass('color') 24 } 25 if(viewWidth > 992){ 26 const Ani_before = $(".section" + (idx)).find(".animate-roll"); 27 Ani_before.each(function(index, item) { 28 Ani_before.eq(index).addClass('animate-in'); 29 let Option = Ani_before.eq(index).attr("data-anim-type") 30 let Delay = Ani_before.eq(index).attr("data-anim-delay") 31 if (Delay == '100') { 32 Ani_before.eq(index).css({ 33 "animation-delay": "0.1s" 34 }) 35 } else if (Delay == '200') { 36 Ani_before.eq(index).css({ 37 "animation-delay": "0.2s" 38 }) 39 } else if (Delay == '300') { 40 Ani_before.eq(index).css({ 41 "animation-delay": "0.3s" 42 }) 43 } else if (Delay == '400') { 44 Ani_before.eq(index).css({ 45 "animation-delay": "0.4s" 46 }) 47 } else if (Delay == '500') { 48 Ani_before.eq(index).css({ 49 "animation-delay": "0.5s" 50 }) 51 } else if (Delay == '600') { 52 Ani_before.eq(index).css({ 53 "animation-delay": "0.6s" 54 }) 55 } else if (Delay == '700') { 56 Ani_before.eq(index).css({ 57 "animation-delay": "0.7s" 58 }) 59 } else if (Delay == '800') { 60 Ani_before.eq(index).css({ 61 "animation-delay": "0.8s" 62 }) 63 } else if (Delay == '900') { 64 Ani_before.eq(index).css({ 65 "animation-delay": "0.9s" 66 }) 67 } else if (Delay == '1000') { 68 Ani_before.eq(index).css({ 69 "animation-delay": "1.0s" 70 }) 71 } else if (Delay == '1100') { 72 Ani_before.eq(index).css({ 73 "animation-delay": "1.1s" 74 }) 75 } else if (Delay == '1200') { 76 Ani_before.eq(index).css({ 77 "animation-delay": "1.2s" 78 }) 79 } else if (Delay == '1300') { 80 Ani_before.eq(index).css({ 81 "animation-delay": "1.3s" 82 }) 83 } else if (Delay == '1400') { 84 Ani_before.eq(index).css({ 85 "animation-delay": "1.4s" 86 }) 87 } else if (Delay == '1500') { 88 Ani_before.eq(index).css({ 89 "animation-delay": "1.5s" 90 }) 91 } 92 Ani_before.eq(index).addClass("animating"); 93 Ani_before.eq(index).addClass(Option); 94 Ani_before.removeClass("animate-in"); 95 }); 96 } 97 } 98}); 99 100$('.swiper-button-down').click(function(){ 101 fullpage_api.moveTo(2); 102})
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.