1var ecblib = ecblib || {}; 2ecblib.customize = ecblib.customize || {}; 3ecblib.customize.top = ecblib.customize.top || {}; 4 5(function () { 6 'use strict'; 7 8 var _top = ecblib.customize.top; 9 10}()); 11 12jQuery(function(){ 13 14 //-- MainVisual 15 jQuery('#top_main_slider').children('li').each(function(i,elem){ 16 jQuery(this).attr('data-num',i); 17 }); 18 var objSlide = jQuery('#top_main_slider').bxSlider({ 19 auto: true, 20 speed: 1500, 21 pause: 4000, 22 pager: true, 23 controls: true, 24 slideWidth: 1200, 25 slideMargin: 30, 26 infiniteLoop: true, 27 onSlideBefore: function($slideElement, oldIndex, newIndex){ 28 jQuery('#top_main_slider').children('li').removeClass('active').animate({ 29 opacity: 0.4 30 }, 300); 31 jQuery('#top_main_slider').children('li[data-num="' + newIndex + '"]').addClass('active').animate({ 32 opacity: 1 33 },300); 34 }, 35 onSlideAfter: function () { 36 objSlide.startAuto(); 37 } 38 }); 39 40 //-- Feature 41 if(jQuery('div.block-top-event--contents[id^="FEA"]').length){ 42 jQuery('#top_block_feature .feature-list').append(jQuery('div.block-top-event--contents[id^="FEA"]').addClass('feature-item')); 43 } 44 45 //-- Slider Item 46// if(jQuery('#block_of_event ul.block-pickup-list-p--items').length){ 47// jQuery('ul.block-pickup-list-p--items').each(function(){ 48// if(jQuery(this).find('.block-pickup-list-p--item-body').length > 5){ 49// jQuery(this).bxSlider({ 50// auto: false, 51// speed: 1500, 52// pause: 0, 53// pager: true, 54// controls: true, 55// slideWidth: 1200, 56// slideMargin: 0, 57// infiniteLoop: false, 58// hideControlOnEnd: true, 59// }); 60// } 61// }); 62// } 63 64});
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.