1$(function(){ 2 3 /*---slick--*/ 4 5 $('#mv .sl').slick({ 6 autoplay: true, 7 adaptiveHeight: false, 8 arrows: false, 9 fade: true, 10 pauseOnFocus: false, 11 autoplaySpeed: 6000, 12 speed: 3000, 13 }).on('beforeChange', function(slick, currentSlide, nextSlide){ 14 $('#mv .sl').slick('slickSetOption', 'autoplaySpeed', 3000, true); 15 }); 16 17 $('#bn .sl').slick({ 18 autoplay: true, 19 adaptiveHeight: false, 20 arrows: false, 21 autoplaySpeed: 3500, 22 dots: true, 23 dotsClass: 'dots', 24 slidesToScroll: 2, 25 slidesToShow: 4, 26 slidesToScroll: 1, 27 speed: 400, 28 responsive: [ 29 { 30 breakpoint: 1300, 31 settings:{ 32 slidesToShow: 3, 33 } 34 }, 35 { 36 breakpoint: 1000, 37 settings:{ 38 slidesToShow: 2, 39 } 40 }, 41 { 42 breakpoint: 768, 43 settings:{ 44 slidesToShow: 2, 45 centerMode: true, 46 centerPadding: '40px', 47 } 48 }, 49 { 50 breakpoint: 500, 51 settings:{ 52 slidesToShow: 1, 53 centerMode: true, 54 centerPadding: '50px', 55 } 56 }, 57 ], 58 }); 59 60 $('#s_examtopic .sl').slick({ 61 autoplay: true, 62 adaptiveHeight: false, 63 arrows: false, 64 autoplaySpeed: 8000, 65 dots: true, 66 dotsClass: 'dots', 67 slidesToScroll: 4, 68 slidesToShow: 4, 69 speed: 400, 70 responsive: [ 71 { 72 breakpoint: 1200, 73 settings:{ 74 slidesToScroll: 3, 75 slidesToShow: 3, 76 } 77 }, 78 { 79 breakpoint: 920, 80 settings:{ 81 slidesToScroll: 2, 82 slidesToShow: 2, 83 } 84 }, 85 { 86 breakpoint: 500, 87 settings:{ 88 slidesToScroll: 1, 89 slidesToShow: 1, 90 } 91 }, 92 ], 93 }); 94 95 /*---count--*/ 96 97 $('#s_intro .heading.delay').on('inview', function(event, isInView, visiblePartX, visiblePartY){ 98 if(isInView){ 99 $('#s_intro .h strong').animate({ 100 Counter: 1095 101 }, { 102 duration: 3000, 103 easing: 'easeInOutExpo', 104 step: function (now, fx){ 105 $(this).html(Math.ceil(now)); 106 } 107 }); 108 } 109 }); 110 111 /*---s_news2---*/ 112 113 jQuery('#s_news2 ul a').on('click', function(){ 114 jQuery('#s_news2 ul li').removeClass('active'); 115 jQuery(this).parent('li').addClass('active'); 116 return false; 117 }); 118 119}); 120 121/*---video--*/ 122 123/* 124$(window).load(function(){ 125 var v1 = document.getElementById('v1'); 126 var v2 = document.getElementById('v2'); 127 v1.play(); 128 v1.addEventListener('ended', function(){ 129 $(this).hide(); 130 $(v2).show(); 131 v2.play(); 132 }); 133 v2.addEventListener('ended', function(){ 134 $(this).hide(); 135 $(v1).show(); 136 v1.play(); 137 }); 138}); 139*/ 140$(window).load(function(){ 141 var v1 = document.getElementById('v1'); 142 v1.play(); 143});
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.