vanilla filterizr (#222)
This commit is contained in:
parent
e9b2ef1ff5
commit
0b7cc92bfc
@ -72,10 +72,14 @@
|
|||||||
// filter
|
// filter
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var containerEl = document.querySelector('.filtr-container');
|
var containerEl = document.querySelector('.filtr-container');
|
||||||
var filterizd;
|
|
||||||
if (containerEl) {
|
if (containerEl) {
|
||||||
filterizd = $('.filtr-container').filterizr({layout: 'sameWidth', spinner: {enabled: true}});
|
new Filterizr(
|
||||||
}
|
'.filtr-container',
|
||||||
|
{
|
||||||
|
layout: 'sameWidth'
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
//Active changer
|
//Active changer
|
||||||
$('.filter-controls li').on('click', function () {
|
$('.filter-controls li').on('click', function () {
|
||||||
$('.filter-controls li').removeClass('active');
|
$('.filter-controls li').removeClass('active');
|
||||||
|
@ -38,13 +38,13 @@ params:
|
|||||||
js:
|
js:
|
||||||
- https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.min.js
|
- https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.min.js
|
||||||
- https://assets.cantorgymnasium.de/slick/v1.8/slick.min.js
|
- https://assets.cantorgymnasium.de/slick/v1.8/slick.min.js
|
||||||
- https://assets.cantorgymnasium.de/filterizr/jquery.filterizr.min.js
|
- https://assets.cantorgymnasium.de/lazyload/v17/dist/lazyload.min.js
|
||||||
head_js:
|
head_js:
|
||||||
- https://assets.cantorgymnasium.de/wordcloud/v2/wordcloud2.min.js
|
- https://assets.cantorgymnasium.de/wordcloud/v2/wordcloud2.min.js
|
||||||
- https://assets.cantorgymnasium.de/echarts/v5/echarts.min.js
|
- https://assets.cantorgymnasium.de/echarts/v5/echarts.min.js
|
||||||
- https://assets.cantorgymnasium.de/jquery/v3.6/jquery.min.js
|
- https://assets.cantorgymnasium.de/jquery/v3.6/jquery.min.js
|
||||||
- https://assets.cantorgymnasium.de/venobox/v2/dist/venobox.min.js
|
- https://assets.cantorgymnasium.de/venobox/v2/dist/venobox.min.js
|
||||||
- https://assets.cantorgymnasium.de/lazyload/v17/dist/lazyload.min.js
|
- https://assets.cantorgymnasium.de/filterizr/v2/dist/vanilla.filterizr.min.js
|
||||||
social:
|
social:
|
||||||
- title: YouTube
|
- title: YouTube
|
||||||
icon: mdi mdi-youtube
|
icon: mdi mdi-youtube
|
||||||
|
Loading…
x
Reference in New Issue
Block a user