PageSourceSearch

https://pietoso724.xyz/wp-content/plugins/dangan-page-builder/dist/js/main.js?ver=1.2.5

js pietoso724.xyz collected 2026-10-04 04:47:05 UTC 1,837 bytes, 59 lines download raw bytes

1(function($) {
2
3	// modal
4	$(function() {
5		var modalDisplayed = false;
6		var modalMode = $('#modal').data('modal');
7		if (modalMode == "frameOut") { // カーソルが上部に行ったら表示
8			$('#modalTrigger').hover(function() {
9				console.log(modalDisplayed);
10				if (!modalDisplayed) {
11					$('#modal').modal('show');
12					modalDisplayed = true;
13				}
14			}, function() {});
15		} else if (modalMode == "countDown") { // 時間差で表示
16			setTimeout(function() {
17				$('#modal').modal('show');
18				modalDisplayed = true;
19			}, $('#modal').data('count') * 1000);
20		}
21	});
22
23	$('#modal').on('hidden.bs.modal', function(e) {
24		$('#reModal').removeClass('invisible');
25	});
26
27	$('a').on('click', function() {
28		if ($(this).attr("href") == '#popup') {
29			$('#modal').modal('show');
30		}
31	});
32
33	// countdown
34	$(function() {
35		var limit = $('#countdown').data('countdown');
36		var redirect = $('#countdown').data('redirect');
37		if (limit) {
38			$(".countdown-timer").countdown(limit, function(event) {
39				if (event.elapsed) {
40					$('.countdown-elapsed').css('display', 'initial');
41					$('.countdown-before').css('display', 'none');
42					$('.countdown-timer').css('display', 'none');
43					$('.countdown-after').css('display', 'none');
44					if (redirect) {
45						window.location.replace(redirect);
46					}
47				} else {
48					$(this).html(event.strftime('<span class="countdown-day"><span class="num">%D</span><span class="sep">日</span></span><span class="num">%H</span><span class="sep">時間</span><span class="num">%M</span><span class="sep">分</span><span class="num">%S</span><span class="sep">秒</span>'));
49					if(event.offset.totalDays==0){
50						$('.countdown-day').css('display', 'none');
51					}
52				}
53			});
54		} else {
55			$(".countdown").html("カウントダウンが設定されていません。");
56		}
57	});
58
59})(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.