1$(function() { 2 var nav = $('.fixed-nav'); 3 //ã¹ã¯ãã¼ã«ãã¦ãã¼ã¸ããããã1000ã«éãããã¯ã©ã¹ãä»ä¸ãã 4 $(window).on('load scroll',function () { 5 if ($(this).scrollTop() > 300) { 6 nav.addClass('fixed-nav-active'); 7 } else { 8 nav.removeClass('fixed-nav-active'); 9 } 10 }); 11 12 var sidebar = $('.sidebar'); 13 //ã¹ã¯ãã¼ã«ãã¦ãã¼ã¸ããããã1000ã«éãããã¯ã©ã¹ãä»ä¸ãã 14 $(window).on('load scroll',function () { 15 if ($(this).scrollTop() > 1000) { 16 sidebar.addClass('sidebar-active'); 17 } else { 18 sidebar.removeClass('sidebar-active'); 19 } 20 }); 21 22 var pagetop = $('.page-top'); 23 pagetop.click(function () { 24 $('body, html').animate({ scrollTop: 0 }, 500); 25 return false; 26 }); 27 28 //ã¹ã¯ãã¼ã«ãã¦ãã¼ã¸ããããã1000ã«éãããã¯ã©ã¹ãä»ä¸ãã 29 $(window).on('load scroll',function () { 30 if ($(this).scrollTop() > 1000) { 31 pagetop.addClass('page-top-active'); 32 } else { 33 pagetop.removeClass('page-top-active'); 34 } 35 }); 36 37 $(".sp-header-sec-a").click(function () {//ãã¿ã³ãã¯ãªãã¯ãããã 38 $(".slide-nav").toggleClass('slide-nav-active');//ããã²ã¼ã·ã§ã³ã«slide-nav-activeã¯ã©ã¹ãä»ä¸ 39 }); 40 41 $(".slide-nav-sec-a").click(function () {//ããã²ã¼ã·ã§ã³ã®ãªã³ã¯ãã¯ãªãã¯ãããã 42 $(".slide-nav").removeClass('slide-nav-active');//ããã²ã¼ã·ã§ã³ã®slide-nav-activeã¯ã©ã¹ãé¤å» 43 }); 44 45 $(".header-nav .toggle-button").hover(function() { 46 $(".header-nav .toggle").stop().slideToggle(); 47 }); 48 49 $(".fixed-nav .toggle-button").hover(function() { 50 $(".fixed-nav .toggle").stop().slideToggle(); 51 }); 52 53 $(".slide-nav-sec-b .toggle-button").on('click', function () { 54 $(".slide-nav-sec-b .toggle").slideToggle(); 55 56 if($(".toggle-button-img-a").attr('src') === 'https://aiyu.dental/wako2/wp-content/themes/aiyu/images/slide-nav-toggle-img-a.svg') { 57 $(".toggle-button-img-a").attr('src', 'https://aiyu.dental/wako2/wp-content/themes/aiyu/images/slide-nav-toggle-img-b.svg'); 58 } 59 else { 60 $(".toggle-button-img-a").attr('src', 'https://aiyu.dental/wako2/wp-content/themes/aiyu/images/slide-nav-toggle-img-a.svg'); 61 } 62 63 }); 64 65 $('.js-movie-trigger').on('click',function(){ 66 $('.js-modal').fadeIn(); 67 return false; 68 }); 69 $('.js-close-btn').on('click',function(){ 70 $('.js-modal').fadeOut(); 71 return false; 72 }); 73 74}); 75 76//table è¤è£½ 77$("#table_responsive2").hide(); 78$("#add1").on("click", function(){ 79 $("#table_responsive2").show(); 80}); 81 82$("#table_responsive3").hide(); 83$("#add2").on("click", function(){ 84 $("#table_responsive3").show(); 85}); 86 87$("#table_responsive4").hide(); 88$("#add3").on("click", function(){ 89 $("#table_responsive4").show(); 90}); 91 92$("#table_responsive5").hide(); 93$("#add4").on("click", function(){ 94 $("#table_responsive5").show(); 95}); 96 97$("#table_responsive6").hide(); 98$("#add5").on("click", function(){ 99 $("#table_responsive6").show(); 100}); 101 102// ããããã¼ã¸/hospital scenery 表示ã»é表示 103$(function() { 104 var $sceneryText = $('#scenery-text'); 105 var $scenery = $('#scenery'); 106 107 if( $sceneryText.is(':empty') ){ 108 $($scenery).css("display", "none"); 109 }else{ 110 $($scenery).css("display", "block"); 111 } 112}); 113 114// ã¹ã¿ããç´¹ä»/ä¿è²å£« 表示ã»é表示åãæ¿ã 115$(function() { 116 var $nurseryName = $('.nursery-name-ja'); 117 var $nursery = $('#nursery_title, #nursery_wrap'); 118 119 if( $nurseryName.is(':empty') ){ 120 $($nursery).css('display', 'none'); 121 }else{ 122 $($nursery).css('display', 'block'); 123 } 124}); 125 126// ã¹ã¿ããç´¹ä»/æ¯ç§æå·¥å£« 表示ã»é表示åãæ¿ã 127$(function(){ 128 var $techName = $( '.dental-technician-name-ja' ); 129 var $tech = $( '#dentalTechnician-title, #dentalTechnician-wrap' ); 130 131 if( $techName.is(':empty') ){ 132 $($tech).css('display', 'none'); 133 }else{ 134 $($tech).css('display', 'block'); 135 } 136}); 137 138// ãªã³ã¯å åãæ¿ã shigeta/commonalize 139$(window).on('load',function(){ 140 var $page_url = location.href; 141 var $target = document.getElementById("access_buttonLink"); 142 143 // ããããã¼ã¸ããã¼ front-page.php 144 if( $page_url == 'https://aiyu.dental/wako2/' ){ 145 $('[id=top-banner-img]').attr('src', 'https://aiyu.dental/wako2/wp-content/themes/aiyu/images/banner-kids.jpg');
146 $('[id=js-top-link]').attr('href', 'https://mirai-kodomo.dental'); 147 }else if( $page_url == 'https://aiyu.dental/funabashi/' ){ 148 $('[id=top-banner-img]').attr('src', 'https://aiyu.dental/funabashi/wp-content/themes/aiyu/images/frontPage/js-top-banner.png'); 149 $('[id=js-top-link]').attr('href', 'https://aiyu.dental/funabashi/self-pay-care'); 150 }else if( $page_url == 'https://aiyu.dental/misato/' ){ 151 $('[id=top-banner-img]').attr('src', 'https://aiyu.dental/misato/wp-content/themes/aiyu/images/frontPage/js-top-banner.png'); 152 $('[id=js-top-link]').attr('href', 'https://aiyu.dental/misato/self-pay-care'); 153 }else if($page_url == 'https://aiyu.dental/wako/'){ 154 $('[id=top-banner-img]').attr('src', 'https://aiyu.dental/wako/wp-content/themes/aiyu/images/frontPage/js-top-banner.png'); 155 $('[id=js-top-link]').attr('href', 'https://aiyu.dental/wako/self-pay-care'); 156 }else if( $page_url == 'https://aiyu.dental/funabashi_test/' ){ 157 $('[id=top-banner-img]').attr('src', 'https://aiyu.dental/funabashi_test/wp-content/themes/aiyu/images/frontPage/js-top-banner.png'); 158 $('[id=js-top-link]').attr('href', 'https://aiyu.dental/funabashi_test/self-pay-care'); 159 // ã¢ã¯ã»ã¹ãã¼ã¸ãã¿ã³ page-access.php 160 }else if( $page_url == 'https://aiyu.dental/funabashi_test/access/' ){ 161 $target.href = 'https://goo.gl/maps/6doXtAZ1QrWQQ89k7'; 162 }else if( $page_url == 'https://aiyu.dental/wako2/access/' ){ 163 $target.href = 'https://goo.gl/maps/k9wxipkkqexLisocA'; 164 }else if( $page_url == 'https://aiyu.dental/wako/access/' ){ 165 $target.href = 'https://g.page/aiyudental?share'; 166 }else if( $page_url == 'https://aiyu.dental/funabashi/access/' ){ 167 $target.href = 'https://goo.gl/maps/6doXtAZ1QrWQQ89k7'; 168 }else if( $page_url == 'https://aiyu.dental/misato/access/' ){ 169 $target.href = 'https://goo.gl/maps/BCGw1pGuWnX2PioR8'; 170 } 171}); 172 173$(function(){ 174 var $page_url = location.href; 175 var $target_url = 'https://aiyu.dental/wako2/'; 176 var $dentalChild = '[id=js-dentalChild]'; 177 if($page_url.includes($target_url)){ 178 $($dentalChild).show(); 179 }else{ 180 $($dentalChild).hide(); 181 } 182});
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.