PageSourceSearch

https://sswc-law.com/wp-content/themes/sswc/js/script.js

js sswc-law.com collected 2026-10-04 10:18:24 UTC 1,632 bytes, 56 lines download raw bytes

1$(document).ready(function(){	
2	$('#slider').nivoSlider({
3		effect: 'fade',
4		pauseTime: 5000,
5		controlNav: false,
6		directionNav: true
7	});
8	
9	$('.matchHeight').matchHeight();
10	
11	$('.tab-default a:not(".tab-default-wrap a")').click(function(e){
12		var index;
13		if($(this).hasClass('active')){
14			$(this).removeClass('active');
15			index = 0;
16			
17			$('.tab-container > .tab-content.active').removeClass('active').fadeOut(400,function(){
18				$('.tab-container > .tab-content').eq(index).fadeIn().addClass('active');
19			})
20		} else {
21			$('.tab-default a.active').removeClass('active');
22			$(this).addClass('active');
23			index = $(this).index('.tab-default a');
24	
25			$('.tab-container > .tab-content.active').removeClass('active').fadeOut(400,function(){
26				$('.tab-container > .tab-content').eq(index).fadeIn().addClass('active');
27			})
28		}
29		$('html, body').animate({ scrollTop: $('.tab-container').offset().top-180 }, "slow");
30		e.preventDefault();
31	});
32	
33	$('a[href*=\\#]:not([href=\\#], [data-toggle], [data-target], [data-slide])').on('click', function () {
34		if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
35			var target = $(this.hash);
36			target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
37			if (target.length) {
38				$('html,body').animate({
39					scrollTop: target.offset().top - 165
40				}, 1000);
41				return false;
42			}
43		}
44	});
45	
46	$('.js-testimonial').slick({
47		arrows: false,
48		autoplay: true,
49		fade: true
50	});
51	
52	$('.btn-help, .drop-contact .close').on('click', function(){
53		$('.drop-contact').toggleClass('show');
54	});
55	
56});

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.