1(function($) { 2 "use strict"; 3 4 var totalItens = $(this).find('.item').length; 5 /*---Owl-carousel----*/ 6 // ______________Owl-carousel-icons 7 var owl = $('.owl-carousel-icons'); 8 owl.owlCarousel({ 9 margin: 25, 10 loop: totalItens > 1, 11 nav: true, 12 autoplay: true, 13 dots: true, 14 dotsEach: true, 15 responsive: { 16 0: { 17 items: 1, 18 slideBy: 1 19 }, 20 600: { 21 items: 2, 22 slideBy: 1 23 }, 24 1300: { 25 items: 3, 26 slideBy: 1 27 } 28 } 29 }) 30 owl.on('initialized.owl.carousel', function(event) { 31 // Isso força o plugin a reler a quantidade de itens injetados pelo Smarty 32}); 33 34 // ______________Owl-carousel-icons2 35 var owl = $('.owl-carousel-icons-banner'); 36 owl.owlCarousel({ 37 margin: 0, 38 loop: true, 39 nav: true, 40 autoplay: true, 41 dots: false, 42 responsiveClass: true, 43 responsive: { 44 0: { 45 items: 1, 46 }, 47 600: { 48 items: 2, 49 }, 50 1300: { 51 items: 4, 52 } 53 } 54 }) 55 56 57 // ______________Owl-carousel-icons2 58 var owl = $('.owl-carousel-icons2'); 59 owl.owlCarousel({ 60 loop: true, 61 rewind: false, 62 margin: 25, 63 animateIn: 'fadeInDowm', 64 animateOut: 'fadeOutDown', 65 autoplay: true, 66 autoplayTimeout: 5000, // set value to change speed 67 autoplayHoverPause: true, 68 dots: false, 69 nav: true, 70 responsiveClass: true, 71 responsive: { 72 0: { 73 items: 1, 74 nav: true 75 }, 76 600: { 77 items: 2, 78 nav: true 79 }, 80 1300: { 81 items: 6, 82 nav: true 83 } 84 } 85 }) 86 87 // ______________Owl-carousel-icons3 88 var owl = $('.owl-carousel-icons3'); 89 owl.owlCarousel({ 90 margin: 25, 91 loop: true, 92 nav: false, 93 dots: false, 94 responsive: { 95 0: { 96 items: 1 97 }, 98 600: { 99 items: 2 100 }, 101 1000: { 102 items: 2 103 } 104 } 105 }) 106 107 // ______________Owl-carousel-icons4 108 var owl = $('.owl-carousel-icons4'); 109 owl.owlCarousel({ 110 margin: 25, 111 loop: true, 112 nav: false, 113 dots: false, 114 responsive: { 115 0: { 116 items: 1 117 }, 118 600: { 119 items: 3 120 }, 121 1000: { 122 items: 6 123 } 124 } 125 }) 126 127 // ______________Owl-carousel-icons5 128 var owl = $('.owl-carousel-icons5'); 129 owl.owlCarousel({ 130 loop: true, 131 rewind: false, 132 margin: 25, 133 animateIn: 'fadeInDowm', 134 animateOut: 'fadeOutDown', 135 autoplay: false, 136 autoplayTimeout: 5000, // set value to change speed 137 autoplayHoverPause: true, 138 dots: true, 139 nav: false, 140 responsiveClass: true, 141 responsive: { 142 0: { 143 items: 1, 144 nav: true 145 }, 146 600: { 147 items: 2, 148 nav: true 149 }, 150 1300: { 151 items: 4, 152 nav: true 153 } 154 } 155 }) 156 157 // ______________Owl-carousel-icons5 158 var owl = $('.owl-carousel-icons51'); 159 owl.owlCarousel({ 160 loop: true, 161 rewind: false, 162 margin: 25, 163 animateIn: 'fadeInDowm', 164 animateOut: 'fadeOutDown', 165 autoplay: true, 166 autoplayTimeout: 7000, // set value to change speed 167 autoplayHoverPause: true, 168 dots: false, 169 nav: false, 170 responsiveClass: true, 171 responsive: { 172 0: { 173 items: 1, 174 nav: true 175 }, 176 600: { 177 items: 2, 178 nav: true 179 }, 180 1300: { 181 items: 4, 182 nav: true 183 } 184 } 185 }) 186 187 // ______________Owl-carousel-icons6 188 var owl = $('.owl-carousel-icons6'); 189 owl.owlCarousel({ 190 margin: 25, 191 loop: true, 192 nav: false, 193 dots: false, 194 responsive: { 195 0: { 196 items: 1 197 }, 198 600: { 199 items: 2 200 }, 201 1000: { 202 items: 3 203 } 204 } 205 }) 206 207 var owl = $('.owl-carousel-icons8'); 208 owl.owlCarousel({ 209 margin: 25, 210 loop: true, 211 nav: true, 212 autoplay: true, 213 dots: false, 214 dotsEach: false, 215 responsive: { 216 0: { 217 items: 1, 218 slideBy: 1 219 }, 220 600: { 221 items: 2, 222 slideBy: 1 223 }, 224 1300: { 225 items: 7, 226 slideBy: 1 227 } 228 } 229 }) 230 231 // ______________Testimonial-owl-carousel2 232 var owl = $('.testimonial-owl-carousel2'); 233 owl.owlCarousel({ 234 margin: 25, 235 loop: true, 236 nav: false, 237 dots: false, 238 animateOut: 'fadeOut', 239 smartSpeed:450, 240 responsive: { 241 0: { 242 items: 1 243 } 244 } 245 }) 246 247 // ______________Testimonial-owl-carousel-slide 248 var owl = $('.testimonial-owl-carousel-slide'); 249 owl.owlCarousel({ 250 margin: 0, 251 loop: true, 252 nav: false, 253 dots: false, 254 animateOut: 'fadeout', 255 smartSpeed:450, 256 responsive: { 257 0: { 258 items: 1 259 } 260 } 261 }) 262 263 // ______________Testimonial-owl-carousel3 264 var owl = $('.testimonial-owl-carousel3'); 265 owl.owlCarousel({ 266 margin: 25, 267 loop: true, 268 nav: false, 269 dots: true, 270 responsive: { 271 0: { 272 items: 1 273 } 274 } 275 }) 276 // ______________Testimonial-owl-carousel3 277 var owl = $('.testimonial-owl-carousel31'); 278 owl.owlCarousel({ 279 margin: 0, 280 loop: true, 281 nav: false, 282 dots: true, 283 responsive: { 284 0: { 285 items: 1 286 } 287 } 288 }) 289 290 // ______________Testimonial-owl-carousel4 291 var owl = $('.testimonial-owl-carousel4'); 292 owl.owlCarousel({ 293 margin: 25, 294 loop: true, 295 nav: false, 296 dots: true, 297 responsive: { 298 0: { 299 items: 1 300 } 301 } 302 }) 303 304 // ______________Testimonial-owl-carousel 305 var owl = $('.testimonial-owl-carousel'); 306 owl.owlCarousel({ 307 loop: true, 308 rewind: false, 309 margin: 25, 310 autoplay: true, 311 animateIn: 'fadeInDowm', 312 animateOut: 'fadeOutDown', 313 autoplayTimeout: 5000, // set value to change speed 314 autoplayHoverPause: true, 315 dots: false, 316 nav: true, 317 responsiveClass: true, 318 responsive: { 319 0: { 320 items: 1, 321 nav: true 322 } 323 } 324 }) 325 326 /*---End Owl-carousel----*/ 327 328})(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.