PageSourceSearch

https://www.hometownstation.com/wp-content/plugins/shortcode-menu/js/enhance.menu.js

js hometownstation.com collected 2026-10-02 04:07:01 UTC 1,000 bytes, 34 lines download raw bytes

1if (typeof yourvar != 'undefined')
2	var show_arrow = false;
3//var show_arrow = false;
4$x = jQuery.noConflict();
5
6$x(document).ready(function() {
7	$x(".menu_enhance .sub-menu").each(function(index,element){
8		if(show_arrow == 'true')
9		{
10			$x(this).addClass('wpsm-arrow-enabled');
11			$x(this).addClass('wpsm-left-arrow');
12		}
13	});
14	$x(".enhance_shortcode_menu_inline .sub-menu").each(function(index,element){
15		if(show_arrow == 'true')
16		{
17			$x(this).addClass('wpsm-arrow-enabled');
18			$x(this).addClass('wpsm-up-arrow');
19		}
20	});
21	$x(".enhance_shortcode_menu_inline .sub-menu .sub-menu").each(function(index,element){
22		if(show_arrow == 'true')
23		{
24			$x(this).removeClass('wpsm-up-arrow');
25			$x(this).addClass('wpsm-left-arrow');
26		}
27	});
28	
29	$x('.wpsm-up-arrow').each(function(index,element){
30		var pid = $x(this).parents('.shortcode_menu').attr('id');
31		var w = $x(this).prev('a').width();
32		$x('head').append('<style>#'+pid+' .wpsm-up-arrow:before { width : '+(w-10)+'px; }</style>');
33	});
34});

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.