| Server IP : 213.159.210.37 / Your IP : 216.73.216.51 Web Server : nginx/1.18.0 System : Linux palich.ru 5.10.0-43-amd64 #1 SMP Debian 5.10.251-5 (2026-05-15) x86_64 User : ( 600) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/custom-site/chocolate.palich.ru/js/ |
Upload File : |
$(document).ready(function(){
/* COOKIE INFO */
const cookiesInfoNew = document.querySelector('[data-cookies]');
const cookiesInfoPopup = document.querySelector('[data-cookies-popup]');
if (cookiesInfoNew && cookiesInfoPopup) {
const cookiesBtnSelect = cookiesInfoNew.querySelector('[data-cookies-select-btn]');
cookiesBtnSelect.addEventListener('click', function() {
cookiesInfoPopup.classList.add('active');
})
}
$('.slick-slider').slick({slidesToShow: 1, dots: true});
$(".slide1 .next").click(function(){
$("html, body").animate({scrollTop: $(".slide2").offset().top+2}, 300)
})
$(".slide5 .more").click(function(){
$("html, body").animate({scrollTop: $(".slide6").offset().top+2}, 300)
return false
})
$(".slide2 .text .more").click(function(){
$(this).prev().fadeIn(300)
$(this).hide()
$(".slide2").addClass("open")
return false
})
$(".slide3 .text .more").click(function(){
$(this).prev().fadeIn(300)
$(this).hide()
$(".slide3").addClass("open")
return false
})
})
$(document).ready(function() {
$('.cookies-form_all').on("click", function() {
$('.cookies-form__input').each(function() {
$(this).prop("checked", "checked");
});
$('#cookies-form_submit').click();
});
});