PageSourceSearch

https://aryng.com/assets/js/custom.js

js aryng.com collected 2026-09-26 01:42:48 UTC 4,886 bytes, 159 lines download raw bytes

1$(document).ready( function(){
2	if( jQuery('.aryng_courses_tracks_nav a').length > 1 ){
3		jQuery('.aryng_courses_tracks_nav a').click( function(){
4			section_id	= jQuery(this).attr('id');
5			jQuery('.aryng_courses_tracks_nav a').removeClass('aryng_active_course');	
6			jQuery(this).addClass('aryng_active_course');
7			jQuery('.aryng_courses_tracks_html .aryng_ct_main').addClass('aryng_ct_hide');
8			jQuery('.aryng_courses_tracks_html .aryng_ct_main.aryng_ct_'+section_id).removeClass('aryng_ct_hide');
9			console.log('.aryng_courses_tracks_nav .aryng_ct_main.aryng_ct_'+section_id);
10		});
11	}
12	
13	if( jQuery('.aryng_courses_tracks_nav1 a').length > 1 ){
14		jQuery('.aryng_courses_tracks_nav1 a').click( function(){
15			section_id	= jQuery(this).attr('id');
16			jQuery('.aryng_courses_tracks_nav1 a').removeClass('aryng_active_course1');	
17			jQuery(this).addClass('aryng_active_course1');
18			jQuery('.aryng_courses_tracks_html1 .aryng_ct_main').addClass('aryng_ct_hide1');
19			jQuery('.aryng_courses_tracks_html1 .aryng_ct_main.aryng_ct_'+section_id).removeClass('aryng_ct_hide1');
20			console.log('.aryng_courses_tracks_nav1 .aryng_ct_main.aryng_ct_'+section_id);
21		});
22	}
23
24	if( jQuery('.aryng3_video_close_btn').length > 0 ){
25		jQuery('.aryng3_video_close_btn').click( function(){
26			jQuery('.aryng3_overlay_container').remove();
27		});
28	}
29
30	if( jQuery('.aryng_pdf_data').length > 0 ){
31		jQuery('.aryng_pdf_data').click( function(){
32			pdflink			= jQuery(this).data('pdf');
33			location.href	= pdflink;
34		});
35	}
36	
37	if( jQuery('.btnDownload').length > 0 ){
38		jQuery('.btnDownload').click( function(){
39			fcode			= jQuery(this).data('fcode');
40			whitepapertitle	= jQuery(this).prev().text();
41			$('form input[name=download_column]').val(fcode);
42			$('form input[name=whitepaper_title]').val(whitepapertitle);
43		});
44	}
45
46  if( jQuery('.btnDownloads').length > 0 ){
47		jQuery('.btnDownloads').click( function(){
48			fcode			= jQuery(this).data('fcode');
49			whitepapertitle	= jQuery(this).prev().text();
50			$('form input[name=download_column]').val(fcode);
51			$('form input[name=whitepaper_title]').val(whitepapertitle);
52		});
53	}
54
55});
56
57$('.sliderTestimonials, .sliderTestimonials2, .sliderTestimonials3').slick({
58    infinite: false,
59    slidesToShow: 1,
60    slidesToScroll: 1,
61    adaptiveHeight: true
62});
63$(".sliderTestimonials4").slick({
64  infinite: false,
65  dots: true,
66  slidesToShow: 1,
67  slidesToScroll: 1,
68  adaptiveHeight: true,
69});
70$('.slidercertification, .sliderCourses').slick({
71    infinite: false,
72    slidesToShow: 1,
73    slidesToScroll: 1,
74    arrows: false,
75    dots: true,
76    adaptiveHeight: false
77});
78
79$('.clientCarousel').slick({
80    infinite: false,
81    slidesToShow: 6,
82    slidesToScroll: 6,
83    responsive: [
84        {
85        breakpoint: 1081,
86        settings: {
87            slidesToShow: 4,
88            slidesToScroll: 4
89        }
90        },
91        {
92        breakpoint: 600,
93        settings: {
94            slidesToShow: 2,
95            slidesToScroll: 2
96        }
97        },
98        {
99        breakpoint: 480,
100        settings: {
101            slidesToShow: 1,
102            slidesToScroll: 1
103        }
104        }
105 ]
106});
107
108wow = new WOW(
109    {
110      animateClass: 'animated',
111      offset:       100,
112      callback:     function(box) {
113        // console.log("WOW: animating <" + box.tagName.toLowerCase() + ">")
114      }
115    }
116  );
117  wow.init();
118//   document.getElementById('moar').onclick = function() {
119//     var section = document.createElement('section');
120//     section.className = 'section--purple wow fadeInDown';
121//     this.parentNode.insertBefore(section, this);
122//   };
123$(".boxClientLogo a").click(function( event ) {
124    event.preventDefault();    
125  });
126
127  // Startup Page Tabs Mobile Dropdown
128$(document).ready(function () {
129  function mobileTabsFunc() {
130    const tab_container = jQuery(".startup-exe_tabs_main .nav-tabs");
131    let active_tab = $(".startup-exe_tabs_main .nav-item .nav-link.active").text();
132    jQuery(".categories-tabs__mobile-head").text(active_tab);
133
134    jQuery("body").on("click",".startup-exe_tabs_main .nav-item .nav-link",
135      function () {
136        active_tab = jQuery(this).text();
137        jQuery(".categories-tabs__mobile-head").text(active_tab);
138        jQuery(".categories-tabs__mobile-head").removeClass("show-tabs");
139        tab_container.removeClass("is-active");
140      }
141    );
142
143    jQuery("body").on("click", ".categories-tabs__mobile-head", function () {
144      if (!jQuery(this).hasClass("show-tabs")) {
145        jQuery(this).addClass("show-tabs");
146        tab_container.addClass("is-active");
147      } else {
148        jQuery(this).removeClass("show-tabs");
149        tab_container.removeClass("is-active");
150      }
151    });
152  }
153    mobileTabsFunc();
154    // Play video on click icon startup video
155    jQuery(".svg-icon").click(function(){
156      jQuery(".svg-icon").hide();
157    jQuery('.laptop video').trigger('play');
158  });
159});

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.