PageSourceSearch

https://thegreekfest.com/js/script.js

js thegreekfest.com collected 2026-10-07 03:22:51 UTC 5,634 bytes, 205 lines download raw bytes

1function include(url) {
2    document.write('<script src="' + url + '"></script>');
3    return false;
4}
5
6/* cookie.JS
7 ========================================================*/
8include('/dev/js/jquery.cookie.js');
9
10
11/* DEVICE.JS
12 ========================================================*/
13include('/dev/js/device.min.js');
14
15/* Stick up menu
16 ========================================================*/
17include('/dev/js/tmstickup.js');
18$(window).load(function () {
19    if ($('html').hasClass('desktop')) {
20        $('#stuck_container').TMStickUp({
21        })
22    }
23});
24
25
26/* Stellar.js
27 ========================================================*/
28include('/dev/js/stellar/jquery.stellar.js');
29$(document).ready(function() {
30    if ($('html').hasClass('desktop')) {
31        $.stellar({
32            horizontalScrolling: false,
33            verticalOffset: 20
34        });
35    }
36});
37
38/* Easing library
39 ========================================================*/
40include('/dev/js/jquery.easing.1.3.js');
41
42/* ToTop
43 ========================================================*/
44include('/dev/js/jquery.ui.totop.js');
45$(function () {
46    $().UItoTop({ easingType: 'easeOutQuart' });
47});
48
49
50/* DEVICE.JS AND SMOOTH SCROLLIG
51 ========================================================*/
52include('/dev/js/jquery.mousewheel.min.js');
53include('/dev/js/jquery.simplr.smoothscroll.min.js');
54$(function () {
55    if ($('html').hasClass('desktop')) {
56        $.srSmoothscroll({
57            step: 150,
58            speed: 800
59        });
60    }
61});
62
63/* Copyright Year
64 ========================================================*/
65var currentYear = (new Date).getFullYear();
66$(document).ready(function () {
67    $("#copyright-year").text((new Date).getFullYear());
68});
69
70
71/* Superfish menu
72 ========================================================*/
73include('/dev/js/superfish.js');
74include('/dev/js/jquery.mobilemenu.js');
75
76/* Unveil
77 ========================================================*/
78include('/dev/js/jquery.unveil.js');
79$(document).ready(function () {
80    $('img').unveil(0, function () {
81        $(this).load(function () {
82            $(this).addClass("js-unveil");
83        });
84    });
85});
86
87/* Orientation tablet fix
88 ========================================================*/
89$(function () {
90// IPad/IPhone
91    var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'),
92        ua = navigator.userAgent,
93
94        gestureStart = function () {
95            viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0";
96        },
97
98        scaleFix = function () {
99            if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) {
100                viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
101                document.addEventListener("gesturestart", gestureStart, false);
102            }
103        };
104
105    scaleFix();
106    // Menu Android
107    if (window.orientation != undefined) {
108        var regM = /ipod|ipad|iphone/gi,
109            result = ua.match(regM);
110        if (!result) {
111            $('.sf-menu li').each(function () {
112                if ($(">ul", this)[0]) {
113                    $(">a", this).toggle(
114                        function () {
115                            return false;
116                        },
117                        function () {
118                            window.location.href = $(this).attr("href");
119                        }
120                    );
121                }
122            })
123        }
124    }
125});
126var ua = navigator.userAgent.toLocaleLowerCase(),
127    regV = /ipod|ipad|iphone/gi,
128    result = ua.match(regV),
129    userScale = "";
130if (!result) {
131    userScale = ",user-scalable=0"
132}
133document.write('<meta name="viewport" content="width=device-width,initial-scale=1.0' + userScale + '">')
134
135$(document).ready(function () {
136    var obj;
137    if ((obj = $('#owl')).length > 0) {
138        obj.owlCarousel({
139            navigation: false,
140            autoPlay: true,
141            slideSpeed: 300,
142            pagination: true,
143            stopOnHover: true,
144            paginationSpeed: 400,
145            singleItem: true,
146            navigationText: ["", ""]
147        })
148    }
149
150    if ((obj = $('#owl2')).length > 0) {
151        obj.owlCarousel({
152            navigation: true,
153            autoPlay: true,
154            slideSpeed: 300,
155            pagination: false,
156            stopOnHover: true,
157            paginationSpeed: 400,
158            singleItem: true,
159            navigationText: ["", ""]
160        })
161    }
162
163    if ((obj = $('#camera')).length > 0) {
164        obj.camera({
165            height: '49.25%',
166            minHeight: '200px',
167            pagination: false,
168            thumbnails: false,
169            playPause: false,
170            hover: false,
171            loader: 'none',
172            navigation: true,
173            navigationHover: false,
174            mobileNavHover: false,
175            fx: 'simpleFade'
176        })
177    }
178
179    if ((obj = $('#accordion')).length > 0) {
180        obj.accordion({
181            heightStyle: "content"
182        });
183    }
184
185    if ((obj = $('a[data-type="videobox"]')).length > 0) {
186        obj.fancybox()
187            .attr('rel', 'media-gallery')
188            .fancybox({
189                openEffect: 'none',
190                closeEffect: 'none',
191                prevEffect: 'none',
192                nextEffect: 'none',
193
194                arrows: false,
195                helpers: {
196                    media: {},
197                    buttons: {}
198                }
199            });
200    }
201
202    if ((obj = $('a[data-type="lightbox"]')).length > 0) {
203        obj.touchTouch();
204    }
205});

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.