PageSourceSearch

https://alphastar.academy/wp-content/themes/twentytwentyone-child/assets/js/custom.js

js alphastar.academy collected 2026-09-28 10:05:02 UTC 3,875 bytes, 129 lines download raw bytes

1jQuery(document).ready(function() {
2    jQuery(".courses_list .container .course_box ul").matchHeight();
3    jQuery(".courses_list .container .course_box p").matchHeight();
4    jQuery(".courses_list .container .course_box").matchHeight();
5    jQuery(".news .owl-carousel .news_box p").matchHeight();
6
7    jQuery(".course_features .container .box ul").matchHeight();
8    jQuery(".blog_list .blog_box").matchHeight();
9    jQuery(".staff .staf_row .team_box").matchHeight();
10    jQuery(".testimonial .team_box").matchHeight();
11    jQuery(".blog_list .blog_box p").matchHeight();
12    jQuery(".course_features .container .box p").matchHeight();
13    jQuery(".course_features .container .box").matchHeight();
14    jQuery(".courses .grid_row .box h3").matchHeight();
15    jQuery(".courses .grid_row .box p").matchHeight();
16    jQuery(document).on("click", ".fa-bars", function() {
17        jQuery(".mobile_menu").addClass("show");
18        jQuery("body").addClass("hide");
19    });
20    jQuery(window).scroll(function() {
21        if (jQuery(this).scrollTop() > 100) {
22            jQuery(".header").addClass("stickymenu");
23        } else {
24            jQuery(".header").removeClass("stickymenu");
25        }
26    });
27    jQuery(document).on("click", ".fa-times", function() {
28        jQuery(".mobile_menu").removeClass("show");
29        jQuery("body").removeClass("hide");
30    });
31
32    // Mobile menu dropdowns should open on both label and arrow taps.
33    jQuery(document).on("click", ".mobile_menu li.dropdown_ul > a.item, .mobile_menu li.dropdown_ul > svg", function(e) {
34        e.preventDefault();
35        jQuery(this).closest("li.dropdown_ul").children(".dropdown").toggleClass("active");
36    });
37
38    jQuery(document).on("click", ".mobile_menu li.dropdown_ul .dropdown li.dropdown_ul > a.item, .mobile_menu li.dropdown_ul .dropdown li.dropdown_ul > svg", function(e) {
39        e.preventDefault();
40        jQuery(this).closest("li.dropdown_ul").children(".dropdown").toggleClass("active");
41    });
42
43    var owlll = jQuery(".steller .owl-carousel");
44    owlll.owlCarousel({
45        margin: 70,
46        nav: true,
47        loop: true,
48        dots: true,
49        autoplay: true,
50        responsive: {
51            0: {
52                items: 1,
53            },
54            500: {
55                items: 2,
56            },
57            800: {
58                items: 3,
59            },
60            1200: {
61                items: 4,
62            },
63            2100: {
64                items: 4,
65            },
66        },
67    });
68    var owlll = jQuery(".testimonial .owl-carousel");
69    owlll.owlCarousel({
70        margin: 30,
71        nav: true,
72        loop: true,
73        dots: true,
74        autoplay: true,
75        responsive: {
76            0: {
77                items: 1,
78            },
79            500: {
80                items: 1,
81            },
82            800: {
83                items: 2,
84            },
85            1200: {
86                items: 3,
87            },
88            2100: {
89                items: 4,
90            },
91        },
92    });
93    var owll = jQuery(".news .owl-carousel");
94    owll.owlCarousel({
95        margin: 70,
96        nav: true,
97        loop: true,
98        dots: true,
99        autoplay: true,
100        responsive: {
101            0: {
102                items: 1,
103            },
104            500: {
105                items: 2,
106            },
107            800: {
108                items: 3,
109            },
110            1200: {
111                items: 4,
112            },
113            2100: {
114                items: 4,
115            },
116        },
117    });
118});
119
120jQuery(function() {
121    var current = location.pathname;
122    jQuery(".header ul li a").each(function() {
123        var $this = jQuery(this);
124        // if the current path is like this link, make it active
125        if ($this.attr("href").indexOf(current) !== -1) {
126            $this.parent().addClass("active");
127        }
128    });
129});

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.