Файловый менеджер - Редактировать - /home/u655585735/domains/revengercart.com/public_html/assets/js/main.js
Назад
// navbar js (function ($) { $(function () { // open and close nav $('#navbar-toggle').click(function () { $('nav ul').slideToggle(); }); // Hamburger toggle $('#navbar-toggle').on('click', function () { this.classList.toggle('active'); }); // If a link has a dropdown, add sub menu toggle. $('nav ul li a:not(:only-child)').click(function (e) { $(this).siblings('.navbar-dropdown').slideToggle("slow"); // Close dropdown when select another dropdown $('.navbar-dropdown').not($(this).siblings()).hide("slow"); e.stopPropagation(); }); // Click outside the dropdown will remove the dropdown class $('html').click(function () { $('.navbar-dropdown').hide(); }); }); })(jQuery); // counter Js $.fn.jQuerySimpleCounter = function (options) { var settings = $.extend({ start: 0, end: 100, easing: 'swing', duration: 400, complete: '' }, options); var thisElement = $(this); $({ count: settings.start }).animate({ count: settings.end }, { duration: settings.duration, easing: settings.easing, step: function () { var mathCount = Math.ceil(this.count); thisElement.text(mathCount); }, complete: settings.complete }); }; $('#number1').jQuerySimpleCounter({ end: 250, duration: 2500 }); $('#number2').jQuerySimpleCounter({ end: 100, duration: 2500 }); $('#number3').jQuerySimpleCounter({ end: 150, duration: 2500 }); $('#number4').jQuerySimpleCounter({ end: 100, duration: 2500 });
| ver. 1.4 |
Github
|
.
| PHP 8.2.27 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка