PageSourceSearch

https://naturobe.jp/view/asset/user-1-1-5-fe03012401183c99fb0621c43762212f.js

js naturobe.jp collected 2026-10-07 23:57:53 UTC 2,377 bytes, 64 lines download raw bytes

1// グローバルナビゲーション
2$(function() {
3    $('a[href="#nav-item-dropdown"]').on('click', function() {
4        var dropdown = $(this).next('.drop-nv-wrap');
5        if ($(dropdown).css('display') == 'none') {
6            $(dropdown).fadeIn('fast');
7        } else {
8            $(dropdown).fadeOut('fast');
9        }
10        $('.article-title-pc').toggleClass('open');
11        return false;
12    });
13});
14
15// ハンバーガーメニュー
16$(function() {
17    $('.menu-trigger').on('click', function() {
18        if ($(this).hasClass('active')) {
19            $(this).removeClass('active');
20            $('main').removeClass('open');
21            $('nav').removeClass('open');
22            $('.overlay').removeClass('open');
23        } else {
24            $(this).addClass('active');
25            $('main').addClass('open');
26            $('nav').addClass('open');
27            $('.overlay').addClass('open');
28        }
29    });
30    $('.overlay').on('click', function() {
31        if ($(this).hasClass('open')) {
32            $(this).removeClass('open');
33            $('.menu-trigger').removeClass('active');
34            $('main').removeClass('open');
35            $('nav').removeClass('open');      
36        }
37    });
38    $('.article-title').on('click', function() {
39        $(this).next().slideToggle(200);
40        $(this).toggleClass('open');
41    });
42});
43
44// 検索ボックス
45$(function() {
46    $('.search-keyword').on('keypress', function(e) {
47        if (e.keyCode == 13) {
48            var index = $('.search-keyword').index(this);
49            $('.search-url')[index].click();
50        }
51    });
52    
53   /* $('.search-icon').on('click', function() {
54        $('.search-box').animate({ width: 'toggle' }, 'slow');
55    });*/
56    
57  /*  $('.close').on('click', function() {
58        $('.search-box').fadeOut('slow');  
59    });*/
60});
61
62
63
64(function(z,c,p,fpId,w){window.Criteo=window.Criteo||{};window.Criteo.oneTagConfig={partnerId:p,visitEventEnabled:c,fpIdentifier:fpId,waitForGum:w};var a=function(y){var b=function(x){return document.getElementsByTagName(x)[0]},c=b("head")||b("body")||b("script").parentNode,d=document.createElement("script");d.type="text/javascript";d.async=1;d.src=y;c.insertBefore(d,null)},b;for(b=0;b<z.length;b+=1)a(z[b])})(["//static.criteo.net/js/ld/ld.js"],true,88648,undefined,true);

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.