mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
34 lines
657 B
JavaScript
Executable File
34 lines
657 B
JavaScript
Executable File
$(function() {
|
|
|
|
var $container = $('.isotope').imagesLoaded( function() {
|
|
$container.isotope({
|
|
itemSelector: '.item',
|
|
layoutMode: 'masonry',
|
|
masonry: {
|
|
columnWidth: '.col-lg-2'
|
|
}
|
|
});
|
|
});
|
|
|
|
$('#filters').on('click', 'a', function(event) {
|
|
var filterValue = $(this).attr('data-filter-value');
|
|
|
|
$('#filters a').removeClass('active');
|
|
|
|
$(this).addClass('active');
|
|
|
|
$container.isotope({
|
|
filter: filterValue
|
|
});
|
|
});
|
|
|
|
});
|
|
|
|
$(function() {
|
|
|
|
$('#portfolio-grid').mixitup({
|
|
showOnLoad: 'hover_2'
|
|
});
|
|
|
|
});
|