PageSourceSearch

https://www.palazzoconfalone.it/wp-content/themes/moliere/inc/asse…/jquery.mmenu.navbar.title.js?ver=1.4.07

js palazzoconfalone.it collected 2026-09-26 19:11:39 UTC 1,107 bytes, 54 lines download raw bytes

1/*	
2 * jQuery mmenu navbar addon title content
3 * mmenu.frebsite.nl
4 *
5 * Copyright (c) Fred Heusschen
6 */
7
8(function( $ ) {
9
10	var _PLUGIN_ 	= 'mmenu',
11		_ADDON_  	= 'navbars',
12		_CONTENT_	= 'title';
13
14	$[ _PLUGIN_ ].addons[ _ADDON_ ][ _CONTENT_ ] = function( $navbar, opts )
15	{
16		//	Get vars
17		var _c = $[ _PLUGIN_ ]._c;
18
19
20		//	Add content
21		$navbar.append( '<a class="' + _c.title + '"></a>' );
22
23
24		//	Update
25		var update = function( $panel )
26		{
27			$panel = $panel || this.$pnls.children( '.' + _c.current );
28
29			var $node = $navbar.find( '.' + _c.title ),
30				$orgn = $panel.find( '.' + this.conf.classNames[ _ADDON_ ].panelTitle );
31
32			if ( !$orgn.length )
33			{
34				$orgn = $panel.children( '.' + _c.navbar ).children( '.' + _c.title );
35			}
36
37			var _url = $orgn.attr( 'href' ),
38				_txt = $orgn.html() || opts.title;
39
40			$node[ _url ? 'attr' : 'removeAttr' ]( 'href', _url );
41			$node[ _url || _txt ? 'removeClass' : 'addClass' ]( _c.hidden );
42			$node.html( _txt );
43		};
44
45		this.bind( 'openPanel', update );
46		this.bind( 'init',
47			function()
48			{
49				update.call( this );
50			}
51		);
52	};
53
54})( 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.