PageSourceSearch

https://www.shimane-u.ac.jp/_themes/ud/common/js/common.js

js shimane-u.ac.jp collected 2026-10-01 10:19:38 UTC 1,825 bytes, 75 lines download raw bytes

1/*
2共有js
3*/
4
5
6/***********************************************************
7#1 全ページ共通
8***********************************************************/
9/*======================================
10#2 HTML5 Fix for IE
11======================================*/
12for (var e, l = 'article aside footer header nav section time main'.split(' '); e = l.pop(); document.createElement(e));
13
14
15/*======================================
16#2 初期化
17======================================*/
18(function ($) {
19  // document.ready
20  $(document).ready(function () {
21    // フロートボタン
22    $('.cmn-btn-pagetop').floatingButton({ 'offset_x': 20, 'offset_y': 50, 'easing': 'easeOutExpo' });
23
24    // スクロール
25    $().pageScroll({ 'duration': 500, 'easing': 'easeInOutCubic' });
26  });
27
28  // window.load
29  $(window).load(function () {
30    // 活動報告リストの高さを調整
31    $('#c-main .col-business-element').tile();
32  });
33
34  // window.resize
35  $(window).resize(function () {
36    // 事業概要
37    $('#c-main .col-business-element').tile();
38  });
39
40  //  地域貢献
41  $(window).load(function () {
42    $('.col-area-news li').tile();
43  });
44
45  $(window).resize(function () {
46    $('.col-area-news li').tile();
47  });
48
49})(jQuery);
50
51
52
53$(function () {
54  $('.hamburger').click(function () {
55    $(this).toggleClass('active');
56
57    if ($(this).hasClass('active')) {
58      $('.globalMenuSp').addClass('active');
59    } else {
60      $('.globalMenuSp').removeClass('active');
61    }
62  });
63});
64
65$(function () {
66  $('.popup-modal').magnificPopup({
67    type: 'inline',
68    preloader: false
69  });
70  //閉じるリンクの設定
71  $(document).on('click', '.popup-modal-dismiss', function (e) {
72    e.preventDefault();
73    $.magnificPopup.close();
74  });
75});

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.