PageSourceSearch

https://solar-frontier.com/jpn/js/products.js

js solar-frontier.com collected 2026-10-02 15:35:26 UTC 879 bytes, 26 lines download raw bytes

1$(function () {
2  if ($('.product-tab-btn-item-text' + '.active').length) {
3    $('.product-tab-btn-item-text' + '.active').trigger('click');
4  } // パラメータによるタブ切り替え
5
6
7  var url = new URL(window.location.href);
8  var params = url.searchParams; // パラメータからproduct-tab-click-btnのクリック先を指定
9
10  var target = '.btn-' + params.get('btn');
11  target = target.replace('residential', 'personal');
12  target = target.replace('industrial', 'business');
13
14  if (target == '.btn-personal' || target == '.btn-business') {
15    $(target).trigger('click');
16  } // アンカースクロール
17
18
19  var nav = $('nav.gnav').outerHeight(true);
20  var target = $(location.hash).offset().top; // ナビゲーションバー + 余白分を下にスクロールする
21
22  target -= nav + 30;
23  $('html,body').animate({
24    scrollTop: target
25  }, '0');
26});

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.