1(function ($) { 2 "use strict"; 3 4 $.fn.affiliateEyeAccessibleDropDown = function () { 5 var el = $(this); 6 $("a", el) 7 .focus(function () { 8 $(this).parents("li").addClass("hover"); 9 }) 10 .blur(function () { 11 $(this).parents("li").removeClass("hover"); 12 }); 13 }; 14 15 //document ready function 16 jQuery(document).ready(function ($) { 17 $(".news-update").ticker(); 18 $(".news-update").removeClass("news-noload"); 19 $("#affiliate-eye-menu").affiliateEyeAccessibleDropDown(); 20 21 $("#besearch").on("click", function (e) { 22 e.preventDefault(); 23 $("#bspopup").addClass("popup-box-on"); 24 }); 25 26 $("#removeClass").click(function () { 27 $("#bspopup").removeClass("popup-box-on"); 28 }); 29 }); // end document ready 30 31 function stickyElement(e) { 32 var header = document.querySelector(".header"); 33 var headerHeight = getComputedStyle(header).height.split("px")[0]; 34 var menuBar = document.querySelector(".menu-bar"); 35 var scrollValue = window.scrollY; 36 37 if (scrollValue > headerHeight) { 38 menuBar.classList.add("is-fixed"); 39 } else if (scrollValue < headerHeight) { 40 menuBar.classList.remove("is-fixed"); 41 } 42 } 43 44 window.addEventListener("scroll", stickyElement); 45})(jQuery);
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.