Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/beximco/mrp_process/public/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /****************************/
/* INDEX */
/*===========================
* 01. Loader *
* 02. Menu *
* 03. Sticky Menu *
* 03. Back to top *
===========================*/
!(function ($) {
"use strict";
// Loader
$(window).on("load", function () {
$("#status").fadeOut();
$("#preloader").delay(350).fadeOut("slow");
$("body").delay(350).css({
overflow: "visible",
});
});
// Menu
$(".navbar-toggle").on("click", function (event) {
$(this).toggleClass("open");
$("#navigation").slideToggle(400);
console.log("navbar-toggle");
});
$(".navigation-menu>li").slice(-1).addClass("last-elements");
$(".menu-arrow,.submenu-arrow").on("click", function (e) {
if ($(window).width() < 992) {
e.preventDefault();
$(this)
.parent("li")
.toggleClass("open")
.find(".submenu:first")
.toggleClass("open");
console.log("menu-arrow submenu-arrow");
}
});
$(".navigation-menu a").each(function () {
if (this.href == window.location.href) {
$(this).parent().addClass("active");
$(this).parent().parent().parent().addClass("active");
$(this).parent().parent().parent().parent().parent().addClass("active");
console.log("navigation-menu a in");
}
});
// // Clickable Menu
$(".has-submenu a").click(function () {
if (window.innerWidth < 992) {
if ($(this).parent().hasClass("open")) {
$(this).siblings(".submenu").removeClass("open");
$(this).parent().removeClass("open");
console.log("has-submenu a");
} else {
$(this).siblings(".submenu").addClass("open");
$(this).parent().addClass("open");
console.log("has-submenu a else");
}
}
});
$(".mouse-down").on("click", function (event) {
var $anchor = $(this);
$("html, body")
.stop()
.animate(
{
scrollTop: $($anchor.attr("href")).offset().top - 72,
},
1500,
"easeInOutExpo"
);
event.preventDefault();
});
// //Tooltip
$(function () {
$('[data-toggle="tooltip"]').tooltip();
});
// //Popover
$(function () {
$('[data-toggle="popover"]').popover();
});
//Feather icon
// feather.replace();
})(jQuery);
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0044 ]-- |