PageSourceSearch

https://tomokoclinic.jp/js/utils.js

js tomokoclinic.jp collected 2026-10-07 19:08:16 UTC 690 bytes, 24 lines download raw bytes

1// JavaScript Document
2
3//スムーススクロールの処理
4//==========================================================================================
5$(function(){
6
7  //スムーススクロールの処理
8  $(".smoothScrolls a").click(function(e) {
9    e.preventDefault();
10    var tt = $($(this).attr("href")).offset().top;
11    $('html, body').animate({scrollTop:tt}, 300);
12  });
13  
14})
15
16// お知らせ
17jQuery(document).ready( function() {
18  $('.index .news_body').slice(0, 3).addClass("open");
19  $('.index .news_title').slice(0, 3).addClass("open");  
20  $('.index .news_title').click(function(){
21    $(this).toggleClass("close").next('.index .news_body').slideToggle();
22  });
23  
24});

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.