PageSourceSearch

https://henriqueneto.net/wp-content/plugins/builder-button/assets/scripts.js?ver=1.1.5

js henriqueneto.net collected 2026-10-07 14:14:32 UTC 2,256 bytes, 85 lines download raw bytes

1jQuery(function($){
2
3	$( 'body' ).on( 'click', 'a.scroll-next-row', function(){
4		var $this = $( this );
5		var row = $( this ).closest( '.themify_builder_row' ).next();
6		$( 'body, html' ).animate( {
7			scrollTop: row.offset().top
8		}, 800, function(){
9			if( $( '#headerwrap.fixed-header' ).length > 0 ) {
10				$( 'body, html' ).animate( {
11					scrollTop: row.offset().top - $( '#headerwrap.fixed-header' ).outerHeight()
12				}, 200 );
13			}
14		} );
15
16		$( 'body' ).trigger( 'builder_button_scroll_to_next_row', [$this] );
17
18		return false;
19	} );
20
21	$( 'body' ).on( 'click', 'a.modules-reveal', function(){
22		var $this = $( this ),
23			modules = $this.closest( '.module' ).nextAll();
24		modules.fadeIn();
25
26		/* if there are Map modules that need refreshing, SO #19245804 */
27		modules.find( '.map-container' ).each(function(){
28			if( typeof $( this ).data( 'gmap_object' ) == 'object' ) {
29				google.maps.event.trigger( $( this ).data( 'gmap_object' ), 'resize' );
30			}
31		});
32
33		if( $this.data( 'behavior' ) == 'toggle' ) {
34			$this.addClass( 'modules-show-less' )
35				.removeClass( 'modules-reveal' )
36				.find( 'span' )
37					.text( $this.data( 'lesslabel' ) );
38		} else {
39			$this.fadeOut( 'slow' );
40		}
41
42		$( 'body' ).trigger( 'builder_button_reveal_modules', [$this] );
43		Themify.triggerEvent( window, 'resize' );
44
45		return false;
46	} );
47
48	$( 'body' ).on( 'click', 'a.modules-show-less', function(){
49		var $this = $( this ),
50			modules = $this.closest( '.module' ).nextAll();
51		modules.fadeOut();
52		$this.addClass( 'modules-reveal' )
53			.removeClass( 'modules-show-less' )
54			.find( 'span' )
55				.text( $this.data( 'label' ) );
56
57		$( 'body' ).trigger( 'builder_button_show_less', [$this] );
58		return false;
59	} );
60
61	$(document).ready(function(){
62		if ( $('.module-button .themify_lightbox').length>0 ) {
63			Themify.InitGallery();
64		}
65
66		$('.builder_button').on({
67			mouseenter: function () {
68			var $hover = $(this).data('hover'),
69			$remove = $(this).data('remove');
70			if($hover){
71				$(this).removeClass($remove);
72				$(this).addClass($hover);
73			}
74		},
75		mouseleave: function () {
76			var $hover = $(this).data('hover'),
77			$remove = $(this).data('remove');
78			if($hover){
79				$(this).removeClass($hover);
80				$(this).addClass($remove);
81			}
82		}
83		});
84	});
85});

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.