1/* 2 3 4 ___ __ __ __ _ 5 _____/ (_)____/ /__ ________ / /_/ /____ _____ (_)____ 6 / ___/ / / ___/ //_/_____/ ___/ _ \/ __/ __/ _ \/ ___// / ___/ 7 (__ ) / / /__/ ,< /_____(__ ) __/ /_/ /_/ __/ / / (__ ) 8/____/_/_/\___/_/|_| /____/\___/\__/\__/\___/_(_)_/ /____/ 9 /___/ 10 11 Version: 2.1.5 12 Author: digiPublica 13 Website: https://www.digipublica.de 14 Desc: digiPublica Included Initializer for Slick Slider 15 16*/ 17 18 19jQuery(document).ready(function(){ 20 jQuery(".slider").each(function() { 21 //SETTER FOR EMBEDDED ELEMENT 22 var pageteaser = jQuery(this).find(".pageteaser"); 23 var container = jQuery(this).find(".container"); 24 var nextevents = jQuery(this).find(".nextevents"); 25 var gdcList = jQuery(this).find(".gdc-list"); 26 27 var slickwrap = jQuery(this); 28 var dataShow = parseInt(jQuery(slickwrap).attr("data-show")); 29 var transition = parseInt(jQuery(slickwrap).attr("data-transition")); 30 var resizeTimer; 31 32 //DETECT IF IS IN BACKEND 33 if (jQuery(slickwrap).is('[data-backend]')) { 34 var sliderAccessibility = false; 35 } else { 36 var sliderAccessibility = true; 37 } 38 39 //DETECT IF HEIGHT IS ADAPTIVE 40 if (jQuery(slickwrap).is('[data-height-adaptive]')) { 41 var sliderAdaptiveHeight = true; 42 } else { 43 var sliderAdaptiveHeight = false; 44 } 45 46 //DETECT IF AUTOPLAY IS SET 47 if (jQuery(slickwrap).is('[data-autoplay]')) { 48 var sliderAutoplay = jQuery(slickwrap).attr("data-autoplay"); 49 var sliderPauseOnHover = jQuery(slickwrap).attr("data-pause-on-hover"); 50 if (sliderPauseOnHover == "enabled") { 51 var sliderPauseOnHover = true; 52 } else { 53 var sliderPauseOnHover = false; 54 } 55 } else { 56 var sliderAutoplay = false; 57 var sliderPauseOnHover = false; 58 } 59 60 //DETECT IF CONTROLS IS SET 61 if (jQuery(slickwrap).is('[data-controls]')) { 62 var sliderControls = jQuery(slickwrap).attr("data-controls"); 63 var sliderButtons = jQuery(slickwrap).attr("data-buttons"); 64 var sliderPagination = jQuery(slickwrap).attr("data-pagination"); 65 if (sliderButtons == "enabled") { 66 var sliderButtons = true; 67 } else { 68 var sliderButtons = false; 69 } 70 if (sliderPagination == "enabled") { 71 var sliderPagination = true; 72 } else { 73 var sliderPagination = false; 74 } 75 } else { 76 var sliderControls = false; 77 var sliderButtons = false; 78 var sliderPagination = false; 79 } 80 81 //DETECT IF CENTERMODE IS ENABLED 82 if (jQuery(slickwrap).is('[data-centermode]')) { 83 var sliderCentermode = jQuery(slickwrap).attr("data-centermode"); 84 if (sliderCentermode == "enabled") { 85 var sliderCentermode = true; 86 } else { 87 var sliderCentermode = false;
88 } 89 } 90 91 //DETECT IF DURATION IS SET 92 if (jQuery(slickwrap).is('[data-duration]')) { 93 var sliderDuration = parseInt(jQuery(slickwrap).attr("data-duration")); 94 } else { 95 var sliderDuration = 5000; 96 } 97 98 function slickSettings() { 99 if (jQuery(slickwrap).is('[data-height-desktop]') && jQuery(window).width() > 767) { 100 var sliderHeightDesktop = jQuery(slickwrap).attr("data-height-desktop"); 101 jQuery(slickwrap).css("height", sliderHeightDesktop); 102 } 103 if (jQuery(slickwrap).is('[data-height-mobile]') && jQuery(window).width() < 767) { 104 var sliderHeightMobile = jQuery(slickwrap).attr("data-height-mobile"); 105 jQuery(slickwrap).css("height", sliderHeightMobile); 106 } 107 } 108 //INITIALIZE SLICK 109 if(jQuery(pageteaser).length) { 110 if (dataShow == 5) { 111 jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({ 112 autoplay: sliderAutoplay, 113 autoplaySpeed: sliderDuration, 114 pauseOnHover: sliderPauseOnHover, 115 pauseOnFocus: sliderPauseOnHover, 116 accessibility: sliderAccessibility, 117 adaptiveHeight: sliderAdaptiveHeight, 118 arrows: sliderButtons, 119 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 120 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 121 customPaging: function(slider, i) { 122 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 123 }, 124 dots: sliderPagination, 125 centerMode: sliderCentermode, 126 speed: transition, 127 slide: 'div', 128 slidesToShow: dataShow, 129 slidesToScroll: dataShow, 130 responsive: [ 131 { 132 breakpoint: 1700, 133 settings: { 134 slidesToShow: 4, 135 slidesToScroll: 4 136 } 137 }, 138 { 139 breakpoint: 1550, 140 settings: { 141 arrows: sliderButtons, 142 dots: sliderPagination 143 } 144 }, 145 { 146 breakpoint: 1400, 147 settings: { 148 slidesToShow: 3, 149 slidesToScroll: 3, 150 arrows: sliderButtons, 151 dots: sliderPagination 152 } 153 }, 154 { 155 breakpoint: 1100, 156 settings: { 157 slidesToShow: 2, 158 slidesToScroll: 2, 159 arrows: sliderButtons, 160 dots: sliderPagination 161 } 162 }, 163 { 164 breakpoint: 800, 165 settings: { 166 slidesToShow: 1, 167 slidesToScroll: 1, 168 arrows: sliderButtons, 169 dots: sliderPagination 170 } 171 } 172 ] 173 }); 174 } else if (dataShow == 4) { 175 jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({ 176 autoplay: sliderAutoplay, 177 autoplaySpeed: sliderDuration, 178 pauseOnHover: sliderPauseOnHover, 179 pauseOnFocus: sliderPauseOnHover, 180 accessibility: sliderAccessibility, 181 adaptiveHeight: sliderAdaptiveHeight, 182 arrows: sliderButtons, 183 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 184 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 185 customPaging: function(slider, i) { 186 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 187 }, 188 dots: sliderPagination, 189 centerMode: sliderCentermode, 190 speed: transition, 191 slide: 'div', 192 slidesToShow: dataShow, 193 slidesToScroll: dataShow, 194 responsive: [ 195 { 196 breakpoint: 1550, 197 settings: { 198 arrows: sliderButtons, 199 dots: sliderPagination 200 } 201 }, 202 { 203 breakpoint: 1400, 204 settings: { 205 slidesToShow: 3, 206 slidesToScroll: 3, 207 arrows: sliderButtons, 208 dots: sliderPagination 209 } 210 }, 211 { 212 breakpoint: 1100, 213 settings: { 214 slidesToShow: 2, 215 slidesToScroll: 2, 216 arrows: sliderButtons, 217 dots: sliderPagination 218 } 219 }, 220 { 221 breakpoint: 800, 222 settings: { 223 slidesToShow: 1, 224 slidesToScroll: 1, 225 arrows: sliderButtons, 226 dots: sliderPagination 227 } 228 } 229 ] 230 }); 231 } else if (dataShow == 3) { 232 jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({ 233 autoplay: sliderAutoplay, 234 autoplaySpeed: sliderDuration, 235 pauseOnHover: sliderPauseOnHover, 236 pauseOnFocus: sliderPauseOnHover, 237 accessibility: sliderAccessibility, 238 adaptiveHeight: sliderAdaptiveHeight, 239 arrows: sliderButtons, 240 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 241 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 242 customPaging: function(slider, i) { 243 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 244 }, 245 dots: sliderPagination, 246 centerMode: sliderCentermode, 247 speed: transition, 248 slide: 'div', 249 slidesToShow: dataShow, 250 slidesToScroll: dataShow, 251 responsive: [ 252 { 253 breakpoint: 1550, 254 settings: { 255 arrows: sliderButtons, 256 dots: sliderPagination 257 } 258 }, 259 { 260 breakpoint: 1100, 261 settings: { 262 slidesToShow: 2, 263 slidesToScroll: 2, 264 arrows: sliderButtons, 265 dots: sliderPagination 266 } 267 }, 268 { 269 breakpoint: 800, 270 settings: { 271 slidesToShow: 1, 272 slidesToScroll: 1, 273 arrows: sliderButtons, 274 dots: sliderPagination 275 } 276 } 277 ] 278 }); 279 } else if (dataShow == 2) { 280 jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({ 281 autoplay: sliderAutoplay, 282 autoplaySpeed: sliderDuration, 283 pauseOnHover: sliderPauseOnHover, 284 pauseOnFocus: sliderPauseOnHover, 285 accessibility: sliderAccessibility, 286 adaptiveHeight: sliderAdaptiveHeight, 287 arrows: sliderButtons, 288 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 289 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 290 customPaging: function(slider, i) { 291 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 292 }, 293 dots: sliderPagination, 294 centerMode: sliderCentermode, 295 speed: transition, 296 slide: 'div', 297 slidesToShow: dataShow, 298 slidesToScroll: dataShow, 299 responsive: [ 300 { 301 breakpoint: 1550, 302 settings: { 303 arrows: sliderButtons, 304 dots: sliderPagination 305 } 306 }, 307 { 308 breakpoint: 800, 309 settings: { 310 slidesToShow: 1, 311 slidesToScroll: 1, 312 arrows: sliderButtons, 313 dots: sliderPagination 314 } 315 } 316 ] 317 }); 318 } else if (dataShow == 1) { 319 jQuery(slickwrap).find('.pageteaser .pageteaser-content').slick({ 320 autoplay: sliderAutoplay, 321 autoplaySpeed: sliderDuration, 322 pauseOnHover: sliderPauseOnHover, 323 pauseOnFocus: sliderPauseOnHover, 324 accessibility: sliderAccessibility, 325 adaptiveHeight: sliderAdaptiveHeight, 326 arrows: sliderButtons, 327 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 328 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 329 customPaging: function(slider, i) { 330 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 331 }, 332 dots: sliderPagination, 333 centerMode: sliderCentermode, 334 speed: transition, 335 slide: 'div', 336 slidesToShow: dataShow, 337 slidesToScroll: dataShow, 338 responsive: [ 339 { 340 breakpoint: 1550, 341 settings: { 342 arrows: sliderButtons, 343 dots: sliderPagination 344 } 345 }, 346 { 347 breakpoint: 800, 348 settings: { 349 arrows: sliderButtons, 350 dots: sliderPagination 351 } 352 } 353 ] 354 }); 355 } 356 } else if(jQuery(gdcList).length) { 357 if (dataShow == 5) { 358 jQuery(slickwrap).find('.gdc-list > div').slick({ 359 autoplay: sliderAutoplay, 360 autoplaySpeed: sliderDuration, 361 pauseOnHover: sliderPauseOnHover, 362 pauseOnFocus: sliderPauseOnHover, 363 accessibility: sliderAccessibility, 364 adaptiveHeight: sliderAdaptiveHeight, 365 arrows: sliderButtons, 366 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 367 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 368 customPaging: function(slider, i) { 369 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 370 }, 371 dots: sliderPagination, 372 centerMode: sliderCentermode, 373 speed: transition, 374 slide: 'div', 375 slidesToShow: dataShow, 376 slidesToScroll: dataShow, 377 responsive: [ 378 { 379 breakpoint: 1700, 380 settings: { 381 slidesToShow: 4, 382 slidesToScroll: 4 383 } 384 }, 385 { 386 breakpoint: 1550, 387 settings: { 388 arrows: sliderButtons, 389 dots: sliderPagination 390 } 391 }, 392 { 393 breakpoint: 1400, 394 settings: { 395 slidesToShow: 3, 396 slidesToScroll: 3, 397 arrows: sliderButtons, 398 dots: sliderPagination 399 } 400 }, 401 { 402 breakpoint: 1100, 403 settings: { 404 slidesToShow: 2, 405 slidesToScroll: 2, 406 arrows: sliderButtons, 407 dots: sliderPagination 408 } 409 }, 410 { 411 breakpoint: 800, 412 settings: { 413 slidesToShow: 1, 414 slidesToScroll: 1, 415 arrows: sliderButtons, 416 dots: sliderPagination 417 } 418 } 419 ] 420 }); 421 } else if (dataShow == 4) { 422 jQuery(slickwrap).find('.gdc-list > div').slick({ 423 autoplay: sliderAutoplay, 424 autoplaySpeed: sliderDuration, 425 pauseOnHover: sliderPauseOnHover, 426 pauseOnFocus: sliderPauseOnHover, 427 accessibility: sliderAccessibility, 428 adaptiveHeight: sliderAdaptiveHeight, 429 arrows: sliderButtons, 430 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 431 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 432 customPaging: function(slider, i) { 433 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 434 }, 435 dots: sliderPagination, 436 centerMode: sliderCentermode, 437 speed: transition, 438 slide: 'div', 439 slidesToShow: dataShow, 440 slidesToScroll: dataShow, 441 responsive: [ 442 { 443 breakpoint: 1550, 444 settings: { 445 arrows: sliderButtons, 446 dots: sliderPagination 447 } 448 }, 449 { 450 breakpoint: 1400, 451 settings: { 452 slidesToShow: 3, 453 slidesToScroll: 3, 454 arrows: sliderButtons, 455 dots: sliderPagination 456 } 457 }, 458 { 459 breakpoint: 1100, 460 settings: { 461 slidesToShow: 2, 462 slidesToScroll: 2, 463 arrows: sliderButtons, 464 dots: sliderPagination 465 } 466 }, 467 { 468 breakpoint: 800, 469 settings: { 470 slidesToShow: 1, 471 slidesToScroll: 1, 472 arrows: sliderButtons, 473 dots: sliderPagination 474 } 475 } 476 ] 477 }); 478 } else if (dataShow == 3) { 479 jQuery(slickwrap).find('.gdc-list > div').slick({ 480 autoplay: sliderAutoplay, 481 autoplaySpeed: sliderDuration, 482 pauseOnHover: sliderPauseOnHover, 483 pauseOnFocus: sliderPauseOnHover, 484 accessibility: sliderAccessibility, 485 adaptiveHeight: sliderAdaptiveHeight, 486 arrows: sliderButtons, 487 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 488 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 489 customPaging: function(slider, i) { 490 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 491 }, 492 dots: sliderPagination, 493 centerMode: sliderCentermode, 494 speed: transition, 495 slide: 'div', 496 slidesToShow: dataShow, 497 slidesToScroll: dataShow, 498 responsive: [ 499 { 500 breakpoint: 1550, 501 settings: { 502 arrows: sliderButtons, 503 dots: sliderPagination 504 } 505 }, 506 { 507 breakpoint: 1100, 508 settings: { 509 slidesToShow: 2, 510 slidesToScroll: 2, 511 arrows: sliderButtons, 512 dots: sliderPagination 513 } 514 }, 515 { 516 breakpoint: 800, 517 settings: { 518 slidesToShow: 1, 519 slidesToScroll: 1, 520 arrows: sliderButtons, 521 dots: sliderPagination 522 } 523 } 524 ] 525 }); 526 } else if (dataShow == 2) { 527 jQuery(slickwrap).find('.gdc-list > div').slick({ 528 autoplay: sliderAutoplay, 529 autoplaySpeed: sliderDuration, 530 pauseOnHover: sliderPauseOnHover, 531 pauseOnFocus: sliderPauseOnHover, 532 accessibility: sliderAccessibility, 533 adaptiveHeight: sliderAdaptiveHeight, 534 arrows: sliderButtons, 535 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 536 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 537 customPaging: function(slider, i) { 538 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 539 }, 540 dots: sliderPagination, 541 centerMode: sliderCentermode, 542 speed: transition, 543 slide: 'div', 544 slidesToShow: dataShow, 545 slidesToScroll: dataShow, 546 responsive: [ 547 { 548 breakpoint: 1550, 549 settings: { 550 arrows: sliderButtons, 551 dots: sliderPagination 552 } 553 }, 554 { 555 breakpoint: 800, 556 settings: { 557 slidesToShow: 1, 558 slidesToScroll: 1, 559 arrows: sliderButtons, 560 dots: sliderPagination 561 } 562 } 563 ] 564 }); 565 } else if (dataShow == 1) { 566 jQuery(slickwrap).find('.gdc-list > div').slick({ 567 autoplay: sliderAutoplay, 568 autoplaySpeed: sliderDuration, 569 pauseOnHover: sliderPauseOnHover, 570 pau
570seOnFocus: sliderPauseOnHover, 571 accessibility: sliderAccessibility, 572 adaptiveHeight: sliderAdaptiveHeight, 573 arrows: sliderButtons, 574 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 575 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 576 customPaging: function(slider, i) { 577 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 578 }, 579 dots: sliderPagination, 580 centerMode: sliderCentermode, 581 speed: transition, 582 slide: 'div', 583 slidesToShow: dataShow, 584 slidesToScroll: dataShow, 585 responsive: [ 586 { 587 breakpoint: 1550, 588 settings: { 589 arrows: sliderButtons, 590 dots: sliderPagination 591 } 592 }, 593 { 594 breakpoint: 800, 595 settings: { 596 arrows: sliderButtons, 597 dots: sliderPagination 598 } 599 } 600 ] 601 }); 602 } 603 } else if (jQuery(container).length) { 604 if (dataShow == 5) { 605 jQuery(slickwrap).find('.slider-content').slick({ 606 autoplay: sliderAutoplay, 607 autoplaySpeed: sliderDuration, 608 pauseOnHover: sliderPauseOnHover, 609 pauseOnFocus: sliderPauseOnHover, 610 accessibility: sliderAccessibility, 611 adaptiveHeight: sliderAdaptiveHeight, 612 arrows: sliderButtons, 613 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 614 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 615 customPaging: function(slider, i) { 616 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 617 }, 618 dots: sliderPagination, 619 centerMode: sliderCentermode, 620 speed: transition, 621 slide: 'div', 622 slidesToShow: dataShow, 623 slidesToScroll: dataShow, 624 responsive: [ 625 { 626 breakpoint: 1700, 627 settings: { 628 slidesToShow: 4, 629 slidesToScroll: 4 630 } 631 }, 632 { 633 breakpoint: 1550, 634 settings: { 635 arrows: sliderButtons, 636 dots: sliderPagination 637 } 638 }, 639 { 640 breakpoint: 1400, 641 settings: { 642 slidesToShow: 3, 643 slidesToScroll: 3, 644 arrows: sliderButtons, 645 dots: sliderPagination 646 } 647 }, 648 { 649 breakpoint: 1100, 650 settings: { 651 slidesToShow: 2, 652 slidesToScroll: 2, 653 arrows: sliderButtons, 654 dots: sliderPagination 655 } 656 }, 657 { 658 breakpoint: 800, 659 settings: { 660 slidesToShow: 1, 661 slidesToScroll: 1, 662 arrows: sliderButtons, 663 dots: sliderPagination 664 } 665 } 666 ] 667 }); 668 } else if (dataShow == 4) { 669 jQuery(slickwrap).find('.slider-content').slick({ 670 autoplay: sliderAutoplay, 671 autoplaySpeed: sliderDuration, 672 pauseOnHover: sliderPauseOnHover, 673 pauseOnFocus: sliderPauseOnHover, 674 accessibility: sliderAccessibility, 675 adaptiveHeight: sliderAdaptiveHeight, 676 arrows: sliderButtons, 677 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 678 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 679 customPaging: function(slider, i) { 680 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 681 }, 682 dots: sliderPagination, 683 centerMode: sliderCentermode, 684 speed: transition, 685 slide: 'div', 686 slidesToShow: dataShow, 687 slidesToScroll: dataShow, 688 responsive: [ 689 { 690 breakpoint: 1550, 691 settings: { 692 arrows: sliderButtons, 693 dots: sliderPagination 694 } 695 }, 696 { 697 breakpoint: 1400, 698 settings: { 699 slidesToShow: 3, 700 slidesToScroll: 3, 701 arrows: sliderButtons, 702 dots: sliderPagination 703 } 704 }, 705 { 706 breakpoint: 1100, 707 settings: { 708 slidesToShow: 2, 709 slidesToScroll: 2, 710 arrows: sliderButtons, 711 dots: sliderPagination 712 } 713 }, 714 { 715 breakpoint: 800, 716 settings: { 717 slidesToShow: 1, 718 slidesToScroll: 1, 719 arrows: sliderButtons, 720 dots: sliderPagination 721 } 722 } 723 ] 724 }); 725 } else if (dataShow == 3) { 726 jQuery(slickwrap).find('.slider-content').slick({ 727 autoplay: sliderAutoplay, 728 autoplaySpeed: sliderDuration, 729 pauseOnHover: sliderPauseOnHover, 730 pauseOnFocus: sliderPauseOnHover, 731 accessibility: sliderAccessibility, 732 adaptiveHeight: sliderAdaptiveHeight, 733 arrows: sliderButtons, 734 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 735 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 736 customPaging: function(slider, i) { 737 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 738 }, 739 dots: sliderPagination, 740 centerMode: sliderCentermode, 741 speed: transition, 742 slide: 'div', 743 slidesToShow: dataShow, 744 slidesToScroll: dataShow, 745 responsive: [ 746 { 747 breakpoint: 1550, 748 settings: { 749 arrows: sliderButtons, 750 dots: sliderPagination 751 } 752 }, 753 { 754 breakpoint: 1100, 755 settings: { 756 slidesToShow: 2, 757 slidesToScroll: 2, 758 arrows: sliderButtons, 759 dots: sliderPagination 760 } 761 }, 762 { 763 breakpoint: 800, 764 settings: { 765 slidesToShow: 1, 766 slidesToScroll: 1, 767 arrows: sliderButtons, 768 dots: sliderPagination 769 } 770 } 771 ] 772 }); 773 } else if (dataShow == 2) { 774 jQuery(slickwrap).find('.slider-content').slick({ 775 autoplay: sliderAutoplay, 776 autoplaySpeed: sliderDuration, 777 pauseOnHover: sliderPauseOnHover, 778 pauseOnFocus: sliderPauseOnHover, 779 accessibility: sliderAccessibility, 780 adaptiveHeight: sliderAdaptiveHeight, 781 arrows: sliderButtons, 782 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 783 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 784 customPaging: function(slider, i) { 785 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 786 }, 787 dots: sliderPagination, 788 centerMode: sliderCentermode, 789 speed: transition, 790 slide: 'div', 791 slidesToShow: dataShow, 792 slidesToScroll: dataShow, 793 responsive: [ 794 { 795 breakpoint: 1550, 796 settings: { 797 arrows: sliderButtons, 798 dots: sliderPagination 799 } 800 }, 801 { 802 breakpoint: 800, 803 settings: { 804 slidesToShow: 1, 805 slidesToScroll: 1, 806 arrows: sliderButtons, 807 dots: sliderPagination 808 } 809 } 810 ] 811 }); 812 } else if (dataShow == 1) { 813 if (jQuery('body').hasClass('neos-backend')) { 814 var draggable = false;
815 } else { 816 var draggable = true; 817 } 818 jQuery(slickwrap).find('.slider-content').slick({ 819 autoplay: sliderAutoplay, 820 autoplaySpeed: sliderDuration, 821 pauseOnHover: sliderPauseOnHover, 822 pauseOnFocus: sliderPauseOnHover, 823 accessibility: sliderAccessibility, 824 adaptiveHeight: sliderAdaptiveHeight, 825 draggable: draggable, 826 arrows: sliderButtons, 827 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 828 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 829 customPaging: function(slider, i) { 830 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 831 }, 832 dots: sliderPagination, 833 centerMode: sliderCentermode, 834 speed: transition, 835 slide: 'div', 836 slidesToShow: dataShow, 837 slidesToScroll: dataShow, 838 responsive: [ 839 { 840 breakpoint: 1550, 841 settings: { 842 arrows: sliderButtons, 843 dots: sliderPagination 844 } 845 }, 846 { 847 breakpoint: 800, 848 settings: { 849 arrows: sliderButtons, 850 dots: sliderPagination 851 } 852 } 853 ] 854 }); 855 } 856 } else if (jQuery(nextevents).length) { 857 if (dataShow == 5) { 858 jQuery(slickwrap).find('.nextevents .nextevents-events').slick({ 859 autoplay: sliderAutoplay, 860 autoplaySpeed: sliderDuration, 861 pauseOnHover: sliderPauseOnHover, 862 pauseOnFocus: sliderPauseOnHover, 863 accessibility: sliderAccessibility, 864 adaptiveHeight: sliderAdaptiveHeight, 865 arrows: sliderButtons, 866 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 867 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 868 customPaging: function(slider, i) { 869 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 870 }, 871 dots: sliderPagination, 872 centerMode: sliderCentermode, 873 speed: transition, 874 slide: 'div', 875 slidesToShow: dataShow, 876 slidesToScroll: dataShow, 877 responsive: [ 878 { 879 breakpoint: 1700, 880 settings: { 881 slidesToShow: 4, 882 slidesToScroll: 4 883 } 884 }, 885 { 886 breakpoint: 1550, 887 settings: { 888 arrows: sliderButtons, 889 dots: sliderPagination 890 } 891 }, 892 { 893 breakpoint: 1400, 894 settings: { 895 slidesToShow: 3, 896 slidesToScroll: 3, 897 arrows: sliderButtons, 898 dots: sliderPagination 899 } 900 }, 901 { 902 breakpoint: 1100, 903 settings: { 904 slidesToShow: 2, 905 slidesToScroll: 2, 906 arrows: sliderButtons, 907 dots: sliderPagination 908 } 909 }, 910 { 911 breakpoint: 800, 912 settings: { 913 slidesToShow: 1, 914 slidesToScroll: 1, 915 arrows: sliderButtons, 916 dots: sliderPagination 917 } 918 } 919 ] 920 }); 921 } else if (dataShow == 4) { 922 jQuery(slickwrap).find('.nextevents .nextevents-events').slick({ 923 autoplay: sliderAutoplay, 924 autoplaySpeed: sliderDuration, 925 pauseOnHover: sliderPauseOnHover, 926 pauseOnFocus: sliderPauseOnHover, 927 accessibility: sliderAccessibility, 928 adaptiveHeight: sliderAdaptiveHeight, 929 arrows: sliderButtons, 930 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 931 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 932 customPaging: function(slider, i) { 933 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 934 }, 935 dots: sliderPagination, 936 centerMode: sliderCentermode, 937 speed: transition, 938 slide: 'div', 939 slidesToShow: dataShow, 940 slidesToScroll: dataShow, 941 responsive: [ 942 { 943 breakpoint: 1550, 944 settings: { 945 arrows: sliderButtons, 946 dots: sliderPagination 947 } 948 }, 949 { 950 breakpoint: 1400, 951 settings: { 952 slidesToShow: 3, 953 slidesToScroll: 3, 954 arrows: sliderButtons, 955 dots: sliderPagination 956 } 957 }, 958 { 959 breakpoint: 1100, 960 settings: { 961 slidesToShow: 2, 962 slidesToScroll: 2, 963 arrows: sliderButtons, 964 dots: sliderPagination 965 } 966 }, 967 { 968 breakpoint: 800, 969 settings: { 970 slidesToShow: 1, 971 slidesToScroll: 1, 972 arrows: sliderButtons, 973 dots: sliderPagination 974 } 975 } 976 ] 977 }); 978 } else if (dataShow == 3) { 979 jQuery(slickwrap).find('.nextevents .nextevents-events').slick({ 980 autoplay: sliderAutoplay, 981 autoplaySpeed: sliderDuration, 982 pauseOnHover: sliderPauseOnHover, 983 pauseOnFocus: sliderPauseOnHover, 984 accessibility: sliderAccessibility, 985 adaptiveHeight: sliderAdaptiveHeight, 986 arrows: sliderButtons, 987 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 988 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 989 customPaging: function(slider, i) { 990 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 991 }, 992 dots: sliderPagination, 993 centerMode: sliderCentermode, 994 speed: transition, 995 slide: 'div', 996 slidesToShow: dataShow, 997 slidesToScroll: dataShow, 998 responsive: [ 999 { 1000 breakpoint: 1550, 1001 settings: { 1002 arrows: sliderButtons, 1003 dots: sliderPagination 1004 } 1005 }, 1006 { 1007 breakpoint: 1100, 1008 settings: { 1009 slidesToShow: 2, 1010 slidesToScroll: 2, 1011 arrows: sliderButtons, 1012 dots: sliderPagination 1013 } 1014 }, 1015 { 1016 breakpoint: 800, 1017 settings: { 1018 slidesToShow: 1, 1019 slidesToScroll: 1, 1020 arrows: sliderButtons, 1021 dots: sliderPagination 1022 } 1023 } 1024 ] 1025 }); 1026 } else if (dataShow == 2) { 1027 jQuery(slickwrap).find('.nextevents .nextevents-events').slick({ 1028 autoplay: sliderAutoplay, 1029 autoplaySpeed: sliderDuration, 1030 pauseOnHover: sliderPauseOnHover, 1031 pauseOnFocus: sliderPauseOnHover, 1032 accessibility: sliderAccessibility, 1033 adaptiveHeight: sliderAdaptiveHeight, 1034 arrows: sliderButtons, 1035 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 1036 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 1037 customPaging: function(slider, i) { 1038 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 1039 }, 1040 dots: sliderPagination, 1041 centerMode: sliderCentermode, 1042 speed: transition, 1043 slide: 'div', 1044 slidesToShow: dataShow, 1045 slidesToScroll: dataShow, 1046 responsive: [ 1047 { 1048 breakpoint: 1550, 1049 settings: { 1050 arrows: sliderButtons, 1051 dots: sliderPagination 1052 } 1053 }, 1054 { 1055 breakpoint: 800, 1056 settings: { 1057 slidesToShow: 1, 1058 slidesToScroll: 1, 1059 arrows: sliderButtons, 1060 dots: sliderPagination 1061 } 1062 } 1063 ] 1064 }); 1065 } else if (dataShow == 1) { 1066 jQuery(slickwrap).find('.nextevents .nextevents-events').slick({ 1067 autoplay: sliderAutoplay, 1068 autoplaySpeed: sliderDuration, 1069 pauseOnHover: sliderPauseOnHover, 1070 pauseOnFocus: sliderPauseOnHover, 1071 accessibility: sliderAccessibility, 1072 adaptiveHeight: sliderAdaptiveHeight, 1073 arrows: sliderButtons, 1074 prevArrow: '<button type="button" data-role="none" class="slick-prev" title="Slider Rückwärts" aria-label="Previous" tabindex="0" role="button">Previous</button>', 1075 nextArrow: '<button type="button" data-role="none" class="slick-next" title="Slider Vorwärts" aria-label="Next" tabindex="0" role="button">Next</button>', 1076 customPaging: function(slider, i) { 1077 return $('<button type="button" data-role="none" title="Slider Navigation" role="button" tabindex="0" />').text(i + 1); 1078 }, 1079 dots: sliderPagination, 1080 centerMode: sliderCentermode, 1081 speed: transition, 1082 slide: 'div', 1083 slidesToShow: dataShow, 1084 slidesToScroll: dataShow, 1085 responsive: [ 1086 { 1087 breakpoint: 1550, 1088 settings: { 1089 arrows: sliderButtons, 1090 dots: sliderPagination 1091 } 1092 }, 1093 { 1094 breakpoint: 800, 1095 settings: { 1096 arrows: sliderButtons, 1097 dots: sliderPagination 1098 } 1099 } 1100 ] 1101 }); 1102 } 1103 } 1104 1105 jQuery(window).resize(function() { 1106 clearTimeout(resizeTimer); 1107 resizeTimer = setTimeout(function() { 1108 slickSettings(); 1109 }, 1); 1110 }); 1111 slickSettings(); 1112 1113 }); 1114});
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.