Last active
August 4, 2021 11:31
-
-
Save PetraMotz/d363eefd9c7249431c79b3f7ff9f44bc to your computer and use it in GitHub Desktop.
Typo3 Slider #slick #slider #load #t3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('.livingSpaceFilter').click(function() { | |
| if(!$(this).hasClass('active')){ | |
| $('.livingSpaceFilter').removeClass('active'); | |
| $(this).addClass('active'); | |
| var filter = $(this).text(); | |
| $('.livingSpaceMap').each(function(){ | |
| if($(this).attr('data-filter') == filter){ | |
| var slideno = $(this).data('slide'); | |
| $('.livingSpaceImageContainer').slick('slickGoTo', slideno); | |
| } | |
| }) | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Beispiele für Slick Slider | |
| https://kenwheeler.github.io/slick/ | |
| Swiper Slider (auf der vorlage) | |
| https://swiperjs.com/ | |
| .slick-slider-load { ---Wrapper | |
| &:not(.slick-slider){ | |
| .slick-slider-load__item { ---einzelnes Slide | |
| &:not(:first-child) { | |
| display: none; | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment