PageSourceSearch

https://www.natural-kitchen.jp/wordpress/assets/themes/naturalkitchen/assets/js/nav.js?ver=2.4.5

js natural-kitchen.jp collected 2026-10-03 21:37:50 UTC 1,580 bytes, 41 lines download raw bytes

1
2( function ( $ ) {
3	'use strict';
4    $(document).ready(function(){
5        $('.expand-toggle').hover(
6            function () {
7                $(this).find('.nav-expand').addClass('show');
8            },
9            function () {
10                $(this).find('.nav-expand').removeClass('show');
11            }
12        );
13      
14        // indicatorの位置を調整
15        if ($('.tabs .tab a.active').position()) {
16            var left = $('.tabs .tab a.active').position().left;
17            var width = $('.tabs .tab a.active').width();
18            var pWidth = $('.tabs').width();
19            // console.log('left: '+left + ', width:' + width + ', pW:' + pWidth);
20            $('.tabs .indicator').css({'left': left, 'right': pWidth-left-width});
21      
22            $('.tab').hover(
23                function () {
24                    var left = $(this).position().left;
25                    var width = $(this).width();
26                    var pWidth = $('.tabs').width();
27                    $('.tabs .indicator').css({'left': left, 'right': pWidth-left-width});
28                },
29                function () {
30                    var left = $('.tabs .tab a.active').position().left;
31                    var width = $('.tabs .tab a.active').width();
32                    var pWidth = $('.tabs').width();
33                    // console.log('left: '+left + ', width:' + width + ', pW:' + pWidth);
34                    $('.tabs .indicator').css({'left': left, 'right': pWidth-left-width});
35                }
36            );
37        }   // endif;
38      
39      });
40}( jQuery ) );
41

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.