PageSourceSearch

https://alabamamechanicalsystem.us/wp-content/themes/mcon/scripts/lnm-scripts.min.js

js alabamamechanicalsystem.us collected 2026-09-29 20:31:45 UTC 3,117 bytes, 6 lines download raw bytes

1$(function(){if($(".hide-if-no-social").length>0){var social_el=$(".hide-if-no-social"),social_icon=$("footer a.lnm-social-icon");if (!social_icon.length){social_el.hide()}}if(location.hash!=""){window.location=location.hash.replace("#!","");}
2if(window.location.search.length > 0){window.location.search.substring(1).split("&").forEach(function(param){if(param.split("=")[0] === "id"){$('a').each(function(){var currentHref=this.href;this.href=this.href+'?'+param;var reExp=new RegExp(/\b(id=\d+)\b.*\b(\?id=\d+)\b/g);if(reExp.test(this.href)){this.href=currentHref}
3const regex=/(\#.*)\b(\?id=\d+)\b/g;let match;while((match=regex.exec(this.href))!==null){if(match.index===regex.lastIndex){regex.lastIndex++}
4this.href='/'+match[2]+match[1]}});};});}$(document).foundation();$('#preloader').css('width',$(window).width());$('#preloader').css('height',$(document).height());$('.ajax-link').on('click',function(){$('.ajax-link').removeClass('ajax-active');$(this).addClass('ajax-active')});$('ul.children').parent().addClass('page_parent');$('.top-bar a').on('click',function(){$('#preloader').fadeIn(400);});if($('.scroll-icon').length>0){$('.scroll-icon').click(function(){$('html, body').animate({scrollTop:$('.main-wrapper').offset().top},400);});};if($('.scrollTop').length>0){$('.scrollTop').click(function(){$('html, body').animate({scrollTop:0},1200);});};});$(window).load(function(){if($('#click-on-load').length>0)$('#click-on-load').click();$('.scrollfade').each(function(){var theTop=$(window).scrollTop()+($(window).height()-$(window).height()/4);var thisTop=$(this).offset().top;if(theTop+175>thisTop){$(this).delay(500).addClass('complete');}});});$(window).load(function(){$('[class*="fadein-"]').each(function(){var classes=$(this).attr("class").split(" ");for(var i=classes.length-1;i>=0;i--){if(classes[i].substr(0,7)==="fadein-"){var fadeDuration=classes[i].split("-");$(this).delay(fadeDuration[1]).animate({"opacity":"1"});};};});});$(window).on('resize load',function(){$('.slick-background-slider .slick-slide').css('min-width',$(window).width()); if($(window).width()<=1500){var ratio=1920/1080;$(".slick-desktop").css("min-height",$(window).height());$(".slick-desktop").css("min-width",$(window).height()*ratio);$(".slick-desktop").css("left",-(($(".slick-desktop").width()-$(".slick-background-slider .slick-slide").width())/2));$(".slick-desktop").css("position","relative");}
5else{$(".slick-desktop").css("min-height","auto");$(".slick-desktop").css("min-width","100%");$(".slick-desktop").css("left","0");}});$(window).scroll(function(){$(".parallax-effect").css('top',($(window).scrollTop()/4));$('.scrollfade').each(function(){var theTop=$(window).scrollTop()+($(window).height()-$(window).height()/4);var thisTop=$(this).offset().top;if(theTop-25>thisTop){$(this).delay(500).addClass('complete');}});if($(".cta-wrapper .scrollfade").hasClass("complete")){$('footer .scrollfade').addClass('complete');}
6if($(document).scrollTop()>$("header").height()+50){$("#header-parallax img").css("top",(-($("#header-parallax img").height())));}else{$("#header-parallax img").css("top","0");}});

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.