PageSourceSearch

https://www.eecinc.us/remodeling/js/main.js?1791312047

js eecinc.us collected 2026-10-06 18:41:15 UTC 4,792 bytes, 129 lines download raw bytes

1(function($) {
2
3    'use strict'; 
4
5    new WOW().init();
6    
7        /*-----------------------------------------------------------------------------------*/
8        /*  Animsition
9        /*-----------------------------------------------------------------------------------*/
10
11        $(".animsition").animsition({
12            inClass: 'fade-in',
13            outClass: 'fade-out',
14            inDuration: 1500,
15            outDuration: 800,
16            linkElement: 'a:not([target="_blank"]):not([href^=#], [class^="image-link"])',
17            loading: true,
18            loadingParentElement: 'body', //animsition wrapper element
19            loadingClass: 'animsition-loading',
20            unSupportCss: ['animation-duration',
21                '-webkit-animation-duration',
22                '-o-animation-duration'
23            ],
24            overlay: false,
25
26            overlayClass: 'animsition-overlay-slide',
27            overlayParentElement: 'body'
28        });
29
30        /*-----------------------------------------------------------------------------------*/
31        /*  Header
32        /*-----------------------------------------------------------------------------------*/
33        $(window).scrollTop();
34            $(window).scroll(function() {
35                if ($(this).scrollTop() > 20) {
36                    $('.site-header').addClass("fixedwrap");
37                } else {
38                    $('.site-header').removeClass("fixedwrap");
39                }
40        }); 
41
42        /*-----------------------------------------------------------------------------------*/
43        /*  Slider Home Fullscreen
44        /*-----------------------------------------------------------------------------------*/
45        $('.fullscreen .flexslider').flexslider({
46            animation: "fade",
47            directionNav: "false",
48            controlNav: "thumbnails"
49        });
50        
51        var windowHeight;
52        var windowWidth;
53
54        windowHeight = $(window).height();
55        windowWidth = $(window).width();
56
57        $(".flexslider-wrap .slides").each(function() {
58            var h = $(this).height();
59            var w = $(this).width();
60            var ratA = w / h;
61            var ratI = windowWidth / windowHeight;
62            if (ratA > ratI) {
63                var r = w / h;
64                $(this).css('height', windowHeight);
65                $(this).css('width', windowHeight * r);
66                var m = ((windowHeight * r) - windowWidth) / 2;
67                $(this).css('margin-left', -m);
68                $(this).attr("rat", 1);
69                $(this).attr("mar", m);
70            } else {
71                var r = h / w;
72                $(this).css('width', windowWidth);
73                $(this).css('height', windowWidth * r);
74                var m = ((windowWidth * r) - windowHeight) / 2;
75                $(this).css('margin-top', -m);
76                $(this).attr("rat", 0);
77                $(this).attr("mar", m);
78            }
79        });
80
81        var windowHeight;
82        var windowWidth;
83
84        windowHeight = $(window).height();
85        windowWidth = $(window).width();
86
87        $(".fullscreen").css('height', windowHeight);
88
89        $('.flexslider-wrap .slides li').css('height', window.innerHeight - 0);
90
91        /*-----------------------------------------------------------------------------------*/
92        /*  Vertical Center
93        /*-----------------------------------------------------------------------------------*/
94
95        var verticalCenterHeight = function() {
96            var screenHeight = $(window).height();
97                $(".vertical-center").each(function() {
98                $(this).css('top', ($(this).parent().height() - $(this).height()) / 2);
99            });
100        }
101
102        window.onload = verticalCenterHeight;
103        window.onresize = verticalCenterHeight;
104
105        /*-----------------------------------------------------------------------------------*/
106        /*  Room Detail Slider
107        /*-----------------------------------------------------------------------------------*/
108
109        $('.room-slider .flexslider').flexslider({
110            animation: "fade",
111            directionNav: "true",
112            controlNav: "true"
113        });
114
115        /*-----------------------------------------------------------------------------------*/
116        /*  Placeholder
117        /*-----------------------------------------------------------------------------------*/
118
119        $('input, textarea').placeholder();
120        
121        /*-----------------------------------------------------------------------------------*/
122        /*  Date Picker
123        /*-----------------------------------------------------------------------------------*/
124
125        $(function() {
126            $('#datepicker').datepicker();
127        });
128
129})(jQuery); 

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.