PageSourceSearch

https://www.photoback.jp/Content/js/common.js

js photoback.jp collected 2026-09-24 10:09:59 UTC 1,834 bytes, 53 lines download raw bytes

1////////// common //////////
2$.fx.interval = 24;
3
4
5
6///// スムーズスクロール部分の記述 ////
7    $(function () {
8     var headerHight = $(".header").height(); //ヘッダの高さ
9     $('.pageLinkNav a[href^="#"],.choiceUl a[href^="#"],.award a[href^="#"],.mypageUserTitleBtn a[href^="#"]').click(function(){
10         var href= $(this).attr("href");
11           var target = $(href == "#" || href == "" ? 'html' : href);
12            var position = target.offset().top-headerHight; //ヘッダの高さ分位置をずらす
13         $("html, body").animate({scrollTop:position}, 550, "swing");
14            return false;
15       });
16     });
17
18///// アンカーリンク共通 スムーズスクロール部分の記述 ////
19     $(function () {
20      var headerHight = 135; //ヘッダの高さ
21      $('a[href^="#"]').click(function(){
22      var href= $(this).attr("href");
23      var target = $(href == "#" || href == "" ? 'html' : href);
24          var position = target.offset().top-headerHight; //ヘッダの高さ分位置をずらす
25          $("html, body").animate({scrollTop:position}, 550, "swing");
26          return false;
27          });
28      });
29
30
31//////////////////ガイド・TOP  toggleボタン//////////////////////////
32$(function(){
33   $(".guideCategoryTitle").click(function() {
34      $(this).next(".guideCategoryBox").slideToggle();
35      $(this).toggleClass('active');
36  });
37});
38
39//////////////////toggleボタン//////////////////////////
40$(function() {
41                 $(".toggle_btn").click(function(){
42                     $(this).next(".toggle_box").slideToggle("slow");
43                     $(this).toggleClass('active');
44                 });
45         });
46
47
48//////////////////lazyload//////////////////////////
49  $(function () {
50    $('img.lazy').lazyload({
51      effect: "fadeIn"
52    });
53  });

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.