1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10var isTouch = window.DocumentTouch && document instanceof DocumentTouch; 11 12function scrollHeader() { 13 // Has scrolled class on header 14 var zvalue = $(document).scrollTop(); 15 if ( zvalue > 75 ) 16 $("#header").addClass("scrolled"); 17 else 18 $("#header").removeClass("scrolled"); 19} 20 21jQuery(document).ready(function($){ 22 23 // ON SCROLL EVENTS 24 if (!isTouch){ 25 $(document).scroll(function() { 26 scrollHeader(); 27 }); 28 }; 29 30 // TOUCH SCROLL 31 $(document).on({ 32 'touchmove': function(e) { 33 scrollHeader(); // Replace this with your code. 34 } 35 }); 36 37 //Smooth scroll to top 38 $('#toTop').click(function(){ 39 $("html, body").animate({ scrollTop: 0 }, 500); 40 return false; 41 }); 42 // Responsive Menu 43 44}); 45 46 47 48}
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.