|
|
|
|
|
|
|
|
$('.preloader').fadeOut(100); |
|
|
$('.preloader').fadeOut(100); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
/* ========================================================================= */ |
|
|
|
|
|
/* lazy load initialize |
|
|
|
|
|
/* ========================================================================= */ |
|
|
|
|
|
|
|
|
// lazy load initialize |
|
|
|
|
|
const observer = lozad(); // lazy loads elements with default selector as ".lozad" |
|
|
const observer = lozad(); // lazy loads elements with default selector as ".lozad" |
|
|
observer.observe(); |
|
|
observer.observe(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
/* Magnific popup |
|
|
/* Magnific popup |
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
|
|
|
|
|
|
fixedContentPos: false, |
|
|
fixedContentPos: false, |
|
|
fixedBgPos: true |
|
|
fixedBgPos: true |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
/* Portfolio Filtering Hook |
|
|
/* Portfolio Filtering Hook |
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
function filter(){ |
|
|
|
|
|
|
|
|
|
|
|
var containerEl = document.querySelector('.shuffle-wrapper'); |
|
|
var containerEl = document.querySelector('.shuffle-wrapper'); |
|
|
if (containerEl) { |
|
|
if (containerEl) { |
|
|
var Shuffle = window.Shuffle; |
|
|
var Shuffle = window.Shuffle; |
|
|
|
|
|
|
|
|
myShuffle.filter(input.value); |
|
|
myShuffle.filter(input.value); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}} |
|
|
|
|
|
$(window).on('scroll', function () { |
|
|
|
|
|
filter(); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
/* Testimonial Carousel |
|
|
/* Testimonial Carousel |
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
|
|
|
|
|
|
autoplaySpeed: 4000 |
|
|
autoplaySpeed: 4000 |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |
|
|
/* animation scroll js |
|
|
/* animation scroll js |
|
|
/* ========================================================================= */ |
|
|
/* ========================================================================= */ |