PageSourceSearch

https://taiwanfarm.org.tw/Content/Front/js/main.js

js taiwanfarm.org.tw collected 2026-10-02 05:09:31 UTC 766 bytes, 25 lines download raw bytes

1//fancybox //不知道為啥但是得放在最上頭
2//自動打開thumbnails
3// $('[data-fancybox]').fancybox({
4//     thumbs : {
5//         autoStart : true
6//     }
7// })
8
9
10// scroll to top
11$(document).ready(function () {
12  $(".goTop a").click(function () {
13      return $("html, body").animate({
14        scrollTop: 0
15      }, "slow"), !1
16    }),
17    $("#mobile-toggle").click(function () {
18      $(this).toggleClass("active"),
19        $("#mobile-overlay").toggleClass("open")
20        })
21
22    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { //使用javascript回傳使用者瀏覽裝置的版本
23        $('div.article-container > div.editor').find('img').removeAttr('style');
24    };
25});

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.