1function education_insight_gb_Menu_open() { 2 jQuery(".mobile_menu_nav").addClass('show'); 3} 4function education_insight_gb_Menu_close() { 5 jQuery(".mobile_menu_nav").removeClass('show'); 6} 7 8jQuery(function($){ 9 $('.gb_toggle').click(function () { 10 education_insight_Keyboard_loop($('.mobile_menu_nav')); 11 }); 12}); 13 14jQuery(window).scroll(function(){ 15 if (jQuery(this).scrollTop() > 50) { 16 jQuery('.scrollup').addClass('is-active'); 17 } else { 18 jQuery('.scrollup').removeClass('is-active'); 19 } 20}); 21 22jQuery( document ).ready(function() { 23 jQuery('#education-insight-scroll-to-top').click(function (argument) { 24 jQuery("html, body").animate({ 25 scrollTop: 0 26 }, 600); 27 }) 28}) 29// sticky header 30jQuery(window).scroll(function(){ 31 if (jQuery(this).scrollTop() > 120) { 32 jQuery('.fixed_header').addClass('fixed'); 33 } else { 34 jQuery('.fixed_header').removeClass('fixed'); 35 } 36}); 37 38/* Custom Cursor 39 **-----------------------------------------------------*/ 40// Add this in custom-cursor.js 41jQuery(document).ready(function($) { 42 var cursor = $(".custom-cursor"); 43 var follower = $(".custom-cursor-follower"); 44 var offsetX = 15; // Set your desired horizontal offset 45 var offsetY = 15; // Set your desired vertical offset 46 47 $(document).mousemove(function(e) { 48 cursor.css({ 49 top: e.clientY - offsetY + "px", 50 left: e.clientX - offsetX + "px" 51 }); 52 follower.css({ 53 top: e.clientY + "px", 54 left: e.clientX + "px" 55 }); 56 }); 57 58 $("a, button").hover( 59 function() { 60 cursor.addClass("active"); 61 follower.addClass("active"); 62 }, 63 function() { 64 cursor.removeClass("active"); 65 follower.removeClass("active"); 66 } 67 ); 68}); 69 70/*preloader*/ 71jQuery(document).ready(function($) { 72 73 // Function to hide preloader 74 function hidePreloader() { 75 $("#preloader ").delay(2000).fadeOut("slow"); 76 } 77 78 // Check if all resources have been loaded 79 if (document.readyState === "complete") { 80 hidePreloader(); 81 } else { 82 window.onload = hidePreloader; 83 } 84});
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.