PageSourceSearch

https://arts-center.gr.jp/wp-content/themes/nl-jin/js/common.js?ver=6.9.4

js arts-center.gr.jp collected 2026-10-04 16:34:40 UTC 2,255 bytes, 84 lines download raw bytes

1// JavaScript Document
2
3
4// Androidのユーザーエージェント判別(CSSハック用)
5(function($){
6	if ( navigator.userAgent.indexOf('Android') > 0 ) {
7		$("body").addClass("android");
8	}
9})(jQuery);
10
11
12//YouTubeの全画面表示対策
13(function($){
14	var remove = function(){
15		$('#sidebar').removeClass('animate');
16	} 
17	setTimeout(remove, 1700);
18})(jQuery);
19
20
21//トップペ戻るボタン
22(function($){
23  $(window).scroll(function(){
24	  
25    var now = $(window).scrollTop();
26    //最上部から現在位置までの距離(now)が600以上
27    if(now > 600){
28      //[#page-top]をゆっくりフェードインする
29      $('#page-top').fadeIn('slow');
30      //それ以外だったらフェードアウトする
31    }else{
32      $('#page-top').fadeOut('slow');
33    }
34  });
35  //ボタン(id:move-page-top)のクリックイベント
36  $(document).on('click', '.totop', function(){
37  //ページトップへ移動する
38  $('body,html').animate({
39          scrollTop: 0
40      }, 200);
41  });
42})(jQuery);
43
44	
45(function($){
46	$(window).on('load resize',function(){
47
48		var eventTrigger = $('.tabBtn-mag li');//イベントの引き金となる要素
49
50		//高さの調整
51		var parentDiv = $('.toppost-list-box-inner');//高さを与える要素
52		var hGet = $('.toppost-list-box .autoheight');//高さを持っている要素
53		var childrenH;//height設定用変数の宣言
54
55		eventTrigger.on('click',function(){
56			var numver = $(this).index();//クリックされた要素のindex番号を取得
57			if($(this).hasClass('first-tab')){
58				return;
59			}else{
60				$('.first-tab').removeClass('first-tab');
61				$(this).addClass('first-tab');
62
63				$('.hFind').removeClass('hFind');
64				hGet.eq(numver).addClass('hFind');
65			}
66
67			//クリックした要素の番号と同じindex番号を持つ子要素の高さを設定
68			childrenH = $('.hFind').outerHeight();//高さを取得(marginを含めた)
69			parentDiv.css({height:childrenH});//要素の高さを親要素に指定
70		});
71	});
72})(jQuery);
73
74
75
76//マガジンタイプのインフィード広告のタブレット端末の非表示設定
77(function($){
78	$(document).ready(function() {
79		var w_Size = window.innerWidth;
80		if( w_Size <= 838 ){
81			$(".pconly").remove();
82		}
83	});
84})(jQuery);

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.