PageSourceSearch

https://www.svl.com/wp-content/themes/svl/js/menu-links.js?ver=1.013

js svl.com collected 2026-10-04 01:18:21 UTC 1,719 bytes, 53 lines download raw bytes

1jQuery(document).ready(function() { 
2	jQuery('.c-link').each(function() {
3		var $this = jQuery(this);
4		var $link = $this.find('a');
5		var href = $link.attr('href');
6			$this.on('click', function(event) {
7			event.preventDefault();
8			window.location.href = href;
9	  });
10	});
11	
12	jQuery(".history-link").click(function() {
13    	window.location.href = "https://www.svl.com/history/";
14  	});
15	jQuery(".leadership-link").click(function() {
16    	window.location.href = "https://www.svl.com/leadership/";
17  	});
18	jQuery(".careers-link").click(function() {
19    	window.location.href = "https://www.svl.com/careers/";
20  	});
21	jQuery(".svla-link").click(function() {
22    	window.location.href = "https://www.svl-academy.com/";
23  	});
24	jQuery(".projects-link").click(function() {
25    	window.location.href = "https://www.svl.com/projects/";
26  	});
27	jQuery(".case-studies-link").click(function() {
28    	window.location.href = "https://www.svl.com/case-studies/";
29  	});
30	jQuery(".sub-sales").click(function() {
31    	window.location.href = "https://www.svl.com/events/";
32  	});
33});
34
35document.addEventListener("DOMContentLoaded", function () {
36  const partsApp = document.querySelector("#mega-menu-item-108 > a.mega-menu-link");
37  if (partsApp) {
38    const icon = document.createElement("i");
39    icon.classList.add("fa-solid", "fa-mobile-screen-button"); // e.g. "fa-arrow-right" for arrow
40    icon.style.marginLeft = "8px";
41    icon.style.fontSize = "16px";
42    icon.style.verticalAlign = "middle";
43
44    partsApp.append(icon);
45  }
46});
47
48jQuery('.hero-hide').on('keydown', function (e) {
49  if (e.key === 'Enter' || e.key === ' ') {
50    e.preventDefault();   // prevent page scroll on Space
51    jQuery(this).trigger('click');
52  }
53});

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.