PageSourceSearch

https://businessschooljobs.com/assets/js/main.js?v=1

js businessschooljobs.com collected 2026-09-26 13:10:26 UTC 2,597 bytes, 81 lines download raw bytes

1(function ($) {
2"use strict";
3/*=============================================
4	=    		Mobile Menu			      =
5=============================================*/
6//SubMenu Dropdown Toggle
7if ($('.menu__area li.menu-item-has-children ul').length) {
8	$('.menu__area .navigation li.menu-item-has-children').append('<div class="dropdown__btn"><span class="fas fa-angle-down"></span></div>');
9}
10//Mobile Nav Hide Show
11if ($('.mobile__menu').length) {
12	var mobileMenuContent = $('.menu__area .main__menu').html();
13	$('.mobile__menu .menu__box .menu__outer').append(mobileMenuContent);
14	//Dropdown Button
15	$('.mobile__menu li.menu-item-has-children .dropdown__btn').on('click', function () {
16		$(this).toggleClass('open');
17		$(this).prev('ul').slideToggle(500);
18	});
19	//Menu Toggle Btn
20	$('.mobile__nav__toggler').on('click', function () {
21		$('body').addClass('mobile-menu-visible');
22	});
23	//Menu Toggle Btn
24	$('.menu__backdrop, .mobile__menu .close__btn').on('click', function () {
25		$('body').removeClass('mobile-menu-visible');
26	});
27}
28
29/*=============================================
30	=     Menu sticky & Scroll to top      =
31=============================================*/
32$(window).on('scroll', function () {
33	var scroll = $(window).scrollTop();
34	if (scroll < 245) {
35		$("#sticky-header").removeClass("sticky-menu");
36		$('.scroll-to-target').removeClass('open');
37
38	} else {
39		$("#sticky-header").addClass("sticky-menu");
40		$('.scroll-to-target').addClass('open');
41	}
42});
43
44/*=============================================
45	=    		 Scroll Up  	         =
46=============================================*/
47if ($('.scroll-to-target').length) {
48  $(".scroll-to-target").on('click', function () {
49    var target = $(this).attr('data-target');
50    // animate
51    $('html, body').animate({
52      scrollTop: $(target).offset().top
53    }, 1000);
54
55  });
56}
57
58/*=============================================
59	=            Smooth Scroll              =
60=============================================*/
61$(function () {
62	$('a.scroll__link').on('click', function (event) {
63		var $anchor = $(this);
64		$('html, body').stop().animate({
65			scrollTop: $($anchor.attr('href')).offset().top - 40
66		}, 1000);
67		event.preventDefault();
68	});
69});
70
71})(jQuery);
72
73/*=============================================
74	=   	 Inline List Search        =
75=============================================*/
76$(".searchcat-job input").on("keyup", function() {
77    var value = $(this).val().toLowerCase();
78    $(this).parent().find(".searchcat-list li").filter(function() {
79      $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
80    });
81});

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.