1//========================================================================================== 2//ãã¼ã«ãªã¼ãã¼ 3//ãã¼ã«ãªã¼ãã¼ããããç»åã«rolloverã¯ã©ã¹ãã¤ãã¦ä½¿ç¨ 4//========================================================================================== 5 6$(function(){ 7 $("img.rollover").mouseover(function(){ 8 $(this).attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1_on$2")); 9 }).mouseout(function(){ 10 $(this).attr("src",$(this).attr("src").replace(/^(.+)_on(\.[a-z]+)$/, "$1$2")); 11 }).each(function(){ 12 $("").attr("src",$(this).attr("src").replace(/^(.+)(\.[a-z]+)$/, "$1_on$2")); 13 }); 14}); 15 16//========================================================================================== 17//ã³ãã¼ã©ã¤ã 18//========================================================================================== 19var today = new Date(); 20var nyr = today.getFullYear(); 21 22function get_yearc(y_def) { 23 var d_now = new Date(); 24 var y_now = d_now.getFullYear(); 25 var str = y_def; 26 if(y_def != y_now) str += "- " + y_now; 27 return str; 28} 29 30//========================================================================================== 31//ã¹ã ã¼ã¹ã¹ã¯ãã¼ã«ã®å¦ç 32//========================================================================================== 33$(function(){ 34 35 //ã¹ã ã¼ã¹ã¹ã¯ãã¼ã«ã®å¦ç 36 $(".smoothScrolls a").click(function(e) { 37 e.preventDefault(); 38 var tt = $($(this).attr("href")).offset().top; 39 $('html, body').animate({scrollTop:tt}, 300); 40 }); 41 42}) 43 44//========================================================================================== 45//ãã«ãã¦ã³å¦ç 46//========================================================================================== 47$(function () { 48 49 var ua = navigator.userAgent; 50 if (ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) { 51 // ã¹ãã¼ããã©ã³ç¨ã³ã¼ã 52 $(function(){ 53 $(".drop_nav dd").hide(); 54 $(".drop_nav dt").on("click", function() { 55 $(this).next().slideToggle("normal"); 56 }); 57 }); 58 } else if (ua.indexOf('iPad') > 0 || ua.indexOf('Android') > 0) { 59 // ã¿ãã¬ããç¨ã³ã¼ã 60 $(function(){ 61 $(".drop_nav dd").hide(); 62 $(".drop_nav dt").on("click", function() { 63 $(this).next().slideToggle("normal"); 64 }); 65 }); 66 } else { 67 // PCç¨ã³ã¼ã 68 $(function(){ 69 $(".drop_nav dd").hide(); 70 $(".drop_nav").hover(function(){ 71 $("dd:not(:animated)",this).slideDown("normal"); 72 }, 73 function(){ 74 $("dd",this).slideUp("normal"); 75 }); 76 }); 77 } 78}) 79 80 81 82//========================================================================================== 83//ã¢ã³ã¼ãã£ãªã³ 84//========================================================================================== 85$(function () { 86 // 親ã¡ãã¥ã¼å¦ç 87 $('div').click(function() { 88 // ã¡ãã¥ã¼è¡¨ç¤º/é表示 89 $(this).next('ul').slideToggle('fast'); 90 }); 91 92 // åã¡ãã¥ã¼å¦ç 93 $('li').click(function(e) { 94 // ã¡ãã¥ã¼è¡¨ç¤º/é表示 95 $(this).children('ul').slideToggle('fast'); 96 e.stopPropagation(); 97 }); 98}); 99 100 101 102 $(function () { 103 let h = 0; 104 $(".match tr").each(function(){ 105 if(h < $(this).outerHeight()){ 106 h = $(this).outerHeight() 107 }; 108 }); 109 $(".match tr").css("height", h + "px"); 110 //console.log(h); 111 });
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.