PageSourceSearch

https://greencupones.com/web/wp-content/themes/consultio/elementor/js/ct-tabs-widget.js?ver=3.2.1

js greencupones.com collected 2026-09-24 14:45:01 UTC 1,171 bytes, 24 lines download raw bytes

1( function( $ ) {
2    /**
3     * @param $scope The Widget wrapper element as a jQuery element
4     * @param $ The jQuery alias
5     */
6    var WidgetCTTabsHandler = function( $scope, $ ) {
7        $scope.find(".ct-tabs .ct-tabs-title .ct-tab-title").on("click", function(e){
8            e.preventDefault();
9            var target = $(this).data("target");
10            var parent = $(this).parents(".ct-tabs, .ct-tab-form");
11            parent.find(".ct-tabs-content .ct-tab-content").slideUp(300);
12            parent.find(".ct-tabs-title .ct-tab-title").removeClass('active');
13            $(this).addClass("active");
14            $(target).slideDown(300);
15        });
16    };
17
18    // Make sure you run this code under Elementor.
19    $( window ).on( 'elementor/frontend/init', function() {
20        elementorFrontend.hooks.addAction( 'frontend/element_ready/ct_tabs.default', WidgetCTTabsHandler );
21        elementorFrontend.hooks.addAction( 'frontend/element_ready/ct_tab_template.default', WidgetCTTabsHandler );
22        elementorFrontend.hooks.addAction( 'frontend/element_ready/ct_tab_banner.default', WidgetCTTabsHandler );
23    } );
24} )( 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.