PageSourceSearch

https://www.westviewplumbing.com/wp-content/themes/wps/js/core.js

js westviewplumbing.com collected 2026-10-06 20:31:36 UTC 2,600 bytes, 147 lines download raw bytes

1$(document).ready(function() {
2	$('.blueBox').hide();
3	$('.duck').hide();
4	$(".subNav").hide();
5	$("#blueBtn").hide();
6	$("#mobileNav").hide();
7
8 	$('.eachService').hover(function() {
9      $('.trigger', this).children('.blueBox').stop( true, true ).fadeToggle();
10    //   $('.trigger', this).children('.duck').stop( true, true ).fadeToggle();
11	});
12	
13	$("#services").mouseenter(function(){
14		$(".subNav").stop().fadeIn();
15	});
16
17	$("#services").mouseleave(function(){
18		$(".subNav").stop().fadeOut();
19	});
20
21	$("#greyBtn").click(function(){
22		$("#mobileNav").fadeIn();
23		$("#greyBtn").hide();
24		$("#blueBtn").show();
25	});
26
27	$("#blueBtn").click(function(){
28		$("#mobileNav").fadeOut();
29		$("#greyBtn").show();
30		$("#blueBtn").hide();
31	});
32		
33	$('.slider').bxSlider({
34		auto: true,
35		mode: 'fade',
36		pager: true,
37		pause: 6000, 
38		adaptiveHeight: true,
39		infiniteLoop: true,
40		controls: false,
41		hideControlOnEnd: true
42	});
43
44	$('.messageslider').bxSlider({
45		auto: true,
46		mode: 'fade',
47		randomStart: true,
48		pager: true,
49		pause: 12000,
50		adaptiveHeight: true,
51		infiniteLoop: true,
52		controls: false,
53		hideControlOnEnd: true
54	});
55
56	/* ====== Lighbox ====== */
57
58	$(".lightbox").fancybox({
59		openEffect  : 'fade',
60		closeEffect	: 'fade',
61		padding 	: 0,
62		helpers: {
63			title : {
64				type : 'outside'
65			},
66			overlay : {
67				speedOut : 150,
68				locked: false
69			}
70		}
71	});
72	$(".product-lightbox").fancybox({
73		openEffect  : 'fade',
74		closeEffect	: 'fade',
75		padding 	: 0,
76		closeBtn  : true,
77		arrows    : false,
78		nextClick : true,
79		helpers: {
80			title : {
81				type : 'outside'
82			},
83			overlay : {
84				speedOut : 150
85			},
86			thumbs : {
87				width  : 75,
88				height : 75
89			}
90		}
91	});
92	$('.media-lightbox')
93		.attr('rel', 'media-gallery')
94		.fancybox({
95			autoScale : true,
96			width : 910,
97			height : 512,
98			padding : 0,
99			openEffect : 'fade',
100			closeEffect : 'fade',
101			prevEffect : 'none',
102			nextEffect : 'none',
103
104			arrows : false,
105			helpers : {
106				media : {},
107				buttons : {}
108			}
109		});
110
111	/* ====== Lighbox ====== */
112	$("#various1").fancybox({
113		'titlePosition'		: 'inside',
114		'transitionIn'		: 'none',
115		'transitionOut'		: 'none',
116		helpers: {
117		    overlay: {
118		      locked: false
119		    }
120		  }
121	});
122	
123	$(".lightbox").fancybox({
124		openEffect  : 'fade',
125		closeEffect	: 'fade',
126		padding 	: 0,
127		helpers: {
128			title : {
129				type : 'outside'
130			},
131			overlay : {
132				speedOut : 150
133			}
134		}
135	});
136});
137
138$(window).resize(function(){
139
140	if ( $(window).width() >= 767 ) {
141		$("#mobileBtn").hide();
142		$("#mobileNav").hide();
143	} else {
144		$("#mobileBtn").show();
145		$("#mobileNav").hide();
146	}
147});

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.