PageSourceSearch

https://soulbeauty.jp/app/wp-content/themes/drop_tcd087/js/footer-cta.js?ver=2.0.1

js soulbeauty.jp collected 2026-09-24 15:05:16 UTC 1,112 bytes, 44 lines download raw bytes

1jQuery(document).ready(function($){
2
3	var footerCta = $('#js-footer-cta');
4	var pageTop = $('#js-pagetop')
5	var activeClass = 'is-active';
6
7	if ( footerCta.length ) {
8
9    $('body').addClass('has_footer_cta');
10
11		$(window).scroll(function () {
12			if ($(this).scrollTop() > 100) {
13        $('body').addClass('display_footer_cta');
14				footerCta.addClass(activeClass);
15        var footerCtaHeight = footerCta.height();
16				pageTop.css('bottom', footerCtaHeight);
17			} else {
18				footerCta.removeClass(activeClass);
19        $('body').removeClass('display_footer_cta');
20			}
21		});
22
23    $(window).bind('resize orientationchange', function() {
24      if (footerCta.hasClass(activeClass)) {
25        var footerCtaHeight = footerCta.height();
26				pageTop.css('bottom', footerCtaHeight);
27      };
28    });
29
30		$('#js-footer-cta__close').click(function(event) {
31
32      $('body').removeClass('has_footer_cta');
33      $('body').removeClass('display_footer_cta');
34
35			event.preventDefault();
36			footerCta.remove();
37			pageTop.css('bottom', 0);
38
39      // Create session cookie
40      $.cookie('tcdHideFooterCTA', 1);
41
42		});
43	}
44});

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.