PageSourceSearch

https://karamun.tokyo/js/jQ.js

js karamun.tokyo collected 2026-10-07 03:40:44 UTC 2,976 bytes, 125 lines download raw bytes

1// JavaScript Document
2
3
4jQuery(document).ready( function() {
5
6
7
8
9
10
11
12
13// PC 診療内容ドロップダウンメニュー
14  var windowWidth = $(window).width();
15  var windowSm = 768;
16  if (windowWidth >= windowSm) { // PCの場合
17    $('#nav .subnav').hide();
18    $('#nav .sub').click( function(event) {
19      $(this).toggleClass('close').next('#nav .subnav').slideToggle();
20      $('#nav .sub').not($(this)).next('#nav .subnav').css('display','none');
21    });
22  }
23
24// SP 診療内容ドロップダウンメニュー
25  if (windowWidth <= windowSm) { // スマホの場合
26    $( '.tit' ).click( function() {
27      $( this ).toggleClass('close').next('.subnav').slideToggle();
28    }) ;
29  }
30
31});
32
33    // ページアップ単体
34//    var up = $("#pageup");
35//    $(window).scroll(function () {
36//      if ($(this).scrollTop() > 200) {
37//        up.fadeIn();
38//      } else {
39//        up.fadeOut();
40//      }
41//    });
42//    up.click(function () {
43//      $("body, html").animate({ scrollTop: 0 }, 500);
44//      return false;
45//    });
46
47
48
49var windowWidth = $(window).width();
50var windowSm = 768;
51if (windowWidth < windowSm) { // SPの場合
52
53    // SPフッター固定 電話・ページアップ
54    var f_fix = $(".tel_up").hide();
55    $(window).scroll(function () {
56      if ($(this).scrollTop() > 200) {
57        f_fix.fadeIn().css('visibility', 'visible');
58      } else {
59        f_fix.fadeOut();
60      }
61    });
62    $('.pageup').click(function () {
63      $("body, html").animate({ scrollTop: 0 }, 500);
64      return false;
65    });
66  
67} else if (windowWidth >= windowSm) { // PCの場合
68
69    // ページアップ単体
70    var up = $("#pageup");
71    $(window).scroll(function () {
72      if ($(this).scrollTop() > 200) {
73        up.fadeIn();
74      } else {
75        up.fadeOut();
76      }
77    });
78    up.click(function () {
79      $("body, html").animate({ scrollTop: 0 }, 500);
80      return false;
81    });
82  
83}
84
85
86
87$(function(){
88
89  // スムーズスクロール
90  $('.scr').click(function(){
91    var speed = 500;
92    var href= $(this).attr("href");
93    var target = $(href == "#" || href == "" ? 'html' : href);
94    var position = target.offset().top;
95    $("html, body").animate({scrollTop:position}, speed, "swing");
96    return false;
97  });
98
99  // トップ キービジュアル
100//  $("body.index .keyvsl").bgswitcher({
101//    images: [
102//      "img/index_keyvsl01.png",
103//      "img/index_keyvsl02.png",
104//      "img/index_keyvsl03.png"
105//    ],
106//    interval: 5000,
107//    effect: "fade"
108//  });
109
110  $('.sp_btn').on('click', function(){
111    $(this).toggleClass('active');
112    return false;
113  });
114
115	$('#sp_menu').on('click', function(){
116		$('.gnav').slideToggle()
117	})
118});
119
120
121//事前問診票
122function monshin() {
123  const url = 'https://symview.me/medical_interview_flows/columun-forest-child/?templateid=T_001149000025';
124  window.open(url) 
125}

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.