PageSourceSearch

https://sportsforceparkssandusky.com/skins/cedarpoint/js/custom.js

js sportsforceparkssandusky.com collected 2026-09-26 06:14:33 UTC 1,352 bytes, 48 lines download raw bytes

1$(document).ready(function($) {
2    //Form Field Default values
3    $('.default-value').each(function() {
4        var default_value = this.value;
5        $(this).focus(function() {
6            if(this.value == default_value) {
7                this.value = '';
8            }
9        });
10        $(this).blur(function() {
11            if(this.value == '') {
12                this.value = default_value;
13            }
14        });
15    });
16
17    $('.scroll-down').click(function(){
18        $('html, body').animate({
19            scrollTop:$('.home-ctas').offset().top - 80
20            }, 1000, function() {
21        });
22    });
23
24    $(window).scroll(function () {
25        var st = $(this).scrollTop();
26        var topnav = $('#header');
27        if (st > 170) {
28            if(!topnav.hasClass('small')){
29                topnav.addClass('small');
30                $('.small').css({top:"-82px"});
31                $('.small').animate({top:"0px"}, 600);
32            }
33        } else {
34            if(topnav.hasClass('small')){
35                topnav.removeClass('small');
36            }
37        }
38        $("#marketing .panel-image").css('margin-top', "-"+st/4+"px");
39        $("#marketing .panel-image .overlay").css('margin-top', "-"+st/4+"px")
40    });
41
42
43    $('.mobile-menu').click(function(){
44        $('#nav-menu').toggleClass('open');
45    });
46}); // end ready
47
48

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.