PageSourceSearch

https://fantasyresort.jp/wp-content/themes/fantasykidsresort/assets/js/tab.js?20220628-5

js fantasyresort.jp collected 2026-10-02 04:47:05 UTC 1,167 bytes, 50 lines download raw bytes

1function displayContent(tabno) {
2  $('.content_area').css('display', 'none');
3  $('.tab_area li.tab').removeClass('select');
4  $('.content_area').eq(tabno).fadeIn();
5  $('ul.tab_area li.tab').eq(tabno).addClass('select');
6  return;
7}
8
9function scrollTo() {
10  $('html,body').animate({
11    scrollTop: $('#play').offset().top
12  }, 300);
13  return;
14}
15
16$(function () {
17  $('ul.tab_area li.tab').click(function () {
18    var index = $('ul.tab_area li.tab').index(this);
19    displayContent(index);
20  });
21  $('.header-fun-list li.tab').click(function () {
22    var index = $('.header-fun-list li.tab').index(this);
23    displayContent(index);
24    scrollTo();
25  });
26  $('.footer-fun-list li.tab').click(function () {
27    var index = $('.footer-fun-list li.tab').index(this);
28    displayContent(index);
29    scrollTo();
30  });
31});
32
33$(function () {
34  var hash = location.hash;
35  var tabno = 0;
36
37  if ($(hash).length) {
38    var tabname = hash.slice(1);
39    tabno = $('ul.tab_area li#' + tabname + '.tab').index();
40    if (tabname == "events") {
41      tabno = 3;
42    }
43  }
44  if (tabno > 0) {
45    displayContent(tabno);
46    setTimeout(function () {
47      scrollTo();
48    }, 100);
49  }
50});

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.