$(document).ready(function () {
function e() {
$(window).height() > 450 ? $(".home-top-slider .slider-body").height($(window).height()) : $(".home-top-slider .slider-body").height(450)
}
function t() {
var e = $(".home-offer .box"),
t = e.outerWidth();
$(window).width() > 767 ? e.each(function () {
$(this).removeAttr("style").height(t)
}) : e.each(function () {
$(this).removeAttr("style")
})
}
if ($(".home-top-slider").length > 0) {
e(), $(".home-top-slider .slider-body .slide").addClass("hideText").addClass("transition");
var o = $(".home-top-slider .slider-body");
o.slick({
dots: !0,
touchMove: !0,
arrows: !1,
infinite: !0,
fade: !0,
pauseOnHover: !1,
autoplay: !0,
speed: 1600,
autoplaySpeed: 19e3
}), o.on("afterChange", function () {
$(".home-top-slider .slider-body .slide").addClass("hideText"), $(".home-top-slider .slick-active").removeClass("hideText")
}), $(window).resize(function () {
e()
}), $(window).on("orientationchange", function () {
e()
})
}
$(".home-offer").length > 0 && (t(), $(window).resize(function () {
t()
}), $(window).on("orientationchange", function () {
t()
}));
var i = $(".home-offer .box");
i.on("mouseover", function () {
$(this).addClass("hover");
var e = $(this).find(".text");
e.removeAttr("style").height(e.children().height())
}), i.on("mouseleave", function () {
$(this).removeClass("hover"), $(this).find(".text").removeAttr("style")
})
}), $(window).load(function () {
function e(e, t) {
function o() {
$("" + e).each(function () {
$(this).removeClass("hidden").width($(this).width()), $(this).parent().children(".noHeight").addClass("transition").removeClass("noHeight"), $(this).prop("Counter", 0).animate({
Counter: $(this).text()
}, {
duration: t,
easing: "swing",
step: function (e) {
$(this).text(Math.ceil(e))
}
})
})
}
var i = $("" + e).offset().top - ($(window).height() - 150),
n = !0;
$(document).scrollTop() < i && ($("" + e).addClass("hidden"), $(".numbers .number-box .chart .ch").addClass("noHeight"), $(window).scroll(function () {
var e = $(document).scrollTop();
e > i && n && (n = !1, o())
}))
}
if (setTimeout(function () {
$(".home-top-slider .slider-body .slide").first().removeClass("hideText")
}, 500), $(window).width() > 1200) {
var t = ".numbers .number-box .chart .number";
$(t).length > 0 && e(t, 2e3)
}
});
ищу работу за еду
Если вы о выпадающем списке - Изменить сочетания цвета, то поле ввода "Основного цвета" на всех вариантах всё равно остаётся - одно.
Или вы о другом?
Спасибо!