PageSourceSearch

https://www.forestkitchen-outdoor.com/wp-content/themes/pdp_rst_theme/js/restaurant/restaurant-temp1-common.js

js forestkitchen-outdoor.com collected 2026-10-07 19:28:12 UTC 1,858 bytes, 62 lines download raw bytes

1function FixedAnime() {
2  var e = $("#main-nav").outerHeight(!0);
3  $(window).scrollTop() >= e ? $("#main-nav").addClass("fixed") : $("#main-nav").removeClass("fixed");
4}
5var ua = navigator.userAgent;
6function PageTopAnime() {
7  var e = $(window).scrollTop();
8  $(".follow-up-button").each(function () {
9    if (e >= 200) {
10      $(this).removeClass("DownMove");
11      $(this).addClass("UpMove");
12    } else if ($(this).hasClass("UpMove")) {
13      $(this).removeClass("UpMove");
14      $(this).addClass("DownMove");
15    }
16    var o = $(window).height(),
17      a = $("#footer").offset().top;
18    if (e + o >= a + 10) {
19      var n = e + o - a + 10;
20      $(this).css("bottom", n);
21    } else if ($(this).hasClass("UpMove")) {
22      $(this).css("bottom", "10px");
23    }
24  });
25}
26ua.indexOf("iPhone") < 0 &&
27  ua.indexOf("Android") < 0 &&
28  $(".telhref span").each(function () {
29    $(this).unwrap();
30  }),
31  $('a[href^="#"]').not('.modal-open').click(function () {
32  //   var e = $(this).attr("href"),
33  //     o = $(e).offset().top;
34  //   $("body,html").animate({ scrollTop: o }, 500);
35  //   return !1;
36
37  var target = $(this).attr("href");
38  var position = $(target).offset().top - 100;
39
40  $("body,html").animate({
41    scrollTop: position
42  }, 500);
43
44  return false;
45}),
46  $(".openbtn").click(function () {
47    $(this).toggleClass("active"), $("#g-nav").toggleClass("panelactive"), $(".circle-bg").toggleClass("circleactive");
48  }),
49  $("#g-nav a").click(function () {
50    $(".openbtn").removeClass("active"), $("#g-nav").removeClass("panelactive"), $(".circle-bg").removeClass("circleactive");
51  }),
52  $("#page-top").click(function () {
53    return $("body,html").animate({ scrollTop: 0 }, 500), !1;
54  }),
55  $(window).scroll(function () {
56    PageTopAnime(), FixedAnime();
57  }),
58  $(window).on("load", function () {
59    PageTopAnime(), FixedAnime();
60  });
61
62

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.