PageSourceSearch

https://www.huetten.com/(cms)/module/static/default/content/libs/js/vct/vct.js

js huetten.com collected 2026-09-26 06:12:08 UTC 1,123 bytes, 59 lines download raw bytes

1if ( window.console && window.console.info ) {
2	console.info( 'vioma content toggler' );
3	console.info( 'Version 0.1' );
4}
5
6jQuery.fn.contentToggle = function( string, element ) {
7	return this.each(
8		function(){
9			var link = jQuery( this );
10
11			if ( string == undefined ) {
12				string = link.text();
13			}
14			
15			if ( string.indexOf( '|' ) == -1 ) {
16				string = [ string, string ];
17			}
18			else {
19				string = string.split( '|' );
20			}			
21			
22			if ( element == undefined ) {
23				element = jQuery( this ).siblings( ':first' )[0];
24			}
25			else {
26				element = jQuery( element );
27			}
28			
29			if ( element[0].length == 0 ) return false;
30			
31			if ( element.css( 'display' ) == 'none' ) {
32				element.slideDown();
33				
34				if ( typeof string != 'undefined' ) {
35					link.html( string[1] );
36				}
37				else {
38					link.hide();
39				}
40				
41				link
42					.removeClass( 'closed' )
43					.addClass( 'open' );
44			}
45			else {
46				element.slideUp();
47				
48				if ( typeof string != 'undefined' ) {
49					link.html( string[0] );
50				}
51				
52				link
53					.removeClass( 'open' )
54					.addClass( 'closed' );
55			}
56			
57			return false;
58		});
59};

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.