1// JavaScript Document 2$(function(){ 3 "use strict"; 4 var obj = { 5 init : function(){ 6 this.slider(); 7 this.BlogIDX(); 8 this.Customscroll(); 9 }, 10 11 slider : function(){ 12 $('.main-slide').slick({ 13 dots: false, 14 autoplay: true, 15 arrows: false, 16 slidesToShow: 1, 17 centerMode: true, 18 variableWidth: true, 19 pauseOnHover: false, 20 infinite: true, 21 centerPadding: '0px', 22 responsive: [ 23 { 24 breakpoint: 641, 25 settings: { 26 variableWidth: false 27 } 28 } 29 ] 30 }); 31 }, 32 33 Information_tab : function(){ 34 var widthWin = $(window).width(); 35 if(widthWin < 641){ 36 $('.b03-ttl li').click(function(){ 37 var tab_id = $(this).attr('data-tab'); 38 39 $('.b03-ttl li').removeClass('current'); 40 $('.tab-content').removeClass('current'); 41 42 $(this).addClass('current'); 43 $("#"+tab_id).addClass('current'); 44 }); 45 } 46 }, 47 48 BlogIDX : function() { 49 $.ajax({ 50 'url' : 'news/_custom/', 51 'dataType' : 'jsonp', 52 'success' : function(json){ 53 $.each(json.data, function(i,val){ 54 var $li_ind = $('<li/>').html( 55 '<span class="b07-date">' + val.date + '</span>' + 56 '<a href="news/'+ val.url +'">' + val.title + '</a>' 57 ); 58 $li_ind.appendTo('.b07-list'); 59 60 }); 61 } 62 }); 63 }, 64 65 Customscroll : function(){ 66 $('.b07-scroll').mCustomScrollbar({ 67 theme:"dark" 68 }); 69 }, 70 71 }; 72 73 obj.init(); 74 75});
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.