1jQuery(function(){ 2// eruda.init(); 3 4//**********************************ã¹ã ã¼ã¹ã¹ã¯ãã¼ã«ï¼å¥ãã¼ã¸ããã®ãªã³ã¯ã§ãidã®ç®æã«é£ã¶ 5 //URLã®ããã·ã¥å¤ãåå¾ 6 var urlHash = location.hash; 7 //ããã·ã¥å¤ãããã°ãã¼ã¸å ã¹ã¯ãã¼ã« 8 if(urlHash) { 9 //ã¹ã¯ãã¼ã«ã0ã«æ»ã 10 jQuery('body,html').stop().scrollTop(0); 11 setTimeout(function () { 12 //ãã¼ãæã®å¦çãå¾ ã¡ãæéå·®ã§ã¹ã¯ãã¼ã«å®è¡ 13 scrollToAnker(urlHash) ; 14 }, 100); 15 } 16 17 //é常ã®ã¯ãªãã¯æ 18 jQuery('a[href^="#"]').click(function() { 19 //ãã¼ã¸å ãªã³ã¯å ãåå¾ 20 var href= jQuery(this).attr("href"); 21 //ãªã³ã¯å ã#ã空ã ã£ããhtmlã« 22 var hash = href == "#" || href == "" ? 'html' : href; 23 //ã¹ã¯ãã¼ã«å®è¡ 24 scrollToAnker(hash); 25 //ãªã³ã¯ç¡å¹å 26 return false; 27 }); 28 29 // 颿°ï¼ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 30 // æå®ããã¢ã³ã«ã¼(#ID)ã¸ã¢ãã¡ã¼ã·ã§ã³ã§ã¹ã¯ãã¼ã« 31 function scrollToAnker(hash) { 32 var target = jQuery(hash); 33 var position = target.offset().top; 34 jQuery('body,html').stop().animate({scrollTop:position}, 500); 35 } 36//**********************************ã¹ã ã¼ã¹ã¹ã¯ãã¼ã«ï¼å¥ãã¼ã¸ããã®ãªã³ã¯ã§ãidã®ç®æã«é£ã¶)ããã¾ã§ 37 38 //â䏿ãããã¼ã¸ã§ã³ï¼ãã°ãã£ããããã«æ»ãï¼ 39 // jQuery('a[href^="#"]').click(function(){ 40 // if(jQuery(this).attr('id') == 'panel-btn') { 41 // return false; 42 // } else { 43 // var speed = 500; 44 // var href= jQuery(this).attr("href"); 45 // var target = jQuery(href == "#" || href == "" ? 'html' : href); 46 // var position = target.offset().top; 47 // jQuery("html, body").animate({scrollTop:position}, speed, "swing"); 48 // return false; 49 // } 50 // }); 51}); 52(function(d) { 53 var config = { 54 kitId: 'psp4dpw', 55 scriptTimeout: 3000, 56 async: true 57}, 58h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s) 59})(document); 60 61(function() { 62 var cx = '006808370058960004358:esrlj72gzm0'; 63 var gcse = document.createElement('script'); 64 gcse.type = 'text/javascript'; 65 gcse.async = true; 66 gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; 67 var s = document.getElementsByTagName('script')[0]; 68 s.parentNode.insertBefore(gcse, s); 69})(); 70 71jQuery(function() { 72 if(jQuery('body.top').length) { 73 jQuery(".slider").bgswitcher({ 74 images: [ 75 "https://www.kenwakai.or.jp/wp-content/themes/kenwakai/css/slide1.jpg", 76 "https://www.kenwakai.or.jp/wp-content/themes/kenwakai/css/slide2.jpg", 77 "https://www.kenwakai.or.jp/wp-content/themes/kenwakai/css/slide3.jpg" 78 ] 79 }); 80 } 81 if(jQuery('.multiple-items').length) { 82 jQuery('.multiple-items').slick({ 83 infinite: true, 84 slidesToShow: 2, 85 slidesToScroll: 2, 86 dots: true, 87 }); 88 } 89}) 90jQuery(function() { 91 jQuery("#panel-btn").click(function() { 92 jQuery("#panel").slideToggle(200); 93 jQuery("#panel-btn-icon").toggleClass("close"); 94 return false; 95 }); 96 97 jQuery('#postalcode_submit').on('click', function() { 98 var code1 = jQuery('.wpcf7-form [name=postal-1]').val(); 99 var code2 = jQuery('.wpcf7-form [name=postal-2]').val(); 100 var code = code1 + code2; 101 jQuery.ajax({ 102 url: "https://api.zipaddress.net/", 103 type: 'GET', 104 data: { 105 'zipcode' : code, 106 }, 107 dataType: 'jsonp', 108 }).done(function(data){ 109 if(data.pref != undefined) { 110 jQuery('.wpcf7-form [name=your-pref]').val(data.pref); 111 jQuery('.wpcf7-form [name=address-1]').val(data.city+data.town); 112 // jQuery('.wpcf7-form [name=address-2]').val(); 113 } else { 114 alert('å ¥åãããéµä¾¿çªå·ãæ£ããããã¾ãã'); 115 } 116 }).fail(function(data){ 117 alert("ã¨ã©ã¼ã§ã"); 118 }); 119 }); 120}); 121jQuery(function(){ 122 fade('.toggleWrap'); 123}); 124function fade(elm){ 125 var jQueryfade = jQuery(elm), 126 jQuerybody = jQuery('body'); 127 jQueryfade.addClass('hide'); 128 jQuery('#panel-btn').on('click', function(){ 129 jQueryfade.toggleClass('hide').addClass('animation'); 130 jQuery('#panel-btn').toggleClass('fixed'); 131 jQuery('.trigger').toggleClass('active'); 132 if (jQueryfade.hasClass('hide')) { 133 jQuerybody.removeClass('no-scroll').off('.noScroll'); 134 jQuery('body,html,.wrapper').css({"overflow":"scroll","height":"auto"}); 135 } else {
136 jQuerybody.addClass('no-scroll').on('touchmove.noScroll', function(e){ 137 e.preventDefault(); 138 }); 139 jQuery('body,html,.wrapper').css({"overflow":"hidden","height":"100%"}); 140 } 141 }); 142} 143jQuery(function(){ 144 jQuery(".accordionbox li.dt").on("click", function() { 145 jQuery(this).find('ul.dd').slideToggle(); 146 if (jQuery(this).children(".accordion_icon").hasClass('active')) { 147 jQuery(this).children(".accordion_icon").removeClass('active'); 148 jQuery(this).css('background-color', 'inherit'); 149 } else { 150 jQuery(this).children(".accordion_icon").addClass('active'); 151 jQuery(this).css('background-color', 'rgba(255, 255, 255, 0.05'); 152 } 153 }); 154}); 155jQuery(function(){ 156 jQuery('.d_menu1').hover(function() { 157 jQuery('.drop_link1').stop().fadeToggle(300); 158 }, function() { 159 jQuery('.drop_link1').stop().fadeToggle(300); 160 }); 161 jQuery('.d_menu2').hover(function() { 162 jQuery('.drop_link2').stop().fadeToggle(300); 163 }, function() { 164 jQuery('.drop_link2').stop().fadeToggle(300); 165 }); 166 jQuery('.d_menu3').hover(function() { 167 jQuery('.drop_link3').stop().fadeToggle(300); 168 }, function() { 169 jQuery('.drop_link3').stop().fadeToggle(300); 170 }); 171 jQuery('#fontSmall').on('click', function() { 172 173 }); 174 jQuery('#fontBig').on('click', function() { 175 jQuery('html').css('font-size', '70%'); 176 jQuery('#header .right').css('width', '745px'); 177 jQuery('#header .logo h1').css('letter-spacing', '1px'); 178 jQuery('#header .logo p.tk-acumin-pro').css('letter-spacing', '4px'); 179 jQuery('#fontSmall').removeClass('selected'); 180 jQuery('#fontBig').addClass('selected'); 181 }); 182 jQuery('#fontSmall').on('click', function() { 183 jQuery('html').css('font-size', '62.5%'); 184 jQuery('#header .right').css('width', '737px'); 185 jQuery('#header .logo h1').css('letter-spacing', '3px'); 186 jQuery('#header .logo p.tk-acumin-pro').css('letter-spacing', '4.6px'); 187 jQuery('#fontBig').removeClass('selected'); 188 jQuery('#fontSmall').addClass('selected'); 189 }); 190 jQuery('#tabrow.tabrow .info').on('click', function() { 191 jQuery('#tabrow.tabrow li').removeClass('selected'); 192 jQuery(this).addClass('selected'); 193 jQuery('.post').hide(); 194 jQuery('.post.info').show(); 195 }); 196 jQuery('#tabrow.tabrow .all').on('click', function() { 197 jQuery('#tabrow.tabrow li').removeClass('selected'); 198 jQuery(this).addClass('selected'); 199 jQuery('.post').hide(); 200 jQuery('.post.all').show(); 201 }); 202 jQuery('#tabrow.tabrow .event').on('click', function() { 203 jQuery('#tabrow.tabrow li').removeClass('selected'); 204 jQuery(this).addClass('selected'); 205 jQuery('.post').hide(); 206 jQuery('.post.event').show(); 207 }); 208 209 210 jQuery("#to_top").hide(); 211 jQuery(window).on("scroll", function() { 212 var top; 213 if(jQuery('.slider').length) { 214 top = 400; 215 } else { 216 top = 100; 217 } 218 if (jQuery(this).scrollTop() > top) { 219 jQuery("#to_top").fadeIn("normal"); 220 } else { 221 jQuery("#to_top").fadeOut("normal"); 222 } 223 scrollHeight = jQuery(document).height(); 224 scrollPosition = jQuery(window).height() + jQuery(window).scrollTop(); 225 footHeight = jQuery("footer").innerHeight(); 226 if ( scrollHeight - scrollPosition <= footHeight ) { 227 jQuery("#to_top").css({ 228 "position":"absolute", 229 "bottom": footHeight + 20 230 }); 231 } else { 232 jQuery("#to_top").css({ 233 "position":"fixed", 234 "bottom": "20px" 235 }); 236 } 237 }); 238 jQuery('#to_top').click(function () { 239 jQuery('body,html').animate({ 240 scrollTop: 0 241 }, 400); 242 return false; 243 }); 244 jQuery('.qa_row').on('click', function(){ 245 jQuery(this).toggleClass('open'); 246 var height = 0; 247 // header height 248 height = height + jQuery(this).find('.qa_head').outerHeight(); 249 height = height + jQuery(this).find('.qa_body').outerHeight(); 250 jQuery(this).height(height); 251 }) 252}); 253jQuery(window).load(function() { 254 if(jQuery('.mod_table table').length) { 255 jQuery('.mod_table table').tablefix({width: 700, height: 300, fixRows: 1, fixCols: 1}); 256 } 257 258 //è¡åãã¤ã©ã¤ã 259 jQuery(".mod_table table td,.mod_table table th").hover(function() { 260 jQuery(this).not('th').addClass('hover'); 261 jQuery(this).siblings().not('th').addClass('hover'); 262 var index = jQuery(this).index(); 263 jQuery(this).closest('table').find('tr').each(function() { 264 if(jQuery('td, th', this).size() > 0) { 265 jQuery('td, th', this).eq(index).not('th').addClass('hover'); 266 } 267 }); 268 }, function() { 269 jQuery(this).removeClass('hover'); 270 jQuery(this).siblings().not('th').removeClass('hover'); 271 var index = jQuery(this).index(); 272 jQuery(this).closest('table').find('tr').each(function() { 273 if(jQuery('td, th', this).size() > 0) { 274 jQuery('td, th', this).eq(index).not('th').removeClass('hover'); 275 } 276 }); 277 }); 278}); 279jQuery(window).on('load resize',function() { 280 if(jQuery('body.top').length) { 281 var WindowWidth = jQuery(window).width(); 282 jQuery('.slider').css('height',(750 * WindowWidth) / 1920 + "px" ); 283 jQuery('.slider_content').css('height',(750 * WindowWidth) / 1920 + "px" ); 284 } 285}); 286jQuery(document).ready(function(){ 287 jQuery('.schedule').each(function () { 288 var pre_element = null; 289 var col_num = 7; 290 jQuery(this).find('tr').each(function () { 291 var now_td = jQuery(this).find('td').eq( col_num ); 292 if (pre_element == null) { 293 pre_element = now_td; 294 } else if (now_td.text() == pre_element.text()) { 295 if((now_td.text() !== '') && (pre_element.text() !== '')) { 296 now_td.remove(); 297 if (pre_element.attr('rowspan') == null) { 298 pre_element.attr('rowspan', 1); 299 } 300 pre_element.attr('rowspan', parseInt(pre_element.attr('rowspan'),10) + 1); 301 } 302 } else { 303 pre_element = now_td; 304 } 305 }); 306 }); 307});
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.