PageSourceSearch

https://www.alagoinhas.ba.gov.br/wp-content/themes/alagoinhas/js/custom.js?ver=4.7.29

js alagoinhas.ba.gov.br collected 2026-10-02 20:18:39 UTC 1,600 bytes, 63 lines download raw bytes

1var $ = jQuery.noConflict();
2$(document).ready(function() { 
3
4	$("body").fitVids();
5	$('input, textarea').placeholder();
6	
7	// Scroll to top 
8	var toTop = $('#toTop');
9	var scred = false;
10	var scrHeight = 300;
11	$(window).scroll(function () {
12		if (scrHeight < $(window).scrollTop() && !scred) {
13			toTop.fadeIn();
14			scred = true;
15		} else if (scrHeight > $(window).scrollTop() && scred) {
16			toTop.fadeOut();
17			scred = false;    
18		}
19	});
20	$('a#toTop').click(function () {
21		$('body,html').animate({scrollTop: 0}, 800);
22		return false;
23	});
24	
25	//Search
26	$('#search_btn').click(function(e) {
27		$(this).toggleClass( 'prl-nav-toggle-search prl-nav-toggle-close' );
28		$('#search_form').fadeToggle();
29		return false;
30	});
31	
32	// Sticky navigation
33	var nav = $('#nav');
34	var scrolled = false;
35	var headerHeight = nav.offset().top;
36	$(window).scroll(function () {
37		if (headerHeight < $(window).scrollTop() && !scrolled) {
38			nav.addClass('sticky-nav').animate({ top: '0px' });
39			scrolled = true;
40		} else if (headerHeight > $(window).scrollTop() && scrolled) {
41			nav.removeClass('sticky-nav').removeAttr('style');
42			scrolled = false;    
43		}
44	});
45	
46	
47	// Mobile navigation
48	$('.side-nav li').has('ul').prepend('<span class="nav-click"></span>');
49	$('.side-nav .nav-list').on('click', '.nav-click', function(){
50		$(this).siblings('.sub-menu').slideToggle();
51		$(this).toggleClass('nav-click-up');
52	});
53	
54	
55	$('.gallery_slider').flexslider({
56		autoPlay: false,
57		pauseOnAction: false,
58		animation: "fade",
59		smoothHeight: true
60	  });
61	
62});
63

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.