1// JavaScript Document 2 3$(document).ready(function() { 4 // é«ãè¨ç®é¢æ° 5 function adjustHeight() { 6 // 1. åºæºã¨ãªãè¦ç´ ã®é«ããåå¾ 7 var targetHeight = $('.active .sub-menu').height(); 8 // 2. é«ãã夿´ãããè¦ç´ ã«è¨å® 9 $('.naviAreBg').css('height', targetHeight); 10 } 11 12 // ååèªã¿è¾¼ã¿æã«å®è¡ 13 adjustHeight(); 14 15 // ãªãµã¤ãºããæ 16 $(window).resize(function() { 17 adjustHeight(); 18 }); 19}); 20 21 22function hedH_function(){ 23 var hedH = $('header').innerHeight(); 24 $('#wrap').css('padding-top',hedH); 25 $('#sp-menu').css('top',hedH); 26 $('.naviAreBg').css('top',hedH); 27} 28$(document).ready(function() { 29 // ãµã¤ãå ãªã³ã¯ãã_blankåé¤ 30 var hostname = location.hostname; 31 32 var ua = navigator.userAgent.toLowerCase(); 33 if (ua.indexOf('safari') != -1 && ua.indexOf('chrome') == -1 && ua.indexOf('crios') == -1 && ua.indexOf('android') == -1) { 34 $('.gtranslate_wrapper').remove(); 35 } 36 37 $('a[href^="http"]').each(function() { 38 if ($(this).attr('href').indexOf(hostname) > -1) { 39 $(this).removeAttr('target'); 40 } 41 }); 42 43 // ãµã¤ãå¤ãªã³ã¯ãPDFã«_blank追å 44 $("a[href^='http']:not([href*='" + location.hostname + "'])").attr('target', '_blank'); 45 $('a[href$=".pdf"]').on('click', function(e) { 46 $(this).attr('target', '_blank'); 47}); 48}); 49 50 51 52$(function () { 53 $('.navi-area > ul li a').each(function () { 54 var $href = $(this).attr('href'); 55 if (location.href.match($href)) { 56 $(this).addClass('currentLINK'); 57 } else { 58 $(this).removeClass('currentLINK'); 59 } 60 }); 61}); 62 63 64$(function () { 65 $('header .noMenu').remove(); 66 $('.navi-area > .wp-block-list li > .wp-block-list').wrap('<div class="sub-menu">'); 67 $('#sp-menu > .wp-block-list li > .wp-block-list').wrap('<div class="sub-menu">'); 68 $('.navi-area .sub-menu li a strong').contents().unwrap(); 69 $('#side .noLink > a').contents().unwrap(); 70 $('#side em').remove(); 71 $('.navi-area .sub-menu li:first-child a').wrapInner('<div class="h2"></div>'); 72 $('#side .inner > .wp-block-list li > .wp-block-list').addClass('side-menu'); 73 $('.side-menu li > ul').removeClass('side-menu'); 74 $(".wp-block-list").parents("#side .inner > ul > li .side-menu li").addClass("anchor"); 75 76 $('.wp-block-details-is-layout-flow').append('<div class="close-btn"><span>éãã</span></div>'); 77 78 $('.wp-block-details-is-layout-flow > .close-btn').on('click', function () { 79 $(this).parent('.wp-block-details-is-layout-flow').removeAttr('open'); 80 }); 81 82 $('table').wrap('<div class="table-scroll"></div>'); 83 84 85}); 86 87 88 $(function () { 89 var fontTarget = $('h1, h2, h3, h4, h5, p, ul, ol, li, img, table, th, td, dl, dt, dd, a, summary, span:not(* span), .tablepress td, .tablepress th, i'); 90 91 fontTarget.each(function() { 92 if (!$(this).data('original-size')) { 93 var size = parseFloat($(this).css('fontSize')); 94 $(this).data('original-size', size > 0 ? size : 18); 95 } 96 }); 97 98 $('#size-area .small').click(function(){ 99 fontSizeSmall(); 100 $.cookie("fontsize-cookie-small", "on", { path: "/" }); 101 $.removeCookie("fontsize-cookie-medium", { path: "/" }); 102 $('#size-area .small').addClass("active"); 103 $('#size-area .medium').removeClass("active"); 104 $('#size-area .large').removeClass("active"); 105 }); 106
107 $('#size-area .medium').click(function(){ 108 fontSizeMedium(); 109 $.cookie("fontsize-cookie-medium", "on", { path: "/" }); 110 $.removeCookie("fontsize-cookie-small", { path: "/" }); 111 $('#size-area .small').removeClass("active"); 112 $('#size-area .medium').addClass("active"); 113 $('#size-area .large').removeClass("active"); 114 }); 115 116 $('#size-area .large').click(function(){ 117 fontSizeLarge(); 118 $.removeCookie("fontsize-cookie-small", { path: "/" }); 119 $.removeCookie("fontsize-cookie-medium", { path: "/" }); 120 $('#size-area .large').addClass("active"); 121 $('#size-area .medium').removeClass("active"); 122 $('#size-area .small').removeClass("active"); 123 }); 124 125 function fontSizeSmall(){ 126 fontTarget.each(function() { 127 var baseSize = $(this).data('original-size'); 128 $(this).css({ 129 'font-size': (baseSize * 0.8) + 'px', 130 'line-height': '1.5' 131 }); 132 }); 133 } 134 135 function fontSizeMedium(){ 136 fontTarget.each(function() { 137 var baseSize = $(this).data('original-size'); 138 $(this).css({ 139 'font-size': (baseSize * 0.9) + 'px' 140 }); 141 }); 142 } 143 144 function fontSizeLarge(){ 145 fontTarget.each(function() { 146 var baseSize = $(this).data('original-size'); 147 $(this).css({ 148 'font-size': (baseSize * 1) + 'px' 149 }); 150 }); 151 } 152 153 if($.cookie('fontsize-cookie-small')){ 154 fontSizeSmall(); 155 $('#size-area .small').addClass("active"); 156 $('#size-area .medium').removeClass("active"); 157 $('#size-area .large').removeClass("active"); 158 }else if($.cookie('fontsize-cookie-medium')){ 159 fontSizeMedium(); 160 $('#size-area .small').removeClass("active"); 161 $('#size-area .medium').addClass("active"); 162 $('#size-area .large').removeClass("active"); 163 }else{ 164 fontSizeLarge(); 165 $('#size-area .small').removeClass("active"); 166 $('#size-area .medium').removeClass("active"); 167 $('#size-area .large').addClass("active"); 168 } 169}); 170 171 172$(function(){ 173 hedH_function(); 174 175}); 176$(function() { 177 var currentUrl = window.location.pathname; 178 179 $(".side-menu li > a","#side .inner > ul > li .side-menu li > ul li a").each(function() { 180 if ($(this).attr("href") === currentUrl) { 181 $(this).addClass("current"); 182 } 183 }); 184 185 var ua = navigator.userAgent; 186 if (ua.match(/iPhone|Android(.+)?Mobile/)) { 187 $("#container").removeClass("open").addClass("close"); 188 } else { 189 $(window).on('load resize',function(){ 190 const smWindowSize = 1200; 191 if (window.innerWidth <= smWindowSize){ 192 $("#container").removeClass("open").addClass("close"); 193 } else { 194 $("#container").removeClass("close"); 195 } 196 }); 197 } 198}); 199 200 201 202$(function () { 203 $('.side-btn').click(function () { 204 $('#container').toggleClass('open').removeClass("close");; 205 if($('#container').hasClass('open')){ 206 $.removeCookie("open-cookie", { path: "/" }); 207 }else{ 208 $.cookie("open-cookie", "on", { expires: 7, path: "/" }); 209 } 210 }); 211 212 if(!$.cookie('open-cookie')){ 213 $('#container').addClass('open'); 214 $('#container').addClass('open-no-anime'); 215 setTimeout(function(){ 216 $('#container').removeClass('open-no-anime'); 217 },1); 218 }else{ 219 $('#container').removeClass('open'); 220 } 221 222 $('#side p').click(function () { 223 $(this).next('ul').slideToggle(); 224 $(this).parents('li').toggleClass('active'); 225 }); 226 $('#side .side-menu strong').click(function () { 227 $(this).next('ul').slideToggle(); 228 }); 229 $('#side .inner > .members > li > strong').click(function () { 230 $(this).next('ul').slideToggle(); 231 }); 232 233 $('#side a').each(function(){ 234 var $href = $(this).attr('href'); 235 if(location.href.match($href)) { 236 $(this).parent().addClass('current'); 237 $(this).parents('ul').slideDown(0); 238 } 239 }); 240 241 $('.navi-area .sub-menu li a').matchHeight(); 242 243 244 $('.navi-area > ul li span,#sp-menu ul li span,.navi-area > ul li strong,#sp-menu ul li strong').click(function () { 245 var thisSet = $(this); 246 if($(this).parent('li').hasClass('active')){ 247 $(this).next('.sub-menu').slideUp(200); 248 $(this).parent('li').removeClass('active'); 249 $('.naviAreBg').css({"height": 0}); 250 $('#naviBg').fadeOut(); 251 }else{ 252 $('.sub-menu').fadeOut(); 253 $('.navi-area > ul li').removeClass('active'); 254 $(this).parent('li').addClass('active'); 255 setTimeout(function(){ 256 $(thisSet).next('.sub-menu').fadeIn(); 257 var subMenuHeight = $(thisSet).next('.sub-menu').outerHeight(); 258 $('.naviAreBg').css({"height": subMenuHeight}); 259 },100); 260 $('#naviBg').fadeIn(); 261 } 262 }); 263 $('.navi-area > ul li span,#sp-menu ul li span,.navi-area > ul li strong,#sp-menu ul li strong').click(function () { 264 var thisSet = $(this); 265 if($(this).parent('li').hasClass('current')){ 266 $(this).next('.sub-menu').slideUp(200); 267 $(this).parent('li').removeClass('current'); 268 $('.naviAreBg').css({"height": 0}); 269 $('#naviBg').fadeOut(); 270 }else{ 271 $('.sub-menu').fadeOut(); 272 $('.navi-area > ul li').removeClass('current'); 273 $(this).parent('li').addClass('current'); 274 setTimeout(function(){ 275 $(thisSet).next('.sub-menu').fadeIn(); 276 var subMenuHeight = $(thisSet).next('.sub-menu').outerHeight(); 277 $('.naviAreBg').css({"height": subMenuHeight}); 278 },100); 279 $('#naviBg').fadeIn(); 280 } 281 }); 282 $('#wrap').append('<div id="naviBg"></div>'); 283 $('header').append('<div id="hNaviBg"></div>'); 284 285 $(document).on('click', '#naviBg,#hNaviBg,header .inner', function() { 286 $('.sub-menu').slideUp(200); 287 $('.naviAreBg').css({"height": 0}); 288 $('#naviBg').fadeOut(); 289 $('.navi-area > ul li').removeClass('active'); 290 }); 291 292 $('a[href*="#"]').click(function () { 293 var speed = 500; 294 var adjust = $('header').innerHeight(); 295 var href = $(this).attr("href"); 296 var hash = href.split("#")[1]; 297 if (!hash) return; 298 var currentPath = window.location.pathname; 299 var link = document.createElement("a"); 300 link.href = href; 301 var linkPath = link.pathname; 302 if (currentPath === linkPath || linkPath === '') { 303 var targetElement = $('#' + hash); 304 if (targetElement.length) { 305 var position = targetElement.offset().top - adjust; 306 $('html, body').animate({ scrollTop: position }, speed, 'swing'); 307 return false; // ãã¼ã¸é·ç§»ãããªã 308 } 309 } 310 }); 311 312 313 if (location.hash) { 314 var hedH = $('header').innerHeight(); 315 var target = $(location.hash); 316 if (target.length) { 317 $('html, body').scrollTop(0); 318 setTimeout(function () { 319 var position = target.offset().top - hedH; 320 $('html, body').animate({ scrollTop: position }, 500); 321 }, 100); 322 } 323 } 324 325 $('footer .link .col h2').click(function () { 326 $(this).toggleClass('active'); 327 }); 328 329 $('#menu li a').matchHeight(); 330 $('footer .link .col h2').matchHeight(); 331 332 $('#topScroll').click(function () { 333 $('body, html').animate({ scrollTop: 0 }, 500); 334 }); 335 336 /* SPæããã²ã¼ã·ã§ã³ */ 337 $('#menuBtn').click(function () { 338 $(this).toggleClass('active'); 339 $('#sp-menu').slideToggle(); 340 }); 341 342}); 343 344 345$(window).bind("load", function(){ 346 if(document.URL.match("category_name=about")) { 347 $('#side .inner > ul > li:nth-child(2)').addClass('active'); 348 } 349 if(document.URL.match("/about|finance|member-registration|message|subcommittee|area|committee-list|about-society|teikan|council|organization-directory-list")) { 350 $('#side .inner > ul > li:nth-child(2)').addClass('active'); 351 } 352 if(document.URL.match("category_name=society-activities")) { 353 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 354 } 355 if(document.URL.match("/society-activities|about-other|other-activities|intensive-course|gideline|gideline|report|proposals-assertions|request-letter|database-covid-19|mail|registered-business|vaccination|vaccinations-infectiousdiseases|opinion|influenza-subcommittee|letter|manual|training-sessions-seminars|international-relations|society-activities-academic-meeting|consultation|pediatric-emergency|initial-response|providing-information|tokyo-ori-para|activity-history|disaster|great-tohoku-earthquake|promoting-gender-equality|award|medical-care")) { 356 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 357 } 358 if(document.URL.match("category_name=pediatrician")) { 359 $('#side .inner > ul > li:nth-child(4)').addClass('active'); 360 } 361 if(document.URL.match("/pediatrician|qa-specialist|info-specialist|specialist-list|pediatrician-new|pediatrician-update|pediatrician-summary|new-system|training-session-approval|training-facility|application|instructor-update|instructor")) { 362 $('#side .inner > ul > li:nth-child(4)').addClass('active'); 363 } 364 if(document.URL.match("/modules/senmoni/|/modules/shisetsu")) { 365 $('#side .inner > ul > li:nth-child(4)').addClass('active'); 366 } 367 if(document.URL.match("/modules/glossary/")) { 368 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 369 } 370 if(document.URL.match("category_name=seminar/")) { 371 $('#side .inner > ul > li:nth-child(5)').addClass('active'); 372 } 373 if(document.URL.match("/seminar|seminar|symposium|session|academic-meeting")) { 374 $('#side .inner > ul > li:nth-child(5)').addClass('active'); 375 } 376 if(document.URL.match("category_name=publications")) { 377 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 378 } 379 if(document.URL.match("/publications|publications|pediatrics-international|table-of-contents|publications-other|post-inquiry|color-image|magazine|e-book-howto")) { 380 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 381 } 382 if(document.URL.match("/seminar")) { 383 $('#side .inner > ul > li:nth-child(5)').addClass('active'); 384 } 385 if(document.URL.match("category_name=news")) { 386 $('#side .inner > ul > li:nth-child(6)').addClass('active'); 387 } 388 if(document.URL.match("/news|general-public")) { 389 $('#side .inner > ul > li:nth-child(6)').addClass('active'); 390 }
391 /* ã¢ã¼ã«ã¤ãç¨ */ 392 if(document.URL.match(/=news|=othernews|=event|=gidelinenews|=pressrelease|=generalnews|=organizationnews|=membersnews|=publicationsnews|=activitynews|=about-news|=studentsnews|=pediatricsnews|=important/)) { 393 $('#side .inner > ul > li:nth-child(6)').addClass('active'); 394 } 395 if(document.URL.match("category_name=other-categories")) { 396 $('#side .inner > ul > li:nth-child(7)').addClass('active'); 397 } 398 if(document.URL.match("/other-categories")) { 399 $('#side .inner > ul > li:nth-child(7)').addClass('active'); 400 } 401 if(document.URL.match("/10032.html")) { 402 $('#breadcrumb ul > li:nth-child(2)').css('display', 'none'); 403 } 404 405 /* ããã²ã¼ã·ã§ã³ãè¤è£½ */ 406 $('.navi-area > ul').clone(true).appendTo('#sp-menu'); 407 $('header .search-area').clone(true).appendTo('#sp-menu'); 408 409}); 410 411 412$(window).on('load resize scroll',function(){ 413 $('#topScroll').each(function(){ 414 var $window = $(window); 415 var wScrollvalue = $window.scrollTop(); 416 if(wScrollvalue >= 100){ 417 if(!$(this).hasClass('fade')){ 418 $(this).addClass('fade'); 419 } 420 }else{ 421 if($(this).hasClass('fade')){ 422 $(this).removeClass('fade'); 423 } 424 } 425 }); 426 427 var scrollHeight = $(document).height(); 428 var scrollPosition = $(window).height() + $(window).scrollTop(); 429 var footHeight = $("footer").innerHeight(); 430 if ( scrollHeight - scrollPosition <= footHeight ) { 431 $("#topScroll").css({ 432 "position":"absolute", 433 "bottom": footHeight - 60, 434 }); 435 } else { 436 $("#topScroll").css({ 437 "position":"fixed", 438 "bottom": "20px" 439 }); 440 } 441 442 hedH_function(); 443}); 444 445 446$(function(){ 447 if($('#archive').length){ 448 $('#archive .archive-box div h3 .arrow').click(function() { 449 $(this).parents('h3').next('.cover').slideToggle(); 450 $(this).toggleClass('active'); 451 }); 452 } 453}); 454 455 456$(window).on('load resize',function(){ 457 if($('#archive').length){ 458 var archiveH = $('#archive').innerHeight(); 459 $('#content').css('min-height', archiveH + 'px'); 460 } 461}); 462 463 464$(function () { 465 $('#qrcode').qrcode(location.href); 466}); 467 468 469$(function(){ 470 if($('.table-scroll').length){ 471 var h = $('header').innerHeight(); 472 $('.vaccine_schedule thead').css('top', h + 'px'); 473 $(window).on('resize load ', function(){ 474 var h = $('header').innerHeight(); 475 $('.vaccine_schedule thead').css('top', h + 'px'); 476 }); 477 } 478}); 479 480 481$(document).ready(function() { 482 // 1. ãã¼ã¸ã¿ã¤ãã«ãåå¾ 483 var pageTitle = document.title; 484 485 // 2. åé¤å¯¾è±¡ã®è¦ç´ ï¼ä¾: h1ï¼ãã«ã¼ãã§å¦ç 486 $('h3').each(function() { 487 // 3. è¦ç´ ã®ããã¹ãã¨ã¿ã¤ãã«ãæ¯è¼ 488 if ($(this).text().trim() === pageTitle) { 489 // 4. ä¸è´ãããåé¤ 490 $(this).remove(); 491 } 492 }); 493}); 494 495 496$(function () { 497 $('#side .inner > .members > li .side-menu li strong, #side .inner > ul > li .side-menu li strong, #side .inner > ul > li .side-menu li p, #side .inner > ul > li .side-menu li a').on('click', function () { 498 $(this).toggleClass('arrow'); 499 }); 500}); 501 502 503$(document).ready(function() { 504 if(document.URL.match("category_name=about")) { 505 $('#side .inner > ul > li:nth-child(2)').addClass('active'); 506 } 507 if(document.URL.match("/about|finance|member-registration|message|subcommittee|area|committee-list|about-society|teikan|council|organization-directory-list")) { 508 $('#side .inner > ul > li:nth-child(2)').addClass('active'); 509 } 510 if(document.URL.match("category_name=society-activities")) { 511 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 512 } 513 if(document.URL.match("/society-activities|about-other|other-activities|intensive-course|gideline|gideline|report|proposals-assertions|request-letter|database-covid-19|mail|registered-business|vaccination|vaccinations-infectiousdiseases|opinion|influenza-subcommittee|letter|manual|training-sessions-seminars|international-relations|society-activities-academic-meeting|consultation|pediatric-emergency|initial-response|providing-information|tokyo-ori-para|activity-history|disaster|great-tohoku-earthquake|promoting-gender-equality|award|medical-care")) { 514 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 515 } 516 if(document.URL.match("category_name=pediatrician")) { 517 $('#side .inner > ul > li:nth-child(4)').addClass('active'); 518 } 519 if(document.URL.match("/pediatrician|qa-specialist|info-specialist|specialist-list|pediatrician-new|pediatrician-update|pediatrician-summary|new-system|training-session-approval|training-facility|application|instructor-update|instructor")) { 520 $('#side .inner > ul > li:nth-child(4)').addClass('active'); 521 } 522 if(document.URL.match("/modules/senmoni/|/modules/shisetsu")) { 523 $('#side .inner > ul > li:nth-child(4)').addClass('active'); 524 } 525 if(document.URL.match("/modules/glossary/")) { 526 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 527 } 528 if(document.URL.match("category_name=seminar/")) { 529 $('#side .inner > ul > li:nth-child(5)').addClass('active'); 530 } 531 if(document.URL.match("/seminar|seminar|symposium|session|academic-meeting")) { 532 $('#side .inner > ul > li:nth-child(5)').addClass('active'); 533 } 534 if(document.URL.match("category_name=publications")) { 535 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 536 } 537 if(document.URL.match("/publications|publications|pediatrics-international|table-of-contents|publications-other|post-inquiry|color-image|magazine|e-book-howto")) { 538 $('#side .inner > ul > li:nth-child(3)').addClass('active'); 539 } 540 if(document.URL.match("/seminar")) { 541 $('#side .inner > ul > li:nth-child(5)').addClass('active'); 542 } 543 if(document.URL.match("category_name=news")) { 544 $('#side .inner > ul > li:nth-child(6)').addClass('active'); 545 } 546 if(document.URL.match("/news|general-public")) { 547 $('#side .inner > ul > li:nth-child(6)').addClass('active'); 548 }
549 /* ã¢ã¼ã«ã¤ãç¨ */ 550 if(document.URL.match(/=news|=othernews|=event|=gidelinenews|=pressrelease|=generalnews|=organizationnews|=membersnews|=publicationsnews|=activitynews|=about-news|=studentsnews|=pediatricsnews|=important/)) { 551 $('#side .inner > ul > li:nth-child(6)').addClass('active'); 552 } 553 if(document.URL.match("category_name=other-categories")) { 554 $('#side .inner > ul > li:nth-child(7)').addClass('active'); 555 } 556 if(document.URL.match("/other-categories")) { 557 $('#side .inner > ul > li:nth-child(7)').addClass('active'); 558 } 559 if(document.URL.match("/10032.html")) { 560 $('#breadcrumb ul > li:nth-child(2)').css('display', 'none'); 561 } 562 563 /* ããã²ã¼ã·ã§ã³ãè¤è£½ */ 564 $('.navi-area > ul').clone(true).appendTo('#sp-menu'); 565 $('header .search-area').clone(true).appendTo('#sp-menu'); 566 567}); 568 569 570$(window).on('load resize scroll',function(){ 571 $('#topScroll').each(function(){ 572 var $window = $(window); 573 var wScrollvalue = $window.scrollTop(); 574 if(wScrollvalue >= 100){ 575 if(!$(this).hasClass('fade')){ 576 $(this).addClass('fade'); 577 } 578 }else{ 579 if($(this).hasClass('fade')){ 580 $(this).removeClass('fade'); 581 } 582 } 583 }); 584 585 var scrollHeight = $(document).height(); 586 var scrollPosition = $(window).height() + $(window).scrollTop(); 587 var footHeight = $("footer").innerHeight(); 588 if ( scrollHeight - scrollPosition <= footHeight ) { 589 $("#topScroll").css({ 590 "position":"absolute", 591 "bottom": footHeight - 60, 592 }); 593 } else { 594 $("#topScroll").css({ 595 "position":"fixed", 596 "bottom": "20px" 597 }); 598 } 599 600 hedH_function(); 601}); 602 603 604$(function(){ 605 if($('#archive').length){ 606 $('#archive .archive-box div h3 .arrow').click(function() { 607 $(this).parents('h3').next('.cover').slideToggle(); 608 $(this).toggleClass('active'); 609 }); 610 } 611}); 612 613 614$(window).on('load resize',function(){ 615 if($('#archive').length){ 616 var archiveH = $('#archive').innerHeight(); 617 $('#content').css('min-height', archiveH + 'px'); 618 } 619}); 620 621 622$(function () { 623 $('#qrcode').qrcode(location.href); 624}); 625 626 627$(function(){ 628 if($('.table-scroll').length){ 629 var h = $('header').innerHeight(); 630 $('.vaccine_schedule thead').css('top', h + 'px'); 631 $(window).on('resize load ', function(){ 632 var h = $('header').innerHeight(); 633 $('.vaccine_schedule thead').css('top', h + 'px'); 634 }); 635 } 636}); 637 638 639$(document).ready(function() { 640 // 1. ãã¼ã¸ã¿ã¤ãã«ãåå¾ 641 var pageTitle = document.title; 642 643 // 2. åé¤å¯¾è±¡ã®è¦ç´ ï¼ä¾: h1ï¼ãã«ã¼ãã§å¦ç 644 $('h3').each(function() { 645 // 3. è¦ç´ ã®ããã¹ãã¨ã¿ã¤ãã«ãæ¯è¼ 646 if ($(this).text().trim() === pageTitle) { 647 // 4. ä¸è´ãããåé¤ 648 $(this).remove(); 649 } 650 }); 651}); 652 653 654$(function () { 655 $('#side .inner > .members > li .side-menu li strong, #side .inner > ul > li .side-menu li strong, #side .inner > ul > li .side-menu li p, #side .inner > ul > li .side-menu li a').on('click', function () { 656 $(this).toggleClass('arrow'); 657 }); 658}); 659 660 661$(document).ready(function() { 662$('#breadcrumb a[href="https://www.jpeds.or.jp/about/message"]').attr("href", "https://www.jpeds.or.jp/about/message/10002.html") 663$('#breadcrumb a[href="https://www.jpeds.or.jp/about/council"]').attr("href", "https://www.jpeds.or.jp/about/council/10036.html") 664$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/column"]').attr("href", "https://www.jpeds.or.jp/society-activities#sec06") 665$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/pediatric-medical-care"]').attr("href", "https://www.jpeds.or.jp/society-activities#sec02") 666$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/pediatric-medical-care/vaccination"]').attr("href", "https://www.jpeds.or.jp/society-activities/pediatric-medical-care/vaccination/20092.html") 667$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/disaster"]').attr("href", "https://www.jpeds.or.jp/society-activities/disaster/20099.html") 668$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/publications"]').attr("href", "https://www.jpeds.or.jp/publications") 669$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/publications/magazine"]').attr("href", "https://www.jpeds.or.jp/society-activities/publications/magazine/130015.html") 670$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/publications/pediatrics-international"]').attr("href", "https://www.jpeds.or.jp/society-activities/publications/pediatrics-international/130016.html") 671$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/system"]').attr("href", "https://www.jpeds.or.jp/society-activities#sec03") 672$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/system/registered-business"]').attr("href", "https://www.jpeds.or.jp/society-activities/system/registered-business/20009.html") 673$('#breadcrumb a[href="https://www.jpeds.or.jp/about/organization-directory-list"]').attr("href", "https://www.jpeds.or.jp/about/10033.html") 674$('#breadcrumb a[href="https://www.jpeds.or.jp/about/organization-directory-list/committee-list"]').attr("href", "https://www.jpeds.or.jp/about/10033.html") 675$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/system/diversity"]').attr("href", "https://www.jpeds.or.jp/society-activities/system/diversity/20144.html") 676$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/development-consultation"]').attr("href", "https://www.jpeds.or.jp/society-activities#sec04") 677$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/development-consultation/consultation"]').attr("href", "https://www.jpeds.or.jp/society-activities/development-consultation/consultation/20604.html") 678$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/other-initiatives"]').attr("href", "https://www.jpeds.or.jp/society-activities#sec07") 679$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/other-initiatives/cooperation"]').attr("href", "https://www.jpeds.or.jp/society-activities/other-initiatives/cooperation/20086.html") 680$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/other-initiatives/award"]').attr("href", "https://www.jpeds.or.jp/society-activities/other-initiatives/award/20097.html") 681$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/other-initiatives/activity-history"]').attr("href", "https://www.jpeds.or.jp/society-activities/other-initiatives/activity-history/20258.html") 682$('#breadcrumb a[href="https://www.jpeds.or.jp/pediatrician/pediatrician-summary"]').attr("href", "https://www.jpeds.or.jp/pediatrician/pediatrician-summary/140024.html") 683$('#breadcrumb a[href="https://www.jpeds.or.jp/pediatrician/pediatrician-new"]').attr("href", "https://www.jpeds.or.jp/pediatrician/pediatrician-new/140058.html") 684$('#breadcrumb a[href="https://www.jpeds.or.jp/pediatrician/pediatrician-update"]').attr("href", "https://www.jpeds.or.jp/pediatrician/pediatrician-update/140059.html") 685$('#breadcrumb a[href="https://www.jpeds.or.jp/pediatrician/training-facility"]').attr("href", "https://www.jpeds.or.jp/pediatrician/training-facility/140066.html") 686$('#breadcrumb a[href="https://www.jpeds.or.jp/seminar/academic-meeting"]').attr("href", "https://www.jpeds.or.jp/seminar/academic-meeting/20090.html") 687$('#breadcrumb a[href="https://www.jpeds.or.jp/seminar/session"]').attr("href", "https://www.jpeds.or.jp/seminar/session/20091.html") 688$('#breadcrumb a[href="https://www.jpeds.or.jp/specialist/event-calendar"]').attr("href", "https://www.jpeds.or.jp/seminar/post-148713.html") 689$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-activity"]').attr("href", "https://www.jpeds.or.jp/members-only-activity") 690$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-activity/members-infant-health-checkups"]').attr("href", "https://www.jpeds.or.jp/members-only/members-only-activity/members-infant-health-checkups/70051.html") 691$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-activity/members-child-abuse"]').attr("href", "https://www.jpeds.or.jp/members-only/members-only-activity/members-child-abuse/70089.html") 692$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-activity/members-first"]').attr("href", "https://www.jpeds.or.jp/members-only/members-only-activity/members-first/70120.html") 693$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-activity/members-subsidy-project"]').attr("href", "https://www.jpeds.or.jp/members-only/members-only-activity/members-subsidy-project/70151.html") 694$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-activity/members-various-reports"]').attr("href", "https://www.jpeds.or.jp/members-only/members-only-activity/members-various-reports/70023.html") 695$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-qualification"]').attr("href", "https://www.jpeds.or.jp/members-only-qualification") 696$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-qualification/members-specialist"]').attr("href", "https://www.jpeds.or.jp/members-only-qualification#sec01") 697$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-qualification/members-prenatal-consult-pediatrician"]').attr("href", "https://www.jpeds.or.jp/members-only-qualification#sec02") 698$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/jps-online-seminar"]').attr("href", "https://www.jpeds.or.jp/members-only-qualification#sec03") 699$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-medical-related"]').attr("href", "https://www.jpeds.or.jp/members-only/members-medical-related/70015.html") 700$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-only-record"]').attr("href", "https://www.jpeds.or.jp/members-only-record") 701$('#breadcrumb a[href="http://jpeds-wpdev.devsv2.com/members-only/members-only-record/members-minutes"]').attr("href", "https://www.jpeds.or.jp/members-only/members-only-record/70011.html") 702$('#breadcrumb a[href="https://www.jpeds.or.jp/members-only/members-election"]').attr("href", "https://www.jpeds.or.jp/members-only/members-election/70016.html") 703$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/column/proposals-assertions"]').attr("href", "https://www.jpeds.or.jp/society-activities/column/proposals-assertions/50027.html") 704$('#breadcrumb a[href="https://www.jpeds.or.jp/english"]').attr("href", "https://www.jpeds.or.jp/english/30002.html") 705$('#breadcrumb a[href="https://www.jpeds.or.jp/english/annual-meeting-announcements"]').attr("href", "https://www.jpeds.or.jp/english/annual-meeting-announcements/30013.html") 706$('#breadcrumb a[href="https://www.jpeds.or.jp/english/resources"]').attr("href", "https://www.jpeds.or.jp/english/resources/30014.html") 707$('#breadcrumb a[href="https://www.jpeds.or.jp/english/journals"]').attr("href", "https://www.jpeds.or.jp/english/journals/30012.html") 708$('#breadcrumb a[href="https://www.jpeds.or.jp/society-activities/pediatric-medical-care/vaccination/vaccinations-infectiousdiseases"]').attr("href", "https://www.jpeds.or.jp/society-activities/pediatric-medical-care/vaccination/20093.html") 709});
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.