PageSourceSearch

https://assist-management.co.jp/share/js_responsive/property.js?d=20261002

js assist-management.co.jp collected 2026-10-04 02:39:58 UTC 1,788 bytes, 59 lines download raw bytes

1//物件写真の拡大
2var galleryOpts = {
3  arrowNavigation: true
4};
5var options = {
6  closeOnScroll: true,
7};
8
9// Lightbox 不要
10//var luminousTrigger = document.querySelectorAll('.zoom-in');
11//new LuminousGallery(luminousTrigger, galleryOpts, options);
12
13$(function(){
14  //ページナビ
15  var nav = $('.property-nav');
16  var navH = nav.height();
17  var hdH = $('header').height();
18  var pnav = $('.property-nav-items');
19  var pnavH = pnav.height();
20  var shareBtn = $('#share-btn');
21  var shareBtnList = $('.share-btn-list');
22  nav.css({'top':-navH-3}).show();
23  $(window).on('scroll', function() {
24    if( $(window).scrollTop() > hdH){
25      // ヘッダー固定している場合は 追加ヘッダー位置を再計算して調整
26      if ($('header').css('position') == 'fixed') {
27        hdH = $('header').height();
28        nav.css({'top':hdH});
29      } else {
30        nav.css({'top':0});
31      }
32    } else {
33      nav.css({'top':-navH-3});
34      pnav.css({'top':0+'px'});
35      shareBtnList.fadeOut();
36    }
37  });
38  $('#property-nav-items-btn').on('click',function() {
39    if (pnav.css('top') == 0+'px') {
40      pnav.css({'top':navH+1+'px'});
41    } else {
42      pnav.css({'top':0+'px'});
43    }
44  });
45  var listPos = $('.property-nav-btn-list').outerWidth() - shareBtn.outerWidth();
46  shareBtnList.css({'right':listPos+'px'});
47  shareBtn.on('click',function() {
48    shareBtnList.fadeToggle(100);
49  });
50  //スムーススクロール
51  $('.property-nav a[href^="#"]').on('click',function() {
52    var speed = 400; // ミリ秒
53    var href= $(this).attr("href");
54    var target = $(href == "#" || href == "" ? 'html' : href);
55    var position = target.offset().top - (navH+pnavH+48);
56    $('body,html').animate({scrollTop:position}, 800, 'swing');
57    return false;
58  });
59});

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.