PageSourceSearch

https://www.ecomfort.jp/client_info/ECOMFORTHOUSE/view/userweb/js/common.js?timestamp=1749041160201

js ecomfort.jp collected 2026-10-04 13:23:22 UTC 5,677 bytes, 126 lines download raw bytes

1// JavaScript Document
2$(function() {
3
4  /*------------------------------------------------------------
5    全ページ読み込み
6  --------------------------------------------------------------*/
7  common.setViewport(); //iOS端末でviewportにuser-scalableを追加
8  common.setClassiPhone(); // iPhoneの表示調整
9  common.lasyLoad(); //画像遅延読み込み
10  
11  common.toggleNav(); //ハンバーガーメニュー開閉
12  common.headerFix(); //ヘッダー追従
13  common.toggleSearch(); //キーワード検索
14  common.brandContentMore(); //ブランドのもっと見るボタン
15  common.pageTop(); //ページトップボタン
16  common.tabSwitch(); //タブ切り替え
17  common.accordion(); //アコーディオン
18  common.loadFade(); //ページ読み込み時のフェード処理
19  common.addItemHoverText(); //商品一覧のオンマウス用コンテンツを挿入
20  common.addArticleHoverText(); //記事一覧のオンマウス用コンテンツを挿入
21  common.itemCarousel(); //商品一覧用カルーセル
22  common.smoothscroll(); //スムーススクロール
23  common.priceYen(); // 価格表示の円を¥に置き換え
24  common.freeRadio(); //自由項目のラジオボタン
25
26  /*------------------------------------------------------------
27    トップページ
28  --------------------------------------------------------------*/
29  if (isPageTop()) {
30
31    home.headerCategoryNav(); //ヘッダーカテゴリーナビゲーションの表示
32    home.slider(); //スライダー
33    home.rankingHeight(); //画像高さ揃え
34
35  }
36
37  /*------------------------------------------------------------
38    商品一覧・検索結果ページ
39  --------------------------------------------------------------*/
40  if($('#itemList').length){
41  //if( Util.isPageRegex('(category|CATEGORY)/([^/]+/$)') || Util.isPageRegex('(category|CATEGORY)/([^/]+/)?.*\.html') || Util.isPage('item_list.html') || Util.isPage('item_list$image.html') || Util.isPage('item_list$simple.html')){
42
43    itemList.categoryAccordion(); // カテゴリーアコーディオン
44    itemList.categoryCurrent(); //カテゴリページでグローバルメニューにカレントをつける
45    itemList.setSideCount(); // PC用サイドメニューの商品件数を設定
46    itemList.modal(); // SP用モーダル
47    itemList.search(); // 絞り込み検索処理
48    itemList.contentMore(); // カテゴリー説明文のもっと見るボタン
49    itemList.categoryPageLink(); // カテゴリー説明文のページ内リンク
50    itemList.price(); // 商品価格の表示制御
51    itemList.sortOrder(); // 並び替え
52    itemList.displaySwitch(); // 表示切替
53    itemList.showFixedButton(); // 固定ボタン表示
54    itemList.changeInputNumric(); //(スマホ)価格の入力欄でキーボードを数字入力にする属性を追加
55
56  }
57
58  /*------------------------------------------------------------
59    商品詳細ページ
60  --------------------------------------------------------------*/
61  if($('#itemDetail').length){
62  //if( Util.isPageRegex('(item|category|ITEM|CATEGORY)/([^/]+/)?.*\.html') || Util.isPage('item_detail.html')){
63
64    itemDetail.carousel(); //商品画像カルーセル
65    itemDetail.price(); // 商品価格の表示制御
66    itemDetail.cartButton(); // 在庫切れボタンと入荷お知らせボタンのどちらかを表示
67    itemDetail.contactLink(); // お問い合わせのリンクを生成
68    itemDetail.cartButtonFixed(); // カートボタンの固定表示
69  }
70
71  /*------------------------------------------------------------
72    カート精算画面、カート確認画面
73  --------------------------------------------------------------*/
74  if(Util.isPage('cart_seisan.html') || Util.isPage('cart_confirm.html')){
75    cart.radio(); //ラジオボタンの見栄え調整
76    cart.checkbox(); //チェックボックスの見栄え調整
77    cart.hideSendHopeDate(); //ゆうパケット選択時に、お届け日・お届け時間を非表示にする
78  }
79
80  /*------------------------------------------------------------
81    会員登録系ページ
82  --------------------------------------------------------------*/
83  if(Util.isPage('member_regist_new.html') || Util.isPage('member_regist.html') || Util.isPage('member_input.html') || Util.isPage('member_review_edit.html')) {
84
85  }
86
87  /*------------------------------------------------------------
88    法人のお客様へ
89  --------------------------------------------------------------*/
90  if(Util.isPage('APPLY2.html') || Util.isPage('apply.html') && getUrlParams('id') === 'APPLY2' || Util.isPage('apply_token.html')){
91    corporation.carousel();
92  }
93
94  /*------------------------------------------------------------
95    お問い合わせ
96  --------------------------------------------------------------*/
97  if(Util.isPage('APPLY1.html') || Util.isPage('apply.html')){
98    contact.setItemInfo();
99  }
100  if(Util.isPage('APPLY1.html') || Util.isPage('apply.html') || Util.isPage('apply_token.html')){
101    contact.setFieldClass();
102  }
103  if(Util.isPage('APPLY2.html') || Util.isPage('apply.html') || Util.isPage('apply_token.html')){
104    contact.radio();
105    contact.checkbox();
106  }
107
108  /*------------------------------------------------------------
109    ガイド
110  --------------------------------------------------------------*/
111  if(Util.isPage('guide.html')){
112    guide.accordion();
113  }
114
115  /*------------------------------------------------------------
116    LOOKBOOK
117  --------------------------------------------------------------*/
118  if(Util.isPage('/lookbook/')){
119    lookbook.slider();
120    lookbook.fixedButton();
121  }
122
123
124});
125
126

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.