1/*--------------------------------- 2 // NDB ã«ã¹ã¿ã Add 2021/02/05 3 ---------------------------------*/ 4(function (window, $) { 5 'use strict'; 6 7 $(function () { 8 // ãã³ãããªã¹ãã div å ã«ç§»åãã 9 $('.ndb-breadcrumb > .c-page-header__breadcrumb').prependTo('.c-page-header'); 10 11 // ã¿ã¤ã«ã®ãªã³ã¯é åãå ¨ä½ã«å¤æ´ 12 var $targets = $('.ndb-content .c-screen-image-tile__item, .ndb-content .c-image-tile__item'); 13 $targets.css('cursor', 'pointer'); 14 $targets.on('click', function (e) { 15 e.preventDefault(); 16 var $link = $(this).find('a').eq(0); 17 if ($link.attr('target') === '_blank') { 18 window.open($link.attr('href')); 19 return false; 20 } 21 window.location.href = $link.attr('href'); 22 }); 23 24 // ã°ãã¼ãã«ããç¾å¨å°è¡¨ç¤º 25 var pageURL = location.pathname, 26 pageURLArr = pageURL.split('/'), 27 pageURLArrCategory = pageURLArr[1]; 28 29 $('.l-header-gnav > ul > li > a').each(function (i, v) { 30 var selfhref = $(v).attr('href'), 31 hrefArr = selfhref.split('/'), 32 hrefArrCategory = hrefArr[1]; 33 34 if (pageURLArrCategory === hrefArrCategory) { 35 $(v).parent().addClass('current'); 36 } 37 }); 38 39 }); 40 41})(window, jQuery);
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.