PageSourceSearch

https://www.aetjapan.com/js/custom.js

js aetjapan.com collected 2026-10-05 17:44:53 UTC 2,543 bytes, 105 lines download raw bytes

1doSetMove$(function(){
2	'use strict';
3
4
5	/*--------------------------------------------------
6    Scrollspy Bootstrap
7    ---------------------------------------------------*/
8
9    $('body').scrollspy({
10    	target: '#header',
11    	offset: 100
12    });
13
14
15	/*--------------------------------------------------
16    Smooth Scroll
17    ---------------------------------------------------*/
18
19	smoothScroll.init({
20		selector: '.smoothScroll',
21		speed: 1000,
22		offset: 100,
23		before: function(anchor, toggle){
24			// Check if mobile navigation is active
25			var query = Modernizr.mq('(max-width: 767px)');
26			// Check if element is navigation eelement
27			var navItem = $(toggle).parents("#main-navbar").length;
28			// If mobile nav & nav item then close nav
29			if (query && navItem !== 0) {
30				$("button.navbar-toggle").click();
31			}
32		}
33	});
34
35
36	/*--------------------------------------------------
37    Mixitup
38    ---------------------------------------------------*/
39
40    var mixer = mixitup('#portfolio-grid', {
41
42		selectors: {
43			control: '[data-mixitup-control]'
44		}
45
46	});
47
48
49	/*--------------------------------------------------
50    Slick Slider
51    ---------------------------------------------------*/
52
53	$('.slider-container').slick({
54		arrows: false,
55		autoplay: true,
56		centerMode: true,
57		centerPadding: '100px',
58		variableWidth: true,
59		responsive: [
60			{
61				breakpoint: 768,
62				settings: {
63					centerMode: false,
64					variableWidth: false
65				}
66			}
67		]
68	});
69
70
71	/*--------------------------------------------------
72    Porfolio cursor
73    ---------------------------------------------------*/
74
75	$('.team-member').on('mousedown', function() {
76	    $(this).removeClass('grabbable');
77	    $(this).addClass('grabbing');
78	});
79
80	$('.team-member').on('mouseleave mouseup', function() {
81	    $(this).removeClass('grabbing');
82	    $(this).addClass('grabbable');
83	});
84
85	/*--------------------------------------------------
86    Current Year
87    ---------------------------------------------------*/
88
89    // Automatically update copyright year in the footer
90	var currentTime = new Date();
91	var year = currentTime.getFullYear();
92	$("#year").text(year);
93
94});
95
96function doSetMove(act,rid,pass=null){
97 if (pass == null || pass == '') {pass = '?';}else{pass = pass + '?';}
98  $('<form/>', {action:pass + act , method: 'post'})
99  .append($('<input/>', {type: 'hidden', name: 'rid', value: rid}))
100  .appendTo(document.body)
101  .submit();
102	return false;
103
104
105}

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.