PageSourceSearch

https://happychiryo.jp/res/scripts/local.js

js happychiryo.jp collected 2026-10-04 22:07:19 UTC 1,082 bytes, 50 lines download raw bytes

1$(function(){
2
3//メインビジュアルのスライドショー
4	
5	$("#main_visual .mv").hide();
6	
7	timerStart = function(){
8	   play=setInterval( "changeImage()", 4500 );
9    };
10    
11	$("#main_visual .first").fadeIn("slow",timerStart());
12
13});
14
15function changeImage() {
16    var $active = $('#main_visual .current');
17    var $next =  ($active.next().length ? $active.next() : $('#main_visual .first'));
18    $active.fadeOut('slow').removeClass("current");
19    $next.fadeIn('slow').addClass("current");
20}
21
22
23if (window.matchMedia('screen and (min-width:568px)').matches) { 
24
25$(function(){
26// マウスオーバー
27  
28   $('.hover').hover(
29    
30    function(){ 
31        $(this).css('opacity', '0.7');
32    },
33    function(){
34        $(this).css('opacity', '1');
35    });
36
37// スムーススクロール
38   
39	$('a[href^=#]').click(function(){
40		var speed = 500;
41		var href= $(this).attr("href");
42		var target = $(href == "#" || href == "" ? 'html' : href);
43		var position = target.offset().top;
44		$("html, body").animate({scrollTop:position}, speed, "swing");
45		return false;
46	});
47
48});
49
50}

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.