PageSourceSearch

https://drmgrdu.ac.in/wp-content/themes/drmgr_university/elementor/js/cms-tabs-widget.js?ver=1.0.0

js drmgrdu.ac.in collected 2026-10-02 04:40:20 UTC 2,259 bytes, 48 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 WidgetCMSTabsHandler = function( $scope, $ ) {
7        $scope.find(".cms-tabs .cms-tabs-title .cms-tab-title").on("click", function(e){
8            e.preventDefault();
9            var target = $(this).data("target");
10            var parent = $(this).parents(".cms-tabs");
11            parent.find(".cms-tabs-content .cms-tab-content").hide();
12            parent.find(".cms-tabs-title .cms-tab-title").removeClass('active');
13            $(this).addClass("active");
14            $(target).show();
15        });
16    };
17    var WidgetWorkProcessHandler = function( $scope, $ ) {
18        // $scope.find(".cms-work-process .process-action .action-item").on("mouseover", function(e){
19        //     e.preventDefault();
20        //     var target = $(this).data("target");
21        //     var parent = $(this).parents(".cms-work-process");
22        //     parent.find(".process-content .content-item").hide();
23        //     parent.find(".process-action .action-item").removeClass('active');
24        //     $(this).addClass("active");
25        //     $(target).show();
26        // });
27        $scope.find(".cms-work-process .process-action .action-item").on({
28            mouseenter: function (e) {
29                e.preventDefault();
30                var target = $(this).data("target");
31                var parent = $(this).parents(".cms-work-process");
32                parent.find(".process-content .content-item").hide();
33                parent.find(".process-action .action-item").removeClass('active');
34                $(this).addClass("active");
35                $(target).show();
36            },
37            mouseleave: function (e) {
38                //stuff to do on mouse leave
39            }
40        });
41    };
42
43    // Make sure you run this code under Elementor.
44    $( window ).on( 'elementor/frontend/init', function() {
45        elementorFrontend.hooks.addAction( 'frontend/element_ready/cms_tabs.default', WidgetCMSTabsHandler );
46        elementorFrontend.hooks.addAction( 'frontend/element_ready/cms_work_process.default', WidgetWorkProcessHandler );
47    } );
48} )( 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.