PageSourceSearch

https://didaktika.org/Cms_Data/Sites/didaktika/Sites/2014/Files/js/grayscale.js

js didaktika.org collected 2026-09-26 15:32:37 UTC 3,327 bytes, 144 lines download raw bytes

1//jQuery to collapse the navbar on scroll
2$(window).scroll(function() {
3    if ($(".navbar").offset().top > 50) {
4        $(".navbar-fixed-top").addClass("top-nav-collapse");
5    } else {
6        $(".navbar-fixed-top").removeClass("top-nav-collapse");
7    }
8});
9
10//jQuery for page scrolling feature - requires jQuery Easing plugin
11$(function() {
12    $('.page-scroll a').bind('click', function(event) {
13        var $anchor = $(this);
14        $('html, body').stop().animate({
15            scrollTop: $($anchor.attr('href')).offset().top
16        }, 1500, 'easeInOutExpo');
17        event.preventDefault();
18    });
19});
20
21//Google Map Skin - Get more at http://snazzymaps.com/
22var myOptions = {
23    zoom: 16,
24    center: new google.maps.LatLng(53.212799,50.207368),
25    mapTypeId: google.maps.MapTypeId.ROADMAP,
26    disableDefaultUI: true,
27    styles: [
28    {
29        "stylers": [
30            {
31                "saturation": -100
32            },
33            {
34                "gamma": 1
35            }
36        ]
37    },
38    {
39        "elementType": "labels.text.stroke",
40        "stylers": [
41            {
42                "visibility": "off"
43            }
44        ]
45    },
46    {
47        "featureType": "poi.business",
48        "elementType": "labels.text",
49        "stylers": [
50            {
51                "visibility": "off"
52            }
53        ]
54    },
55    {
56        "featureType": "poi.business",
57        "elementType": "labels.icon",
58        "stylers": [
59            {
60                "visibility": "off"
61            }
62        ]
63    },
64    {
65        "featureType": "poi.place_of_worship",
66        "elementType": "labels.text",
67        "stylers": [
68            {
69                "visibility": "off"
70            }
71        ]
72    },
73    {
74        "featureType": "poi.place_of_worship",
75        "elementType": "labels.icon",
76        "stylers": [
77            {
78                "visibility": "off"
79            }
80        ]
81    },
82    {
83        "featureType": "road",
84        "elementType": "geometry",
85        "stylers": [
86            {
87                "visibility": "simplified"
88            }
89        ]
90    },
91    {
92        "featureType": "water",
93        "stylers": [
94            {
95                "visibility": "on"
96            },
97            {
98                "saturation": 50
99            },
100            {
101                "gamma": 0
102            },
103            {
104                "hue": "#50a5d1"
105            }
106        ]
107    },
108    {
109        "featureType": "administrative.neighborhood",
110        "elementType": "labels.text.fill",
111        "stylers": [
112            {
113                "color": "#333333"
114            }
115        ]
116    },
117    {
118        "featureType": "road.local",
119        "elementType": "labels.text",
120        "stylers": [
121            {
122                "weight": 0.5
123            },
124            {
125                "color": "#333333"
126            }
127        ]
128    },
129    {
130        "featureType": "transit.station",
131        "elementType": "labels.icon",
132        "stylers": [
133            {
134                "gamma": 1
135            },
136            {
137                "saturation": 50
138            }
139        ]
140    }
141]
142};
143
144var map = new google.maps.Map(document.getElementById('map'), myOptions);

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.