PageSourceSearch

https://rc-group.co.jp/js/default.js

js rc-group.co.jp collected 2026-10-04 02:49:59 UTC 930 bytes, 38 lines download raw bytes

1//SMOOTH SCROLL
2$(function(){
3	$('a[href^=#]').click(function(){
4		var speed = 400;
5		var href= $(this).attr("href");
6		var target = $(href == "#" || href == "" ? 'html' : href);
7		var position = target.offset().top;
8		$("html, body").animate({scrollTop:position}, speed, "swing");
9		return false;
10	});
11});
12
13
14//BACK TO TOP
15$(function() {
16    var topBtn = $('.BackToTop');    
17     $(window).scroll(function () {
18        if ($(this).scrollTop() > 300) {
19            topBtn.fadeIn();
20        } else {
21            topBtn.fadeOut();
22        }
23    });
24});
25
26
27
28//LECTURE BANNER
29$(function() {
30    var topBtn = $('.fixed_lecture');    
31     $(window).scroll(function () {
32        if ($(this).scrollTop() > 300) {
33            topBtn.fadeIn();
34        } else {
35            topBtn.fadeOut();
36        }
37    });
38});

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.