Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/public/html/js/home.js
Назад
$(document).ready(function () { // // typing txt // var captionLength = 0; // var caption = ''; // var animate = true; // var animationCompleted = true; // var captionEl = $('#caption'); // function startTypingEffect() { // caption = $('#animate_text').text(); // type(); // } // function type() { // var output = caption.substr(0, captionLength++); // var val = $("#url").val(); // if (val !== "" || (!animate)) { // return; // } // captionEl.html(output); // if (captionLength < caption.length + 1) { // setTimeout(type, 50); // } else { // animationCompleted = true; // } // } // $("#url, #caption").on("focusin focusout", function (event) { // if (event.type === "focusin") { // console.log("Focus In"); // animate = false; // captionEl.html(''); // captionLength = 0; // $('.cursor').addClass('hd-none'); // animationCompleted = false; // } else if (event.type === "focusout") { // console.log("Focus Out"); // animate = true; // // $('.cursor').removeClass('hd-none'); // startTypingEffect(); // } // }); // $("#url").on("change", function () { // var urlValue = $(this).val(); // if (urlValue.length > 0) { // $('.cursor').addClass('hd-none'); // } else { // $('.cursor').removeClass('hd-none'); // } // }); // $("#caption").click(function () { // console.log("caption Focus In"); // animate = false; // captionEl.html(''); // captionLength = 0; // $("#url").focus(); // }); // // typing txt // AOS.init({ // once: true, // }); setTimeout(startTypingEffect, 1500); var captionLength = 0; var caption = ''; var animate = true; var animationCompleted = true; var captionEl = $('#caption'); function startTypingEffect() { caption = $('#animate_text').text(); type(); } function type() { var output = caption.substr(0, captionLength++); if (!animate) { return; } captionEl.html(output); if (captionLength < caption.length + 1) { setTimeout(type, 60); } else { animationCompleted = true; } } $(document).ready(function () { // Trigger typing effect after a delay setTimeout(startTypingEffect, 1500); // $("#caption").click(function () { // animate = false; // captionEl.html(''); // captionLength = 0; // startTypingEffect(); // }); AOS.init({ once: true, }); }); // appartment-slider $( '.appartment-slider' ).slick({ dots: true, infinite: true, autoplay: false, speed: 800, slidesToShow: 1, slidesToScroll: 1, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 1, slidesToScroll: 1, infinite: true, dots: true, }, }, { breakpoint: 600, settings: { arrows: true, slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 768, settings: { arrows: true, slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 992, settings: { arrows: true, slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 790, settings: { arrows: true, slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 480, settings: { arrows: true, slidesToShow: 1, slidesToScroll: 1, }, }, // You can unslick at a given breakpoint now by adding: // settings: "unslick " // instead of a settings object ], }) }); $('.get-start-btn').click(function () { if (window.innerWidth > 768 && window.innerWidth < 991) { return getStart[0].scrollIntoView({ behavior: "smooth" }); } getStart[1].scrollIntoView({ behavior: "smooth" }); });
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка