PageSourceSearch

https://www.selkirkinsuranceservices.com/js/custom.js

js selkirkinsuranceservices.com collected 2026-10-08 10:23:21 UTC 2,991 bytes, 106 lines download raw bytes

1/* Slider function*/
2
3
4$(document).ready(function() {
5     $("#flexslider").flexisel({
6        visibleItems: 5,
7        animationSpeed: 1000,
8        autoPlay: true,
9        autoPlaySpeed: 3000,            
10        pauseOnHover: false,
11        enableResponsiveBreakpoints: true,
12        responsiveBreakpoints: { 
13            portrait: { 
14                changePoint:480,
15                visibleItems: 2
16            }, 
17            landscape: { 
18                changePoint:640,
19                visibleItems: 3
20            },
21            tablet: { 
22                changePoint:992,
23                visibleItems: 3
24            },
25			tabland: { 
26                changePoint:1199,
27                visibleItems: 4
28            }
29        }
30    });
31});
32
33/* Toggling the Arrow on Bootstrap */
34/* mobile menu toggle effect */
35$('.navbar-toggle').click(function() {
36  $('.navbar-toggle').toggleClass("nav-bg").toggleClass("pad");
37  $('.navbar').toggleClass("nav-bg").toggleClass("pad");
38});
39
40       
41
42/* input validation for non-jotform pages */
43  
44  function numbersonly(e, decimal) {
45		var key;
46		var keychar;
47		if (window.event) {key = window.event.keyCode;}
48		else if (e) {key = e.which;}
49		else {return true;}
50		keychar = String.fromCharCode(key);
51		if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) {return true;}
52		else if ((("0123456789").indexOf(keychar) > -1)) {return true;}
53		else if (decimal && (keychar == ".")) {return true;}
54		else return false; 
55	}
56	
57		/* place holder js for non-jotform*/
58		
59$('[placeholder]').focus(function() {
60  var input = $(this);
61  if (input.val() == input.attr('placeholder')) {
62    input.val('');
63    input.removeClass('placeholder');
64  }
65}).blur(function() {
66  var input = $(this);
67  if (input.val() == '' || input.val() == input.attr('placeholder')) {
68    input.addClass('placeholder');
69    input.val(input.attr('placeholder'));
70  }
71}).blur();
72
73if($('html').hasClass('is-cms')){
74 $('.overlay').removeClass('overlay').addClass('overlay-cms');
75 $('.grad-bg-inner').removeClass('grad-bg-inner');
76}
77
78
79/* Equal Height */
80function equalHeight(group) {
81   tallest = 0;
82   group.each(function() {
83     // thisHeight = $(this).height();
84	  thisHeight = $(this).css({'height':'auto'}).height();
85      if(thisHeight > tallest) {
86         tallest = thisHeight;
87		  
88      }
89   });
90   group.height(tallest);
91}
92$(window).on('load resize', function(){
93equalHeight($(".tablet-view"));
94equalHeight($(".column-p"));
95 });
96 
97 $(document).ready(function() {
98            var holder = 'Your Zip Code';
99            $('.zip').blur(function() {
100                if ($(this).val().length == 0)
101                    $(this).val(holder).addClass('holder');
102            }).focus(function() {
103                if ($(this).val() == holder)
104                    $(this).val('').removeClass('holder');
105            }).val(holder).addClass('holder');
106        });

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.