PageSourceSearch

https://avillaindiana.com/wp-content/themes/city-of-wp/js/ownScript.js?ver=6.9.10

js avillaindiana.com collected 2026-10-10 02:29:32 UTC 2,253 bytes, 84 lines download raw bytes

1jQuery(document).ready(function(){
2/*global jQuery:false */
3/*jshint devel:true, laxcomma:true, smarttabs:true */
4"use strict";
5
6
7	
8
9	// scroll to top
10	jQuery(".scrollTo_top").hide();
11	jQuery(function () {
12		jQuery(window).scroll(function () {
13			if (jQuery(this).scrollTop() > 100) {
14				jQuery('.scrollTo_top').fadeIn();
15			} else {
16				jQuery('.scrollTo_top').fadeOut();
17			}
18		});
19
20	jQuery('.scrollTo_top a').click(function(){
21		jQuery('html, body').animate({scrollTop:0}, 500 );
22		return false;
23	});
24	});
25		
26
27	
28
29	// trigger + show menu on fire
30	  
31        jQuery('a#navtrigger').click(function(){ 
32                jQuery('#navigation').toggleClass('shownav'); 
33                jQuery(this).toggleClass('active'); 
34                return false; 
35        });
36		
37		jQuery('a#navtrigger-sec').click(function(){ 
38                jQuery('#topnav').toggleClass('shownav'); 
39                jQuery(this).toggleClass('active'); 
40                return false; 
41        });
42
43	/* Tooltips */
44	jQuery("body").prepend('<div class="tooltip"><p></p></div>');
45	var tt = jQuery("div.tooltip");
46	
47	jQuery("#sidebar ul.social-menu li a,#footer ul.social-menu li a,.tmnf_icon").hover(function() {								
48		var btn = jQuery(this);
49			
50			tt.children("p").text(btn.attr("title"));								
51						
52			var t = Math.floor(tt.outerWidth(true)/2),
53				b = Math.floor(btn.outerWidth(true)/2),							
54				y = btn.offset().top - 65,
55				x = btn.offset().left - (t-b);
56						
57			tt.css({"top" : y+"px", "left" : x+"px", "display" : "block"});			
58			   
59		}, function() {		
60			tt.hide();			
61	});
62
63	/* clear fixes */
64	jQuery('ul.mpbox.col3>li:nth-child(3n),ul.mpbox.col2>li:nth-child(2n),ul.mpbox.col4>li:nth-child(4n),ul.mpbox.col5>li:nth-child(5n),ul.mpbox.col6>li:nth-child(6n)').next().css({'clear': 'both'});
65	
66	
67	function lightbox() {
68		// Apply PrettyPhoto to find the relation with our portfolio item
69		jQuery("a[rel^='prettyPhoto']").prettyPhoto({
70			// Parameters for PrettyPhoto styling
71			animationSpeed:'fast',
72			slideshow:5000,
73			theme:'pp_default',
74			show_title:false,
75			overlay_gallery: false,
76			social_tools: false
77		});
78	}
79	
80	if(jQuery().prettyPhoto) {
81		lightbox();
82	}
83
84});

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.