PageSourceSearch

https://momentumcoaching.in/js/main.js

js momentumcoaching.in collected 2026-10-04 08:22:45 UTC 18,145 bytes, 985 lines download raw bytes

1 $(document).ready(function() { //ready open
2							
3							
4        // Add minus icon for collapse element which is open by default
5        $(".collapse.in").each(function(){
6        	$(this).siblings(".panel-heading").find(".more-less").addClass("fa-minus").removeClass("fa-plus");
7        });
8        
9        // Toggle plus minus icon on show hide of collapse element
10        $(".collapse").on('show.bs.collapse', function(){
11        	$(this).parent().find(".more-less").removeClass("fa-plus").addClass("fa-minus");
12        }).on('hide.bs.collapse', function(){
13        	$(this).parent().find(".more-less").removeClass("fa-minus").addClass("fa-plus");
14        });
15   
16							
17	/*tab js	*/	
18	
19	 $('.sliding_form_icon').click(function() {
20	$('.sliding_form').addClass('open');
21  });
22  $('.sliding_form_box .close_btn').click(function() {
23	$('.sliding_form').removeClass('open');
24  });
25  
26  
27  
28  
29  $('.q_form_icon').click(function() {
30$('.q_form').addClass('open');
31 });
32 $('.q_form_box .close_btn_q').click(function() {
33	$('.q_form').removeClass('open');
34 });	
35							
36							
37	//serch on page
38	
39	$('.search_icon a').on("click", function(){		
40		$('.search_box').addClass('open');
41		$('body').addClass('noScroll');
42	});
43	$('.search_icon .search_box .close_btn').on("click", function(){		
44		$('.search_box').removeClass('open');
45		$('body').removeClass('noScroll');
46	});				
47			
48						
49
50$(".notific-slide").owlCarousel({
51     
52          navigation : false, // Show next and prev buttons
53          slideSpeed : 300,
54          paginationSpeed : 1000,
55		  pagination:false,
56		  autoplay:true,
57		  autoPlay: 6000,
58          singleItem:true
59     
60      });
61$(".owl-seminor").owlCarousel({
62     
63          navigation : false, // Show next and prev buttons
64          slideSpeed : 300,
65          paginationSpeed : 1000,
66		  pagination:false,
67		  autoplay:true,
68		  autoPlay: 6000,
69          singleItem:true
70     
71      });
72
73
74$(function(){
75  $('#demo').on('hide.bs.collapse', function () {
76    $('#button').html('<span class="glyphicon glyphicon-collapse-down"></span> Show');
77  })
78  $('#demo').on('show.bs.collapse', function () {
79    $('#button').html('<span class="glyphicon glyphicon-collapse-up"></span> Hide');
80  })
81})
82
83//owl-story banner
84  var owl = $('.owl-story.owl-carousel');
85
86  // Carousel initialization
87  owl.owlCarousel({
88      loop:true,
89	  
90      margin:0,
91	  autoplayTimeout:5000,
92      navSpeed:100,
93      nav:true,
94	  autoplay:true,
95	 dots: false,
96	autoplayHoverPause:true,
97
98	   // autoWidth:true,
99	  
100//dotsData: true,
101    responsive:{
102        0:{
103            items:2,
104            nav:true,
105			 margin:5,
106        },
107        600:{
108            items:1,
109            nav:false
110        },
111        1000:{
112            items:1,
113            nav:true,
114            loop:true
115        },
116		1900:{
117            items:1,
118            nav:true,
119            loop:true,
120			//autoWidth:true
121        }
122    }
123	  
124  });
125  
126  
127  //owl-story banner
128  var owl = $('.owl-story1.owl-carousel');
129
130  // Carousel initialization
131  owl.owlCarousel({
132      loop:true,
133	   autoplayTimeout:5000, 
134      margin:0,
135      navSpeed:500,
136      nav:true,
137	  autoplay:true,
138	  autoplayHoverPause:true,
139	 dots: false,
140	   // autoWidth:true,
141	  
142//dotsData: true,
143    responsive:{
144        0:{
145            items:2,
146            nav:true,
147			 margin:5,
148        },
149        600:{
150            items:1,
151            nav:false
152        },
153        1000:{
154            items:1,
155            nav:true,
156            loop:true
157        },
158		1900:{
159            items:1,
160            nav:true,
161            loop:true,
162			//autoWidth:true
163        }
164    }
165	  
166  });
167  
168  
169   //owl-story banner
170  var owl = $('.owl-story2.owl-carousel');
171
172  // Carousel initialization
173  owl.owlCarousel({
174      loop:true,
175      margin:0,
176	   autoplayTimeout:4000,
177      navSpeed:500,
178      nav:true,
179	  autoplay:true,
180	 dots: false,
181	 autoplayHoverPause:true,
182	   // autoWidth:true,
183	  
184//dotsData: true,
185    responsive:{
186        0:{
187            items:2,
188            nav:true,
189			 margin:5,
190        },
191        600:{
192            items:1,
193            nav:false
194        },
195        1000:{
196            items:1,
197            nav:true,
198            loop:true
199        },
200		1900:{
201            items:1,
202            nav:true,
203            loop:true,
204			//autoWidth:true
205        }
206    }
207	  
208  });
209  
210  
211  
212   //owl-story banner
213  var owl = $('.owl-story3.owl-carousel');
214
215  // Carousel initialization
216  owl.owlCarousel({
217      loop:false,
218      margin:0,
219	   autoplayTimeout:4000,
220      navSpeed:500,
221      nav:true,
222	  autoplay:true,
223	 dots: false,
224	 autoplayHoverPause:true,
225	   // autoWidth:true,
226	  
227//dotsData: true,
228    responsive:{
229        0:{
230            items:2,
231            nav:true,
232			 margin:5,
233        },
234        600:{
235            items:1,
236            nav:false
237        },
238        1000:{
239            items:1,
240            nav:true,
241            loop:true
242        },
243		1900:{
244            items:1,
245            nav:true,
246            loop:true,
247			//autoWidth:true
248        }
249    }
250	  
251  });
252  
253  
254  
255  
256  
257  
258  
259  
260  //owl-story banner
261  var owl = $('.owl-alumni.owl-carousel');
262
263  // Carousel initialization
264  owl.owlCarousel({
265      loop:true,
266      margin:0,
267      navSpeed:400,
268      nav:true,
269	  autoplay:true,
270	 dots: false,
271	  singleItem:true,
272	  // autoWidth:true,
273	    responsiveClass:true,
274		//slideBy:2,
275	  
276//dotsData: true,
277     //items:4
278	  
279    responsive:{
280        0:{
281            items:2,
282            nav:true,
283			 margin:5,
284        },
285        600:{
286            items:2,
287            nav:false
288        },
289        1366:{
290            items:4,
291            nav:true,
292            loop:false
293        },
294		
295		  1280:{
296            items:3,
297            nav:true,
298            loop:false
299        },
300		
301		  1024:{
302            items:2,
303            nav:true,
304            loop:false
305        },
306		1900:{
307            //items:3,
308            nav:true,
309            loop:false,
310			//autoWidth:true
311        }
312    }
313	  
314	  
315  });
316  
317  
318 
319  
320   // alumni slider
321  var owl = $('.owl-video');
322
323  // Carousel initialization
324  owl.owlCarousel({
325      loop:true,
326      margin:0,
327      navSpeed:500,
328      nav:true,
329	  autoplay:true,
330	  autoPlay:3000,
331	 dots: false,
332	  singleItem:true,
333	  
334	  // autoWidth:true,
335	    responsiveClass:true,
336		//slideBy:2,
337	  
338//dotsData: true,
339     //items:4
340	  
341    responsive:{
342        0:{
343            items:1,
344            nav:true
345        },
346        600:{
347            items:2,
348            nav:true
349        },
350        1000:{
351            items:4,
352            nav:true,
353            loop:true
354        }
355    }
356	  
357  });
358  
359  //owl-story banner
360  var owl = $('.banner .owl-carousel');
361
362  // Carousel initialization
363  owl.owlCarousel({
364      loop:true,
365      margin:0,
366      navSpeed:500,
367      nav:true,
368	  autoplay:true,
369	 dots: true,
370   // autoWidth:true,
371	   
372	  
373//dotsData: true,
374      items:1
375	  
376	  
377  });
378  
379  //owl-story banner
380  var owl = $('.notification-sec .owl-carousel');
381
382  // Carousel initialization
383  owl.owlCarousel({
384      loop:true,
385      margin:0,
386      navSpeed:500,
387      nav:true,
388	  autoplay:true,
389	 dots: false,
390   // autoWidth:true,
391	   
392	  
393//dotsData: true,
394      items:1
395	  
396	  
397  });
398 
399 
400 
401 //owl-story notification-sec home page
402  var owl = $('.owl-iedetail.owl-carousel');
403
404  // Carousel initialization
405  owl.owlCarousel({
406      loop:false,
407      margin:10,
408      navSpeed:500,
409      nav:false,
410	  autoplay:true,
411	 dots: false,
412	   responsiveClass:true,
413	    //autoWidth:true,
414	   
415	  
416//dotsData: true,
417      items:4
418	  
419  });
420  
421 
422//owl-story notification-sec home page
423  var owl = $('.owl-topper.owl-carousel');
424
425  // Carousel initialization
426  owl.owlCarousel({
427      loop:false,
428      margin:0,
429      navSpeed:500,
430      nav:false,
431	  autoplay:true,
432	 dots: false,
433	  // responsiveClass:true,
434	    //autoWidth:true,
435	   
436	  
437//dotsData: true,
438      items:6,
439	  responsiveClass:true,
440    responsive:{
441        0:{
442            items:1,
443            nav:true
444        },
445        600:{
446            items:3,
447            nav:false
448        },
449        1000:{
450            items:5,
451            nav:true,
452            loop:false
453        }
454    }
455	  
456  });
457  
458     
459
460
461
462// mega menu drop down icon
463
464jQuery('.dropdown').hover(function() {
465              jQuery(this).find('.dropdown-menu').stop(true, true).delay(300).slideDown(300);
466           }, function() {
467             jQuery(this).find('.dropdown-menu').stop(true, true).delay(300).slideUp(300);
468           });
469
470
471	
472	$('.login').click(function(){
473  $('#slideout').toggleClass('on');
474});
475	
476//social js icon	
477					   
478		$(".socil_links").click(function(){
479        $("#open_facegate").toggle();
480	    });
481		
482		$(".share").click(function(){
483        $(".cs-social-share").toggle();
484	    });
485
486
487$('body').click(function(e) {
488    var target = $(e.target);
489    if(target.is('#facegate_tab')) {
490    }else{
491      $('.facegate_tab').css('display','none ')
492    }
493});
494
495
496// striky header
497
498$(window).scroll(function () {
499				if ($(this).scrollTop() > 2) {
500					$('.ese').addClass("sticky");	
501				}
502			else {
503					$('.ese').removeClass("sticky");				}
504			
505			});	
506
507$(window).scroll(function () {
508				if ($(this).scrollTop() > 2) {
509					$('.achivement .nav-tabs').addClass("sticky");	
510				}
511			else {
512					$('.achivement .nav-tabs').removeClass("sticky");				}
513			
514			});	
515
516$(window).scroll(function () {
517				if ($(this).scrollTop() > 2) {
518					$('.branch-dis').addClass("sticky");	
519				}
520			else {
521					$('.branch-dis').removeClass("sticky");				}
522			
523			});	
524
525
526
527/*******************************
528* ACCORDION WITH TOGGLE ICONS
529*******************************/
530  // function toggleIcon(e) {
531  //       $(e.target)
532  //           .prev('.panel-heading')
533  //           .find(".more-less")
534  //           .toggleClass('fa-plus fa-minus');
535  //   }
536  //   $('.panel-group').on('hidden.bs.collapse', toggleIcon);
537   // $('.panel-group').on('shown.bs.collapse', toggleIcon);
538
539
540
541
542   $('.collapsed').click(function(){
543      $(this).children().toggleClass('fa-plus fa-minus')
544	    $(this).toggleClass('collapsed')
545		
546    })
547	// on click of first second is close   
548$('.panel-collapse').on('show.bs.collapse', function (e) {
549  $(e.target).closest('.panel').siblings().find('.panel-collapse').collapse('hide');
550});
551   
552   
553	
554//if mask is clicked
555	$('#page').click(function () {
556	
557		//$('.on').off();
558		 $("#slideout").removeClass("on");
559		 
560		
561	});
562		
563	
564	
565	
566	//pop up js first
567	// Get the modal
568var modal = document.getElementById('myModal');
569
570// Get the button that opens the modal
571var btn = document.getElementById("myBtn");
572
573
574// Get the <span> element that closes the modal
575var span = document.getElementsByClassName("close")[0];
576
577// When the user clicks the button, open the modal 
578// btn.onclick = function() {
579//     modal.style.display = "block";
580// }
581
582// When the user clicks on <span> (x), close the modal
583// span.onclick = function() {
584//     modal.style.display = "none";
585// }
586
587// When the user clicks anywhere outside of the modal, close it
588window.onclick = function(event) {
589    if (event.target == modal) {
590        modal.style.display = "none";
591    }
592}
593	
594//pop up js	 first end
595
596
597
598//pop up js second
599	// Get the modal
600var modal2 = document.getElementById('myModal');
601
602// Get the button that opens the modal
603var btn2 = document.getElementById("myBtn2");
604
605
606// Get the <span> element that closes the modal
607var span2 = document.getElementsByClassName("close")[0];
608
609// When the user clicks the button, open the modal 
610btn2.onclick = function() {
611    modal2.style.display = "block";
612}
613
614// When the user clicks on <span> (x), close the modal
615span2.onclick = function() {
616    modal2.style.display = "none";
617}
618
619// When the user clicks anywhere outside of the modal, close it
620window.onclick = function(event) {
621    if (event.target == modal2) {
622        modal2.style.display = "none";
623    }
624}
625	
626//pop up js	 first second
627
628//pop up js third
629	// Get the modal
630var modal3 = document.getElementById('myModalnew');
631
632// Get the button that opens the modal
633var btn3 = document.getElementById("myBtn3");
634
635
636// Get the <span> element that closes the modal
637var span3 = document.getElementsByClassName("close")[0];
638
639// When the user clicks the button, open the modal 
640btn3.onclick = function() {
641
642    modal3.style.display = "block";
643}
644
645// When the user clicks on <span> (x), close the modal
646span3.onclick = function() {
647
648    modal3.style.display = "none";
649    
650}
651
652
653
654
655// When the user clicks anywhere outside of the modal, close it
656window.onclick = function(event) {
657    if (event.target == modal3) {
658        modal3.style.display = "none";
659        
660    }
661}
662	
663//pop up js	 first second
664	
665	
666	
667	
668	//smooth scroll
669	 $('a.smooth-scroll[href*="#"]:not([href="#"])').click(function() {
670  if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
671    var target = $(this.hash);
672    target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
673    if (target.length) {
674      $('html, body').animate({
675        scrollTop: target.offset().top
676      }, 1000);
677      return false;
678    }
679  }
680});
681
682
683
684  }); 
685
686
687//onload popup 
688	 $(document).ready(function(){
689		$(".home-popup #myModal").modal('show');
690	  //$(".mega-menu .main-hover ul li:first-child").addClass("active-menu");
691	});
692	
693	  $(document).ready(function(){
694		$(".mob-popup #myModal").modal('hide');
695	 
696	});
697	
698
699var winWdth = $(window).width();
700	//alert(winWdth);
701	if(winWdth < 768){
702
703
704 $(document).ready(function(){
705		$(".mob-popup #myModal").modal('show');
706	
707	});
708 }
709
710
711
712 
713/*
714$(document).ready(function () {
715          if (!$.browser.webkit) {
716              $('.wrapper').html('<p>Sorry! Non webkit users. :(</p>');
717          }
718		  
719		  
720		
721
722      });
723	  
724 */
725
726
727
728
729
730
731//owl-story banner
732  var owl = $('.owl-centre-banner.owl-carousel');
733
734  // Carousel initialization
735  owl.owlCarousel({
736      loop:true,
737	  
738      margin:0,
739	  autoplayTimeout:5000,
740      navSpeed:100,
741      nav:false,
742	  autoplay:true,
743	 dots: true,
744	autoplayHoverPause:true,
745
746	   // autoWidth:true,
747	  
748//dotsData: true,
749    responsive:{
750        0:{
751            items:1,
752           
753			 margin:5,
754        },
755        600:{
756            items:1,
757            nav:false
758        },
759        1000:{
760            items:1,
761          
762            loop:true
763        },
764		1900:{
765            items:1,
766         
767            loop:true,
768			//autoWidth:true
769        }
770    }
771	  
772  });
773  
774  
775
776$('.sec1 ul.nav-tabs li a').click(function() {
777    $('.sec1 ul.nav-tabs li a.reference1').removeClass('reference1');
778    $(this).addClass('reference1');
779});
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799//js for top scroll
800
801
802	
803								 
804								 
805 $(document).ready( function() {
806							 
807							 
808$(function(){
809$(".wrapper1").scroll(function(){
810$(".wrapper2")
811  .scrollLeft($(".wrapper1").scrollLeft());
812});
813$(".wrapper2").scroll(function(){
814$(".wrapper1")
815  .scrollLeft($(".wrapper2").scrollLeft());
816});
817});
818	
819 
820 
821 
822 
823   
824	
825$(function(){
826$(".wrapper3").scroll(function(){
827$(".wrapper4")
828	.scrollLeft($(".wrapper3").scrollLeft());
829});
830$(".wrapper4").scroll(function(){
831$(".wrapper3")
832	.scrollLeft($(".wrapper4").scrollLeft());
833});
834});
835	
836	 
837	 
838	 
839	 
840	 
841	 
842	 
843   
844	
845$(function(){
846$(".wrapper5").scroll(function(){
847$(".wrapper6")
848	.scrollLeft($(".wrapper5").scrollLeft());
849});
850$(".wrapper6").scroll(function(){
851$(".wrapper5")
852	.scrollLeft($(".wrapper6").scrollLeft());
853});
854});
855	
856	 
857	 
858	 
859	 
860  
861	
862$(function(){
863$(".wrapper7").scroll(function(){
864$(".wrapper8")
865	.scrollLeft($(".wrapper7").scrollLeft());
866});
867$(".wrapper8").scroll(function(){
868$(".wrapper7")
869	.scrollLeft($(".wrapper8").scrollLeft());
870});
871});
872
873
874
875	
876	
877	//second acc
878	
879$(function(){
880$(".wrapper9").scroll(function(){
881$(".wrapper10")
882.scrollLeft($(".wrapper9").scrollLeft());
883});
884$(".wrapper10").scroll(function(){
885$(".wrapper9")
886  .scrollLeft($(".wrapper10").scrollLeft());
887});
888});
889	
890	
891	
892$(function(){
893$(".wrapper11").scroll(function(){
894$(".wrapper12")
895.scrollLeft($(".wrapper11").scrollLeft());
896});
897$(".wrapper12").scroll(function(){
898$(".wrapper11")
899.scrollLeft($(".wrapper12").scrollLeft());
900});
901});
902
903
904		
905$(function(){
906$(".wrapper13").scroll(function(){
907$(".wrapper14")
908.scrollLeft($(".wrapper13").scrollLeft());
909});
910$(".wrapper14").scroll(function(){
911$(".wrapper13")
912.scrollLeft($(".wrapper14").scrollLeft());
913});
914});
915	
916
917
918
919$(function(){
920$(".wrapper15").scroll(function(){
921$(".wrapper16")
922.scrollLeft($(".wrapper15").scrollLeft());
923});
924$(".wrapper16").scroll(function(){
925$(".wrapper15")
926.scrollLeft($(".wrapper16").scrollLeft());
927});
928});
929	
930	
931	
932	
933	
934});		
935	
936	
937	
938	
939
940
941
942   // alumni slider
943  var owl = $('.owl-video2');
944
945  // Carousel initialization
946  owl.owlCarousel({
947      loop:true,
948      margin:0,
949      //navSpeed:2000,
950      nav:false,
951	  autoplay:true,
952	  //smartSpeed: 2000,
953	  //slideTransition: 'linear',
954    
955    autoplaySpeed: 2500,
956    autoplayTimeout: 3500,
957    //autoplayHoverPause: true,
958	 //dots: false,
959	  //singleItem:false,
960	  
961	  // autoWidth:true,
962	    responsiveClass:true,
963		//slideBy:2,
964	  
965//dotsData: true,
966     //items:4
967	  
968    responsive:{
969        0:{
970            items:1,
971            nav:true
972        },
973        600:{
974            items:2,
975            nav:true
976        },
977        1000:{
978            items:5,
979            nav:true,
980            loop:true
981        }
982    }
983	  
984  });	
985	

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.