PageSourceSearch

https://www.businessqualifications.com/wp-content/themes/businessqualifications/assets/js/custom.js

js businessqualifications.com collected 2026-10-08 04:31:12 UTC 3,170 bytes, 137 lines download raw bytes

1 
2
3$(document).ready(function (o) {
4	$(".trigger").click(function () {
5		$("body").addClass("show-menu")
6	}), $(".popup-menu .close-btn").click(function () {
7		$("body").removeClass("show-menu")
8	}), $(".navbar-fostrap").click(function () {
9		$(".navigation").toggleClass("visible"), $("body").toggleClass("-bg");
10		
11	})});
12	
13		$(document).ready(function(o) {
14    jQuery,
15
16    $("li.menu-item-has-children").on("click", "span.arrow", function(e) {
17		e.preventDefault();
18		e.stopPropagation();
19		$(this).toggleClass("open")
20		$(this).next().next("ul").slideToggle()
21
22    }),
23    $(".menu-item-has-children > a:first-child").after('<span class="arrow"><i class="fa fa-chevron-down"></i></span>')
24});
25	
26$(document).ready(function() {
27    $('.bg-overlay').click(function() {
28       $('.navigation').removeClass('visible'),
29		$('body').removeClass('-bg');
30    });
31});
32
33
34
35
36	
37	
38	
39	
40	
41$(window).scroll(function(){
42    if ($(window).scrollTop() >= 2) {
43        $('header').addClass('sticky');
44    }
45    else {
46        $('header').removeClass('sticky');
47    }	
48	$(window).scrollTop() >= 80 ? ($(".scroll-to-target").fadeIn(500)) : ($(".scroll-to-target").fadeOut(500))
49});	
50 
51
52
53  $(document).ready(function(){ 
54
55$(".search_icon").click(function(){ 
56
57$(".form_section").toggleClass("active"); 
58}); 
59
60});
61
62
63
64
65
66$(document).ready(function(){ 
67    $(window).scroll(function(){ 
68        if ($(this).scrollTop() > 100) { 
69            $('#back_top').fadeIn(); 
70        } else { 
71            $('#back_top').fadeOut(); 
72        } 
73    }); 
74    $('#scroll').click(function(){ 
75        $("html, body").animate({ scrollTop: 0 }, 600); 
76        return false; 
77    }); 
78});;
79
80
81// gallery_lightbox
82    
83const imagenes = document.querySelectorAll('.img-lightbox');
84            const imagenesLight = document.querySelector('.agregar-imagen');
85            const contenedorLight = document.querySelector('.popupbox-light');
86
87            imagenes.forEach(imagen =>{
88                imagen.addEventListener('click', ()=>{
89                    aparecerImagen(imagen.getAttribute('src'))
90                
91                })
92            })
93
94            contenedorLight.addEventListener('click', (e) =>{
95                if(e.target !== imagenesLight){
96                    contenedorLight.classList.remove('show');
97                    imagenesLight.classList.remove('showImage'); 
98                }
99            })
100
101            const aparecerImagen = (imagen) =>{
102                imagenesLight.src = imagen;
103                contenedorLight.classList.add('show');
104                imagenesLight.classList.add('showImage');
105            }
106            
107// gallery_carousel
108
109 $('.gallery_carousel').owlCarousel({
110                loop:true,
111                margin:20,
112                dots:false,
113                nav:true,
114                responsive:{
115                    0:{
116                        items:1
117                    },
118                    480:{
119                        items:2
120                    },
121                    768:{
122                        items:3
123                    },
124                    1000:{
125                        items:4
126                    }
127                }
128            })
129
130
131
132
133
134
135
136	
137	

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.