PageSourceSearch

https://obrixlabs.com/wp-content/themes/aimo/elements/assets/js/tabs.js?ver=1.0.1

js obrixlabs.com collected 2026-10-07 00:31:23 UTC 2,310 bytes, 55 lines download raw bytes

1( function( $ ) {
2    "use strict";
3    
4    var pxl_widget_tabs_handler = function( $scope, $ ) {
5        $scope.find(".pxl-tabs.tab-effect-slide .pxl-tab--title").on("click", function(e){
6            e.preventDefault();
7            var target = $(this).data("target");
8            var parent = $(this).parents(".pxl-tabs");
9            parent.find(".pxl-tabs--content .pxl-tab--content").slideUp(300);
10            parent.find(".pxl-tabs--title .pxl-tab--title").removeClass('active');
11            $(this).addClass("active");
12            $(target).slideDown(300);
13        });
14
15        $scope.find(".pxl-tabs.tab-effect-fade .pxl-tab--title, .pxl-tabs.tab-effect-cretive .pxl-tab--title").on("click", function(e){
16            e.preventDefault();
17            var target = $(this).data("target");
18            var parent = $(this).parents(".pxl-tabs");
19            parent.find(".pxl-tabs--content .pxl-tab--content").removeClass("active");
20            parent.find(".pxl-tabs--title .pxl-tab--title").removeClass('active');
21            $(this).addClass("active");
22            $(target).addClass("active");
23        });
24
25        $scope.find(".pxl-tabs2 .pxl-tab--title:nth-child(1)").on("click", function(e){
26            e.preventDefault();
27            $(this).parent().addClass('f-active').removeClass('l-active');
28        });
29
30        $scope.find(".pxl-tabs2 .pxl-tab--title:nth-child(2)").on("click", function(e){
31            e.preventDefault();
32            $(this).parent().addClass('l-active').removeClass('f-active');
33        });
34    };
35
36    $( window ).on( 'elementor/frontend/init', function() {
37        elementorFrontend.hooks.addAction( 'frontend/element_ready/pxl_tabs.default', pxl_widget_tabs_handler );
38        elementorFrontend.hooks.addAction( 'frontend/element_ready/pxl_banner_tabs.default', pxl_widget_tabs_handler );
39    } );
40
41} )( jQuery );
42
43(function ($) {
44    "use strict";
45
46    $(".pxl-tab--control").on("click", function () {
47        var $activeTab = $(".pxl-tabs2 .pxl-tab--title.active");
48        var $allTabs = $(".pxl-tabs2 .pxl-tab--title");
49        var currentIndex = $allTabs.index($activeTab);
50        var nextIndex = (currentIndex + 1) % $allTabs.length; 
51
52        $allTabs.eq(nextIndex).trigger("click");
53    });
54
55})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.