1// Owl Carousel 2var OwlCarousel = function() { 3 "use strict"; 4 5 // Handle Owl Carousel Testimonials One Item 6 var handleTestimonialsOneItem = function() { 7 $(document).ready(function() { 8 var owl = $(".owl-carousel-testimonials-one-item"); 9 owl.owlCarousel({ 10 items: 1, 11 loop: true, 12 dots: true, 13 nav: false, 14 margin: 30, 15 autoplay: true, 16 smartSpeed: 450, 17 autoplaySpeed: 1000 18 }); 19 }); 20 } 21 22 // Handle Owl Carousel Testimonials Three Item 23 var handleTestimonialsThreeItem = function() { 24 $(document).ready(function() { 25 var owl = $(".owl-carousel-testimonials-three-item"); 26 owl.owlCarousel({ 27 items: 3, 28 loop: true, 29 dots: false, 30 nav: true, 31 navText: ['', ''], 32 navContainer: '.owl-controls-testimonials-three-item', 33 margin: 30, 34 autoplay: true, 35 smartSpeed: 450, 36 autoplaySpeed: 1000, 37 responsive: { 38 // breakpoint from 0 up 39 0: { 40 items: 1 41 }, 42 // breakpoint from 480 up 43 480: { 44 items: 1 45 }, 46 // breakpoint from 550 up 47 550: { 48 items: 1 49 }, 50 // breakpoint from 768 up 51 768: { 52 items: 2 53 }, 54 // breakpoint from 992 up 55 992: { 56 items: 3 57 }, 58 // breakpoint from 1199 up 59 1199: { 60 items: 3 61 } 62 } 63 }); 64 65 // Custom Navigation Events 66 $('.owl-controls-testimonials-three-item-next').on('click', function() { 67 owl.trigger('next.owl.carousel'); 68 }) 69 $('.owl-controls-testimonials-three-item-prev').on('click', function() { 70 owl.trigger('prev.owl.carousel', [300]); 71 }) 72 }); 73 } 74 75 // Handle Owl Carousel Team v1 76 var handleTeamV1 = function() { 77 $(document).ready(function() { 78 var owl = $(".owl-carousel-team-v1"); 79 owl.owlCarousel({ 80 items: 3, 81 loop: true, 82 dots: false, 83 nav: true, 84 navText: ['', ''], 85 navContainer: '.owl-controls-team-v1', 86 margin: 30, 87 autoplay: true, 88 smartSpeed: 450, 89 autoplaySpeed: 1000, 90 responsive: { 91 // breakpoint from 0 up 92 0: { 93 items: 1 94 }, 95 // breakpoint from 480 up 96 480: { 97 items: 1 98 }, 99 // breakpoint from 550 up 100 550: { 101 items: 1 102 }, 103 // breakpoint from 768 up 104 768: { 105 items: 2 106 }, 107 // breakpoint from 992 up 108 992: { 109 items: 3 110 }, 111 // breakpoint from 1199 up 112 1199: { 113 items: 3 114 } 115 } 116 }); 117 118 // Custom Navigation Events 119 $('.owl-controls-team-v1-next').on('click', function() { 120 owl.trigger('next.owl.carousel'); 121 }) 122 $('.owl-controls-team-v1-prev').on('click', function() { 123 owl.trigger('prev.owl.carousel', [300]); 124 }) 125 }); 126 } 127
128 // Handle Owl Carousel Testimonials v4 129 var handleTestimonialsV4 = function() { 130 $(document).ready(function() { 131 var owl = $(".owl-carousel-testimonials-v4"); 132 owl.owlCarousel({ 133 items: 1, 134 loop: true, 135 dots: true, 136 nav: false, 137 margin: 30, 138 autoplay: true, 139 smartSpeed: 450, 140 autoplaySpeed: 1000, 141 animateIn: 'fadeIn', 142 animateOut: 'fadeOut', 143 dotsContainer: '.owl-nav-testimonials-v4' 144 }); 145 }); 146 } 147 148 // Handle Owl Carousel Clients Five Item 149 var handleClientsFiveItem = function() { 150 $(document).ready(function() { 151 var owl = $(".owl-carousel-clients-five-item"); 152 owl.owlCarousel({ 153 items: 5, 154 loop: true, 155 dots: false, 156 nav: false, 157 margin: 20, 158 autoplay: true, 159 smartSpeed: 450, 160 autoplaySpeed: 1000, 161 responsive: { 162 // breakpoint from 0 up 163 0: { 164 items: 2 165 }, 166 // breakpoint from 480 up 167 480: { 168 items: 3 169 }, 170 // breakpoint from 550 up 171 550: { 172 items: 4 173 }, 174 // breakpoint from 768 up 175 768: { 176 items: 5 177 }, 178 // breakpoint from 992 up 179 992: { 180 items: 4 181 }, 182 // breakpoint from 1199 up 183 1199: { 184 items: 5 185 } 186 } 187 }); 188 }); 189 } 190 191 // Handle Owl Carousel Clients Six Item 192 var handleClientsSixItem = function() { 193 $(document).ready(function() { 194 var owl = $(".owl-carousel-clients-six-item"); 195 owl.owlCarousel({ 196 items: 6, 197 loop: true, 198 dots: false, 199 nav: false, 200 margin: 20, 201 autoplay: true, 202 smartSpeed: 750, 203 autoplaySpeed: 10000, 204 slideSpeed: 700, 205 responsive: { 206 // breakpoint from 0 up 207 0: { 208 items: 2 209 }, 210 // breakpoint from 480 up 211 480: { 212 items: 3 213 }, 214 // breakpoint from 550 up 215 550: { 216 items: 4 217 }, 218 // breakpoint from 768 up 219 768: { 220 items: 4 221 }, 222 // breakpoint from 992 up 223 992: { 224 items: 5 225 }, 226 // breakpoint from 1199 up 227 1199: { 228 items: 6 229 } 230 } 231 }); 232 }); 233 } 234 235 // Handle Owl Carousel Blog Grid Thumb 236 var handleBlogGridThumb = function() { 237 $(document).ready(function() { 238 var owl = $(".owl-carousel-blog-grid-thumb"); 239 owl.owlCarousel({ 240 items: 5, 241 loop: true, 242 dots: false, 243 nav: false, 244 autoplay: true, 245 smartSpeed: 450, 246 autoplaySpeed: 1000, 247 responsive: { 248 // breakpoint from 0 up 249 0: { 250 items: 2 251 }, 252 // breakpoint from 480 up 253 480: { 254 items: 2 255 }, 256 // breakpoint from 550 up 257 550: { 258 items: 2 259 }, 260 // breakpoint from 768 up 261 768: { 262 items: 3 263 }, 264 // breakpoint from 992 up 265 992: { 266 items: 4 267 }, 268 // breakpoint from 1199 up 269 1199: { 270 items: 5 271 } 272 } 273 }); 274 }); 275 } 276
277 // Handle Owl Carousel One Item 278 var handleOneItem = function() { 279 $(document).ready(function() { 280 var owl = $(".owl-carousel-one-item"); 281 owl.owlCarousel({ 282 items: 1, 283 loop: true, 284 dots: true, 285 nav: false, 286 smartSpeed: 450 287 }); 288 }); 289 } 290 291 // Handle Owl Carousel Four Item 292 var fandleFourItem = function() { 293 $(document).ready(function() { 294 var owl = $(".owl-carousel-four-item"); 295 owl.owlCarousel({ 296 items: 4, 297 loop: true, 298 dots: false, 299 nav: true, 300 navText: ['', ''], 301 navContainer: '.owl-controls-four-item', 302 margin: 20, 303 autoplay: true, 304 smartSpeed: 450, 305 autoplaySpeed: 1000, 306 responsive: { 307 // breakpoint from 0 up 308 0: { 309 items: 1 310 }, 311 // breakpoint from 480 up 312 480: { 313 items: 1 314 }, 315 // breakpoint from 550 up 316 550: { 317 items: 1 318 }, 319 // breakpoint from 768 up 320 768: { 321 items: 2 322 }, 323 // breakpoint from 992 up 324 992: { 325 items: 3 326 }, 327 // breakpoint from 1199 up 328 1199: { 329 items: 4 330 } 331 } 332 }); 333 334 // Custom Navigation Events 335 $('.owl-controls-four-item-next').on('click', function() { 336 owl.trigger('next.owl.carousel'); 337 }) 338 $('.owl-controls-four-item-prev').on('click', function() { 339 owl.trigger('prev.owl.carousel', [300]); 340 }) 341 }); 342 } 343 344 // Handle Owl Carousel Mockup Slider v1 345 var handleMockupSliderV1 = function() { 346 $(document).ready(function() { 347 var owl = $(".owl-carousel-mockup-slider-v1"); 348 owl.owlCarousel({ 349 items: 1, 350 dots: true, 351 nav: false, 352 mouseDrag: false, 353 touchDrag: false, 354 pullDrag: false, 355 smartSpeed: 250, 356 animateIn: 'fadeIn', 357 animateOut: 'fadeOut', 358 dotsContainer: '.owl-nav-mockup-slider-v1' 359 }); 360 }); 361 } 362 363 // Handle Owl Carousel News v12 364 var handleNewsV12 = function() { 365 $(document).ready(function() { 366 var owl = $(".owl-carousel-news-v12"); 367 owl.owlCarousel({ 368 items: 3, 369 loop: true, 370 dots: true, 371 nav: false, 372 margin: 30, 373 autoplay: false, 374 smartSpeed: 450, 375 responsive: { 376 // breakpoint from 0 up 377 0: { 378 items: 1 379 }, 380 // breakpoint from 480 up 381 480: { 382 items: 1 383 }, 384 // breakpoint from 550 up 385 550: { 386 items: 1 387 }, 388 // breakpoint from 768 up 389 768: { 390 items: 2 391 }, 392 // breakpoint from 992 up 393 992: { 394 items: 3 395 }, 396 // breakpoint from 1199 up 397 1199: { 398 items: 3 399 } 400 } 401 }); 402 }); 403 } 404 405 // Handle Owl Carousel Team v12 406 var handleTeamV12 = function() { 407 $(document).ready(function() { 408 var owl = $(".owl-carousel-team-v12"); 409 owl.owlCarousel({ 410 items: 3, 411 loop: true, 412 dots: false, 413 nav: false, 414 margin: 30, 415 autoplay: false, 416 autoplay: true, 417 smartSpeed: 450, 418 autoplaySpeed: 1000, 419 responsive: { 420 // breakpoint from 0 up 421 0: { 422 items: 1 423 }, 424 // breakpoint from 480 up 425 480: { 426 items: 1 427 }, 428 // breakpoint from 550 up 429 600: { 430 items: 2 431 }, 432 // breakpoint from 768 up 433 768: { 434 items: 2 435 }, 436 // breakpoint from 992 up 437 992: { 438 items: 3 439 }, 440 // breakpoint from 1199 up 441 1199: { 442 items: 3 443 } 444 } 445 }); 446 }); 447 } 448 449 return { 450 init: function() { 451 handleTestimonialsOneItem(); // initial setup for testimonials one item 452 handleTestimonialsThreeItem(); // initial setup for testimonials three item 453 handleTeamV1(); // initial setup for team v1 454 handleTestimonialsV4(); // initial setup for testimonials v4 455 handleClientsFiveItem(); // initial setup for clients five item 456 handleClientsSixItem(); // initial setup for clients six item 457 handleBlogGridThumb(); // initial setup for blog grid thumb
458 handleOneItem(); // initial setup for one item 459 fandleFourItem(); // initial setup for four item 460 handleMockupSliderV1(); // initial setup for mockup slider v1 461 handleNewsV12(); // initial setup for news v12 462 handleTeamV12(); // initial setup for team v12 463 } 464 } 465}(); 466 467$(document).ready(function() { 468 OwlCarousel.init(); 469});
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.