js/custom-mixitup.js
(完整代码) 867B/*======== Isotope Filter Script =========*/
var mt_personal = window.mt_personal || {},
$win = $(window);
mt_personal.Isotope = function () {
// 4 column layout
var isotopeContainer = $(".isotopeContainer");
if (!isotopeContainer.length || !jQuery().isotope) return;
$win.on('load' , function(){
isotopeContainer.isotope({
itemSelector: ".isotopeSelector"
});
$(".mt_filter").on("click", "a", function (e) {
$(".mt_filter ul li").find(".active").removeClass("active");
$(this).addClass("active");
var filterValue = $(this).attr("data-filter");
isotopeContainer.isotope({ filter: filterValue });
e.preventDefault();
});
});
};
mt_personal.Isotope();
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。