1jQuery(document).ready(function($) { 2 "use strict"; 3 // Ticker 4 $('#mt-newsTicker').bxSlider({ 5 minSlides: 1, 6 maxSlides: 1, 7 speed: 3000, 8 mode: 'vertical', 9 auto: true, 10 controls: true, 11 prevText: '<i class="fa fa-backward"> </i>', 12 nextText: '<i class="fa fa-forward"> </i>', 13 pager: false, 14 onSliderLoad: function() { 15 $('#mt-newsTicker').removeClass('cS-hidden'); 16 } 17 }); 18 19 // Slider 20 $('.editorialSlider').bxSlider({ 21 pager: false, 22 controls: true, 23 prevText: '<i class="fa fa-chevron-left"> </i>', 24 nextText: '<i class="fa fa-chevron-right"> </i>', 25 touchEnabled: false, 26 onSliderLoad: function() { 27 $('.editorialSlider').removeClass('cS-hidden'); 28 } 29 }); 30 31 //Search toggle 32 $('.header-search-wrapper .search-main').click(function() { 33 $('.search-form-main').toggleClass('active-search'); 34 }); 35 36 //widget title wrap 37 $('.widget .widget-title,.related-articles-wrapper .related-title').wrap('<div class="widget-title-wrapper"></div>'); 38 39 //responsive menu toggle 40 $('.bottom-header-wrapper .menu-toggle').click(function(event) { 41 $('.bottom-header-wrapper #site-navigation').slideToggle('slow'); 42 }); 43 44 //responsive sub menu toggle 45 $('<a class="sub-toggle" href="javascript:void(0);"><i class="fa fa-angle-right"></i></a>').insertAfter('#site-navigation .menu-item-has-children>a, #site-navigation .page_item_has_children>a'); 46 47 $('#site-navigation .sub-toggle').click(function() { 48 $(this).parent('.menu-item-has-children').children('ul.sub-menu').first().slideToggle('1000'); 49 $(this).children('.fa-angle-right').first().toggleClass('fa-angle-down'); 50 }); 51 52 // Scroll To Top 53 $(window).scroll(function() { 54 if ($(this).scrollTop() > 700) { 55 $('#mt-scrollup').fadeIn('slow'); 56 } else { 57 $('#mt-scrollup').fadeOut('slow'); 58 } 59 }); 60 61 $('#mt-scrollup').click(function() { 62 $("html, body").animate({ 63 scrollTop: 0 64 }, 600); 65 return false; 66 }); 67 68 //column block wrap js 69 var divs = jQuery("section.editorial_block_column"); 70 for(var i=0; i<divs.length;) { 71 i += divs.eq(i).nextUntil(':not(.editorial_block_column').andSelf().wrapAll('<div class="editorial_block_column-wrap"> </div>').length; 72 } 73});
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.