PageSourceSearch

https://aichi-suido-pro.com/js/common.js

js aichi-suido-pro.com collected 2026-10-05 10:54:22 UTC 1,197 bytes, 39 lines download raw bytes

1$(function(){
2
3	//ナビゲーション
4	$("#btn_menu_off").click(function(){
5		if( $('#nav').hasClass("openNav") ) {
6			$(this).find("img").attr("src" , $(this).find("img").attr("src").replace('_off', '_on'));
7		}else{
8			$(this).find("img").attr("src" , $(this).find("img").attr("src").replace('_on', '_off'));
9		}
10		$('#nav').toggleClass('openNav');
11	});
12
13	
14	// tel
15	$("img[src*='header_contact.png'], img[src*='tel_banner.png']").click(function(){
16		if ($("#phone").is(":visible")) {
17			ga('send', 'event', 'tell', 'click', location.href, {'nonInteraction':true});
18			location.href = "tel:0120670076";
19			return false;
20		}
21	});
22});
23
24   function scrollFunction() {
25    var this_y = $(this).scrollTop();
26    var this_w = window.innerWidth;
27    if (this_y > 240 && this_w >500) {
28        $('#pagetop').addClass('js-active');
29        $('body').addClass('margin-active');
30        $('.width-active').addClass('height-60');
31    } else {
32        $('#pagetop').removeClass('js-active');
33        $('body').removeClass('margin-active');
34        $('.width-active').removeClass('height-60');
35    }
36}
37$(window).on('load scroll',function () {
38    scrollFunction();
39});

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.