PageSourceSearch

https://mpc-web.jp/wp-content/themes/kaishindo_portal/my.js?ver=20261003195558

js mpc-web.jp collected 2026-10-03 19:56:19 UTC 5,645 bytes, 127 lines download raw bytes

1jQuery(function($) {
2	/* -----------------------------------------------------------------------------
3	スムーススクロール
4	-------------------------------------------------------------------------------- */
5	$('a[href^="#"]').click(function(){
6		if($(this).attr("role")=="tab" || $(this).attr("data-toggle")=="tab" || $(this).parent().parent().parent().attr("id")=="main-menues"){
7			//tab設定を省く
8			//ハンバーガーメニューを省く
9		}else{
10			var speed = 500;
11	    var href= $(this).attr("href");
12	    var target = $(href == "#" || href == "" ? 'html' : href);
13	    var position = target.offset().top;
14	    $("html, body").animate({scrollTop:position}, speed, "swing");
15	    return false;
16		}
17  });
18
19	/* -----------------------------------------------------------------------------
20	テーブルをwrapする
21	-------------------------------------------------------------------------------- */
22	$('.main table').wrap('<div class="table-responsive"></div>');
23	$(".jobs_senpai_btn").click(function(){
24		var id = $(this).attr("data-tid");
25		location.href="https://mpc-web.jp/jobs/voices/"+id+"/";
26	});
27	/* -----------------------------------------------------------------------------
28	ハンバーガーメニュー
29	-------------------------------------------------------------------------------- */
30	$("#sub-menuelists").html($("#menu-sidemainmenu").html());
31	$(".menu-trigger, #main-menues a").click(function(){console.log("click");
32		$(".menu-trigger").toggleClass("active");
33		$("#main-menues").toggleClass("active");
34
35	});
36
37	/* -----------------------------------------------------------------------------
38	goodbuy
39	-------------------------------------------------------------------------------- */
40	var url = location.href ;
41	if(url.match(/goodbuy/g)){
42		//$("#sub-menuelists").append('<li><a href=""><img class="img-fluid" src="/imgs/banner/web-kaitori-form.png"></a></li>');
43	}
44	if(url.match(/goodbuy\/brasstek/g)){
45		$(".kaitoriform-gctoyama > a").attr("href","https://store.mpc-web.jp/brasstek/purchase?subid=2").html("買取りフォーム");
46		$(".kaitoriform-gctakaoka > a").attr("href","https://store.mpc-web.jp/brasstek/purchase?subid=3").html("買取りフォーム");
47		$(".kaitoriform-gckanazawa > a").attr("href","https://store.mpc-web.jp/brasstek/purchase?subid=1").html("買取りフォーム");
48		$(".kaitoriform-gcfukui > a").attr("href","https://store.mpc-web.jp/brasstek/purchase?subid=4").html("買取りフォーム");
49		$(".kaitoriform-gchakusan > a").attr("href","https://store.mpc-web.jp/brasstek/purchase?subid=5").html("買取りフォーム");
50
51	}
52	if(url.match(/goodbuy\/pianocloud/g)){
53		$(".kaitoriform-gctoyama > a").attr("href","https://store.mpc-web.jp/pianocloud/purchase?subid=2").html("買取りフォーム");
54		$(".kaitoriform-gctakaoka > a").attr("href","https://store.mpc-web.jp/pianocloud/purchase?subid=3").html("買取りフォーム");
55		$(".kaitoriform-gckanazawa > a").attr("href","https://store.mpc-web.jp/pianocloud/purchase?subid=1").html("買取りフォーム");
56		$(".kaitoriform-gcfukui > a").attr("href","https://store.mpc-web.jp/pianocloud/purchase?subid=4").html("買取りフォーム");
57		$(".kaitoriform-gchakusan > a").attr("href","https://store.mpc-web.jp/pianocloud/purchase?subid=5").html("買取りフォーム");
58	}
59	/* -----------------------------------------------------------------------------
60	goodbuy piano一覧
61	-------------------------------------------------------------------------------- */
62	/*  function loading(){
63		$(".sortable_table_tr").before('<div class="loading text-center"><img src="https://gctoyama.kaishindo-music.co.jp/brasstek/wp-content/themes/brasstek3/imgs/loading.png"></div>');
64	}
65
66	var para = "";var para2 = "";var ismovile = 'pc';
67	$(window).on('resize', function(){
68		is_mobile();
69	});
70	function is_mobile(){
71		$win = $(window).innerWidth();
72		if($win > 576){ismovile = 'pc';}else{
73			ismovile = 'sp';
74		}
75	}
76	$(document).delegate(".srh_maker","change", function(){
77				para = "d="+ismovile+"&m="+$(".srh_maker").val();
78				para2 = "?d="+ismovile+"&mk="+$(".srh_maker").val();
79				serched_table(para,para2);
80				location.href="#kaitori_lists_db";
81			});
82			$(document).delegate(".srh_shape","change", function(){
83				para = "d="+ismovile+"&m="+$(".srh_maker").val()+"&p="+$(".srh_shape").val();
84				para2 = "?d="+ismovile+"&mk="+$(".srh_maker").val()+"&p="+$(".srh_shape").val();
85				serched_table(para,para2);
86				location.href="#kaitori_lists_db";
87			});
88			$(document).delegate(".srh_series","change", function(){
89				para = "d="+ismovile+"&m="+$(".srh_maker").val()+"&p="+$(".srh_shape").val()+"&s="+$(".srh_series").val();
90				para2 = "?d="+ismovile+"&mk="+$(".srh_maker").val()+"&p="+$(".srh_shape").val()+"&ser="+$(".srh_series").val();
91				serched_table(para,para2);
92				location.href="#kaitori_lists_db";
93			});
94			function serched_table(para,para2){
95				loading();
96				$.ajax("https://mpc-web.jp/bwadmin/a_kaitori_piano.php",{
97					type:"POST",
98					data:para,
99					dataType:"html",
100					success: function(data){
101						$(".kaitori_lists_db").html(data);
102						setTimeout(function(){
103history.replaceState("","",para2);
104},50);
105
106					}
107				});
108			}
109			serched_table("d="+ismovile+"");
110			*/
111	//フォーム(MPC YJPC)
112	if($('#wpcf7-f4580-p4578-o1').length){
113		$(".song-ji-4-radio").click(function(){
114			if($('input:radio[name="song-ji-4"]:checked').val()=="あり"){
115				$('.song-ji-6ari').show();
116				$('.song-ji-6nashi').hide();
117			}else{
118				$('.song-ji-6ari').hide();
119				$('.song-ji-6nashi').show();
120			}
121		});
122	}
123	$(window).on('load', function(){
124// 処理を記載
125//tablecellwidth();
126	});
127});

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.