PageSourceSearch

https://woodcountymonitor.com/js/site.js

js woodcountymonitor.com collected 2026-10-02 20:57:10 UTC 1,288 bytes, 43 lines download raw bytes

1$(function(){
2
3	// // Cover photos
4	$('.cover-photo').each(function(){
5		$(this).css("background-image", "url("+$(this).data('src')+")");
6	});
7
8	// // Polls
9	$('.poll-form .vote button').click(function(){
10		form = $(this).closest('.poll-form');
11		if( form.serialize() != '' ){
12			form.submit();
13		}
14	});
15
16	// Gallery widget
17	$('.widget.content.gallery  .carousel').on('slide.bs.carousel', function(e){
18		var target = $(e.relatedTarget);
19		var container = target.closest('.widget.content.gallery ');
20		container.find('.thumbnails li').removeClass('active');
21		container.find('.thumbnails li[data-slide-to='+target.data('item')+']').addClass('active');
22	});
23	$('.widget.content.gallery  .thumbnails li').click(function(){
24		var container = $(this).closest('.widget.content.gallery ');
25		container.find('.carousel').carousel('pause');
26	});
27	$('.widget.content.gallery  .carousel .canvas').mouseenter(function(){
28		$(this).find('.carousel-caption').fadeIn('fast');
29	});
30	$('.widget.content.gallery  .carousel .canvas').mouseleave(function(){
31		$(this).find('.carousel-caption').fadeOut('fast');
32	});
33
34	// Auto height
35	window.setTimeout(function(){
36			$('.autoheight-group').each(function(){
37				$(this).find('.autoheight').height( parseInt($(this).height()) - 40 );
38			})
39		},
40		2000
41	);
42
43});

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.