vanilla filterizr (#222)
This commit is contained in:
parent
170a9cce55
commit
fc670ffd77
@ -72,10 +72,14 @@
|
||||
// filter
|
||||
$(document).ready(function () {
|
||||
var containerEl = document.querySelector('.filtr-container');
|
||||
var filterizd;
|
||||
if (containerEl) {
|
||||
filterizd = $('.filtr-container').filterizr({layout: 'sameWidth', spinner: {enabled: true}});
|
||||
}
|
||||
new Filterizr(
|
||||
'.filtr-container',
|
||||
{
|
||||
layout: 'sameWidth'
|
||||
}
|
||||
);
|
||||
}
|
||||
//Active changer
|
||||
$('.filter-controls li').on('click', function () {
|
||||
$('.filter-controls li').removeClass('active');
|
||||
|
@ -38,13 +38,13 @@ params:
|
||||
js:
|
||||
- https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.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:
|
||||
- https://assets.cantorgymnasium.de/wordcloud/v2/wordcloud2.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/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:
|
||||
- title: YouTube
|
||||
icon: mdi mdi-youtube
|
||||
|
Loading…
x
Reference in New Issue
Block a user