| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/theme/digitaz/assets/js/elementor/ |
Upload File : |
(function ($) {
"use strict";
$(window).on('elementor/frontend/init', () => {
elementorFrontend.hooks.addAction('frontend/element_ready/digitaz-tabs.default', ($scope) => {
let $tabs = $scope.find('.elementor-tabs');
let $contents = $scope.find('.elementor-tabs-content-wrapper');
let $carousel = $('.woocommerce-carousel ul, .digitaz-carousel', $scope);
// Active tab
$contents.find('.elementor-active').show();
var windowsize = $(window).width();
$(window).resize(function () {
var windowsize = $(window).width();
});
if (windowsize > 567) {
$tabs.find('.elementor-tab-title').on('click', function (e) {
e.preventDefault();
$tabs.find('.elementor-tab-title').removeClass('elementor-active');
$contents.find('.elementor-tab-content').removeClass('elementor-active').hide();
$(this).addClass('elementor-active');
let id = $(this).attr('aria-controls');
$contents.find('#' + id).addClass('elementor-active').show();
$carousel.slick('refresh');
});
} else {
$tabs.find('.elementor-tab-title').on('click', function (e) {
e.preventDefault();
if ($(this).hasClass('elementor-active')) {
$(this).removeClass('elementor-active');
let id = $(this).attr('aria-controls');
$contents.find('#' + id).removeClass('elementor-active').slideUp();
} else {
$tabs.find('.elementor-tab-title').removeClass('elementor-active');
$contents.find('.elementor-tab-content').removeClass('elementor-active').slideUp();
$(this).addClass('elementor-active');
let id = $(this).attr('aria-controls');
$contents.find('#' + id).addClass('elementor-active').slideToggle();
$carousel.slick('refresh');
}
});
}
});
});
})(jQuery);