1jQuery(function ($) { 2 if($('body').hasClass('rtl')){ 3 var rtlClass = true; 4 } else { 5 var rtlClass = false; 6 } 7 8 //Navigation toggle 9 $("#toggle").click(function () { 10 $(this).toggleClass("on"); 11 $("#menu").slideToggle(); 12 }); 13 14 15 $('.search-icon a').click(function () { 16 $('.search-box').addClass('active'); 17 }); 18 19 $('.search-box .close').click(function () { 20 $('.search-box').removeClass('active'); 21 }); 22 23 // Woocommerce single page thumbinal image slide 24 $('.single-img .img-wrap .images > .thumbnails').slick({ 25 infinite: true, 26 centerMode: false, 27 useCss: false, 28 easing: 'linear', 29 edgeFriction: '0.15', 30 lazyLoad: 'ondemand', 31 speed: 500, 32 slidesToShow: 4, 33 slidesToScroll: 1, 34 cssEase: 'ease', 35 rtl: rtlClass, 36 responsive: [ 37 { 38 breakpoint: 1024, 39 settings: { 40 slidesToShow: 3, 41 slidesToScroll: 1, 42 dots: true 43 } 44 }, 45 { 46 breakpoint: 600, 47 settings: { 48 slidesToShow: 2, 49 slidesToScroll: 1 50 } 51 }, 52 { 53 breakpoint: 480, 54 settings: { 55 slidesToShow: 1, 56 slidesToScroll: 1 57 } 58 } 59 60 ] 61 }); 62 63// end 64 65 $('.new-prod-slide').slick({ 66 infinite: true, 67 centerMode: false, 68 useCss: false, 69 easing: 'linear', 70 edgeFriction: '0.15', 71 lazyLoad: 'ondemand', 72 speed: 500, 73 slidesToShow: 4, 74 slidesToScroll: 1, 75 cssEase: 'ease', 76 rtl: rtlClass, 77 responsive: [ 78 { 79 breakpoint: 1024, 80 settings: { 81 slidesToShow: 3, 82 slidesToScroll: 1, 83 dots: true 84 } 85 }, 86 { 87 breakpoint: 600, 88 settings: { 89 slidesToShow: 2, 90 slidesToScroll: 1 91 } 92 }, 93 { 94 breakpoint: 480, 95 settings: { 96 slidesToShow: 1, 97 slidesToScroll: 1 98 } 99 } 100 ] 101 }); 102 103 $('.feature-cat-product').slick({ 104 infinite: true, 105 centerMode: false, 106 useCss: false, 107 easing: 'linear', 108 edgeFriction: '0.15', 109 lazyLoad: 'ondemand', 110 speed: 500, 111 slidesToShow: 2, 112 slidesToScroll: 1, 113 cssEase: 'ease', 114 rtl: rtlClass, 115 responsive: [ 116 { 117 breakpoint: 1024, 118 settings: { 119 slidesToShow: 2, 120 slidesToScroll: 1, 121 dots: true 122 } 123 }, 124 { 125 breakpoint: 600, 126 settings: { 127 slidesToShow: 1, 128 slidesToScroll: 1 129 } 130 }, 131 { 132 breakpoint: 480, 133 settings: { 134 slidesToShow: 1, 135 slidesToScroll: 1 136 } 137 } 138 ] 139 }); 140 141 new WOW().init(); 142 143 $('#ak-top').css('right', -65); 144 $(window).scroll(function () { 145 if ($(this).scrollTop() > 300) { 146 $('#ak-top').css('right', 20); 147 } else { 148 $('#ak-top').css('right', -65); 149 } 150 }); 151 152 $("#ak-top").click(function () { 153 $('html,body').animate({scrollTop: 0}, 600); 154 }); 155 156 $('.ticker-wrapper').show(); 157 158$('.navigation').addClass("clearfix"); 159 160 161$('#ticker').ticker({ 162 speed: 0.10, // The speed of the reveal 163 ajaxFeed: false, // Populate jQuery News Ticker via a feed 164 feedUrl: false, // The URL of the feed 165 // MUST BE ON THE SAME DOMAIN AS THE TICKER 166 //feedType: 'xml', // Currently only XML 167 htmlFeed: true, // Populate jQuery News Ticker via HTML 168 debugMode: true, // Show some helpful errors in the console or as alerts 169 // SHOULD BE SET TO FALSE FOR PRODUCTION SITES! 170 controls: true, // Whether or not to show the jQuery News Ticker
170controls 171 titleText: accesspress_store_script.ticker_title, // To remove the title set this to an empty String 172 displayType: 'reveal', // Animation type - current options are 'reveal' or 'fade' 173 direction: 'ltr', // Ticker direction - current options are 'ltr' or 'rtl' 174 fadeInSpeed: 900, // Speed of fade in animation 175 fadeOutSpeed: 300, 176 pauseOnItems: 3000, // The pause on a news item before being replaced 177}); 178 179 180 181});//doc close
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.