PageSourceSearch

https://matsumoto.ed.jp/wp-content/themes/insp_para/js/custom.js?ver=1634083774

js matsumoto.ed.jp collected 2026-10-05 09:40:00 UTC 2,354 bytes, 89 lines download raw bytes

1jQuery( document ).ready( function( $ ) {
2
3	if ( $( '.peThemeContactForm' ).length > 0 ) {
4
5		$( '.peThemeContactForm' ).peThemeContactForm();
6
7	}
8	
9	var contact = false;
10	$('nav a[href="#footer"]').on("click",function(e) {
11		e.preventDefault();
12		e.stopImmediatePropagation();
13		if (!contact) {
14			$("#contact-open").trigger("click");
15			contact = true;
16		}
17	});
18
19	$( '.post-media' ).each( function() {
20
21		if( ! $.trim( $( this ).html() ) )
22			$( this ).siblings( '.post-title' ).addClass( 'nopostmedia' );
23
24	});
25
26	$( '.pagination li.disabled a' ).attr( 'href', 'javascript:void(0);' ).css( 'cursor', 'default' );
27
28	jQuery(".nav a").click(function () {
29
30		var $href = $( this ).attr( 'href' );
31
32		if ( $href == window.location.href && $href == _visia.home_url && window.location.href == _visia.home_url ) {
33
34			return jQuery("body,html").stop().animate({
35				scrollTop: 0
36			}, 800, "easeOutCubic"), !1;
37
38		}
39
40
41	});
42
43});
44
45// Slider homepage
46if ( jQuery( '.hidden_overlay' ).length ) {
47
48	var hslides = [];
49
50	jQuery( '.hiddenslide').each( function() {
51
52		var $this = jQuery( this );
53		hslides.push( { src: $this.attr('data-src'), fade:2500 } );
54
55	});
56
57	jQuery.vegas('slideshow', {
58		backgrounds: hslides
59		})('overlay', {
60		src:jQuery( '.hidden_overlay' ).data( 'src' )
61	});
62
63}
64/* =グローバルメニュースクロールでfixed
65-------------------------------------------------------------- */
66//var menuHeight = jQuery('nav').height();
67//var startPos = 0;
68//jQuery(window).scroll(function(){
69 // var currentPos = jQuery(this).scrollTop();
70//  if (currentPos > startPos) {
71//    if(jQuery(window).scrollTop() >= 83) {
72//      jQuery('nav').addClass('fixed');
73//    }
74//  } else {
75//    jQuery('nav').removeClass('fixed');
76//  }
77//});
78/* =ページテーマfullwidth 横幅クラス削除
79-------------------------------------------------------------- */
80jQuery(function($){
81		$('section#recruit-feed,section#recruit-all').removeClass("container");
82	});
83
84/* =ローディングアニメーション
85-------------------------------------------------------------- */
86$(window).on('load',function(){
87  $("#splash").delay(1500).fadeOut('slow');//ローディング画面を1.5秒(1500ms)待機してからフェードアウト
88  $("#splash_logo").delay(1200).fadeOut('slow');//ロゴを1.2秒(1200ms)待機してからフェードアウト
89});

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.