https://austlogistics.com.au/wp-content/plugins/austlogistics-core/assets/js/public.js?ver=886101625
1; 2(function($) { 3 "use strict"; 4 5 /** 6 * Service Text slider 7 */ 8 var imageTextSlider = function($scope, $) { 9 var $_this = $scope.find('.owl-carousel'); 10 $_this.owlCarousel({ 11 loop: false, 12 rewind: false, 13 // margin: 0, 14 items: 3, 15 dots: false, 16 nav: true, 17 navText: ["<div class='nav-btn prev-slide'>Prev</div>", "<div class='nav-btn next-slide'>Next</div>"], 18 19 }) 20 } 21 22 23 24 25 26 /** 27 * Testimonials Text slider 28 */ 29 var testimonialsTextSlider = function($scope, $) { 30 var $_this = $scope.find('.owl-carousel'); 31 $_this.owlCarousel({ 32 loop: false, 33 rewind: false, 34 // margin: 0, 35 items: 3, 36 dots: false, 37 nav: true, 38 navText: ["<div class='nav-btn testimonials-prev-slide'>Prev</div>", "<div class='nav-btn testimonials-next-slide'>Next</div>"], 39 40 }) 41 } 42 43 /** 44 * Aust Logo slider 45 */ 46 var pcLogoSlider = function($scope, $) { 47 $(function() { 48 // Owl Carousel 49 var owl = $(".owl-carousel"); 50 owl.owlCarousel({ 51 center: true, 52 items: 7, 53 loop: true, 54 // margin:30, 55 nav: false, 56 dots: false, 57 autoplay: true, 58 slideTransition: 'linear', 59 autoplayTimeout: 6000, 60 autoplaySpeed: 6000, 61 autoplayHoverPause: true, 62 responsive: { 63 0: { 64 items: 2 65 }, 66 600: { 67 items: 4 68 }, 69 1000: { 70 items: 7 71 } 72 } 73 }); 74 }); 75 } 76 77 78 79 80 var memeberTab = function($scope, $) { 81 $(function() { 82 $('.tabs a').click(function() { 83 $('.panel').hide(); 84 $('.tabs a.active').removeClass('active'); 85 $(this).addClass('active'); 86 87 var panel = $(this).attr('href'); 88 $(panel).show(); 89 90 return false; // prevents link action 91 92 }); // end click 93 94 $('.tabs li:first a').click(); 95 96 }); // end ready 97 }; 98 99 100 101 var moreLess = function($scope, $) { 102 var $_this = $scope.find('.more-less-section'); 103 var $currentId = '#' + $_this.attr('id'); 104 //console.log($currentId); 105 $(document).ready(function() { 106 $($currentId).find('.js-click-more').on('click', function() { 107 // console.log(closest); 108 // $(this).parent().closest('.js-dis-1').slideUp(); 109 $($currentId).find('.js-click-more').slideUp('slow'); 110 $($currentId).find('.js-dis-2').slideDown('slow'); 111 }); 112 113 114 $($currentId).find('.js-click-less').on('click', function() { 115 // console.log(closest); 116 $(this).parent().closest('.js-dis-2').slideUp('slow'); 117 $($currentId).find('.js-dis-1').slideDown('slow'); 118 $($currentId).find('.js-click-more').slideDown('slow'); 119 }); 120 }); 121 }; 122 123 124 125 126 127 $(window).on('elementor/frontend/init', function() { 128 elementorFrontend.hooks.addAction('frontend/element_ready/austlogistics-member-tab.default', memeberTab); 129 elementorFrontend.hooks.addAction('frontend/element_ready/austlogistics-service-slider.default', imageTextSlider); 130 elementorFrontend.hooks.addAction('frontend/element_ready/austlogistics-testimonial-slider.default', testimonialsTextSlider); 131 elementorFrontend.hooks.addAction('frontend/element_ready/austlogistics-austlogistics-logo-slider.default', pcLogoSlider); 132 elementorFrontend.hooks.addAction('frontend/element_ready/austlogistics-less-more.default', moreLess); 133 });
134})(jQuery);
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.