1// JavaScript Document 2 3 4jQuery(document).ready( function() { 5 6 7// SPãããããã¦ã³ã¡ãã¥ã¼ SlickNav 8// $('#nav').slicknav({ 9// label: '', 10// closeOnClick: 'true' 11// }); 12 13 14// é»è©±çªå· 15// if (navigator.userAgent.match(/(iPhone|iPad|Android|Mobile)/)) { 16// $('.tel').each(function() { 17// var str = $(this).html(); 18// if ($(this).children().is('img')) { 19// $(this).html($('<a>').attr('href', 'tel:' + $(this).children().attr('alt').replace(/-/g, '')).append(str + '</a>')); 20// } else { 21// $(this).html($('<a>').attr('href', 'tel:' + $(this).text().replace(/-/g, '')).append(str + '</a>')); 22// } 23// }); 24// } 25 26 27// ãããããã¼ãã¸ã¥ã¢ã«èæ¯ 28// $('#keyvsl').bgswitcher({ 29// images: [ 30// "img/index_keyvsl01.jpg", 31// "img/index_keyvsl01.jpg", 32// "img/index_keyvsl01.jpg", 33// "img/index_keyvsl01.jpg", 34// "img/index_keyvsl01.jpg" 35// ], 36// interval: 5000, 37// effect: "fade" 38// }); 39 40// ãããããã¼ãã¸ã¥ã¢ã« 41// $('#keyvsl').bxSlider({ 42// auto: true, 43// pause: 5000, 44// speed: 1000, 45// mode: 'fade', 46// controls: false, 47// pager: false 48// }); 49// $('#keyvsl img').delay(50).css('visibility','visible'); 50 51 52// ãããããç¥ãããã¢ã³ã¼ãã£ãªã³ 53// $('.index .news_title').slice(0, 3).addClass("close"); 54// $('.index .news_title').click(function(){ 55// $(this).toggleClass("close").next('.index .news_body').slideToggle(); 56// }); 57 58 59// ã¯ãªããã¯ç´¹ä»ã®ã£ã©ãªã¼ 60// $('#clinicslide').sliderPro({ 61// width: 750, 62// height: 500, 63// fade: true, 64// arrows: true,
65// buttons: false, 66// fullScreen: false, 67// shuffle: false, 68// thumbnailArrows: true, 69// autoplay: false 70// }); 71// $('#clinicslide img, p').delay(50).css('display','block'); 72 73 74// PC 診çå 容ãããããã¦ã³ã¡ãã¥ã¼ 75// var windowWidth = $(window).width(); 76// var windowSm = 768; 77// if (windowWidth >= windowSm) { // PCã®å ´å 78// $('#nav .subnav').hide(); 79// $('#nav .sub').click( function(event) { 80// $(this).toggleClass('close').next('#nav .subnav').slideToggle(); 81// $('#nav .sub').not($(this)).next('#nav .subnav').css('display','none'); 82// }); 83// } 84 85// SP 診çå 容ãããããã¦ã³ã¡ãã¥ã¼ 86// if (windowWidth <= windowSm) { // ã¹ããã®å ´å 87// $( '.tit' ).click( function() { 88// $( this ).toggleClass('close').next('.subnav').slideToggle(); 89// }) ; 90// } 91 92 93// ã¹ã ã¼ãºã¹ã¯ãã¼ã« 94 $('.scr').click(function(){ 95 var speed = 500; 96 var href= $(this).attr("href"); 97 var target = $(href == "#" || href == "" ? 'html' : href); 98 var position = target.offset().top; 99 $("html, body").animate({scrollTop:position}, speed, "swing"); 100 return false; 101 }); 102 103}); 104 105 106// ãã¼ã¸ã¢ããåä½ 107var up = $("#pageup"); 108$(window).scroll(function () { 109 if ($(this).scrollTop() > 200) { 110 up.fadeIn(); 111 } else { 112 up.fadeOut(); 113 } 114}); 115up.click(function () { 116 $("body, html").animate({ scrollTop: 0 }, 500); 117 return false; 118}); 119 120// SPããã¿ã¼åºå®ãé»è©±ã»ãã¼ã¸ã¢ãã 121var f_fix = $(".tel_access").hide(); 122$(window).scroll(function () { 123 if ($(this).scrollTop() > 200) { 124 f_fix.fadeIn().css('visibility', 'visible'); 125 } else { 126 f_fix.fadeOut(); 127 } 128}); 129
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.