PageSourceSearch

https://millenniumparade.com/js/pages/menu2/page.js

js millenniumparade.com collected 2026-09-30 21:58:22 UTC 5,315 bytes, 1 lines download raw bytes

1var Menu2Page=function(){let e="pagex",n=0,m=0,i=0;let t=null,_=null,o=null,u=null,l=null,s=null,a=!1,d=null,r=null;function g(){n=document.getElementById(e).offsetHeight,console.log("page_height:",n),m=document.getElementById(e).offsetTop,console.log("page_offset_y:",m)}return{init:function(n,m,i,a,c,p){l=a,s=new l.Group,t=i.global_camera,_=i.global_scene,o=i.global_posteffect_shader,u=i.global_mouse_pos,r=c,d=p,_.add(s),e=m;var v=document.createElement("div");function h(){$(".view").removeClass("open_menu"),$("#menu_container").removeClass("open"),r&&(r.enabled=!1),$("#menu_btn").show(),document.getElementById("menu").style.display="none",$("#overlay_container").show(),$(".mp_konton").show(),d&&d()}v.classList.add("page"),v.setAttribute("id",e),v.innerHTML='\n    <div class="menu_view" id="menu" style="display:none;">\n        <div class="menu_btn" id="menu_close_btn">[CLOSE]</div>\n        <div class="menu_container" id="menu_container">\n\n         <div class="menu_item" id="menu_item_live">\n            <img src="./images/menu/menu_live.svg" id="menu_item_live_en">\n         </div> \n                \n          <div class="menu_item" id="menu_item_redball">\n            <img src="./images/menu/menu_redball.svg" id="menu_item_redball_en">\n            <img src="./images/menu/menu_redball_jp.svg" id="menu_item_redball_jp">\n          </div>\n          <div class="menu_item" id="menu_item_newtownpage">\n            <img src="./images/menu/menu_newtownpage.svg" id="menu_item_newtownpage_en">\n            <img src="./images/menu/menu_newtownpage_jp.svg" id="menu_item_newtownpage_jp">\n          </div>\n          <div class="menu_item" id="menu_item_story">\n            <img src="./images/menu/menu_story.svg" id="menu_item_story_en">\n            <img src="./images/menu/menu_story_jp.svg" id="menu_item_story_jp">\n          </div>\n          <div class="menu_item" id="menu_item_dreampill">\n            <img src="./images/menu/menu_dreampill.svg" id="menu_item_dreampill_en">\n            <img src="./images/menu/menu_dreampill_jp.svg" id="menu_item_dreampill_jp">\n          </div>\n          <div class="menu_item" id="menu_item_joinus">\n            <img src="./images/menu/menu_comewithus.svg" id="menu_item_joinus_en">\n            <img src="./images/menu/menu_joinus_jp.svg" id="menu_item_joinus_jp">\n          </div>\n        </div>\n\n        <img src="./images/atrip_higher.svg" class="atrip_higher" id="atrip_higher">\n       \n    </div>',n.appendChild(v),g(),document.getElementById("menu_close_btn").addEventListener("click",(function(){h(),$("#who_and_how_svg").removeClass("hide"),$("#who_and_how_svg2").removeClass("hide")})),$("#menu_item_redball_jp").hide(),$("#menu_item_newtownpage_jp").hide(),$("#menu_item_story_jp").hide(),$("#menu_item_dreampill_jp").hide(),$("#menu_item_joinus_jp").hide(),$("#menu_item_redball").on("mouseenter",(function(){$("#menu_item_redball_jp").show(),$("#menu_item_redball_en").hide()})),$("#menu_item_redball").on("mouseleave",(function(){$("#menu_item_redball_jp").hide(),$("#menu_item_redball_en").show()})),$("#menu_item_newtownpage").on("mouseenter",(function(){$("#menu_item_newtownpage_jp").show(),$("#menu_item_newtownpage_en").hide()})),$("#menu_item_newtownpage").on("mouseleave",(function(){$("#menu_item_newtownpage_jp").hide(),$("#menu_item_newtownpage_en").show()})),$("#menu_item_story").on("mouseenter",(function(){$("#menu_item_story_jp").show(),$("#menu_item_story_en").hide()})),$("#menu_item_story").on("mouseleave",(function(){$("#menu_item_story_jp").hide(),$("#menu_item_story_en").show()})),$("#menu_item_dreampill").on("mouseenter",(function(){$("#menu_item_dreampill_jp").show(),$("#menu_item_dreampill_en").hide()})),$("#menu_item_dreampill").on("mouseleave",(function(){$("#menu_item_dreampill_jp").hide(),$("#menu_item_dreampill_en").show()})),$("#menu_item_joinus").on("mouseenter",(function(){$("#menu_item_joinus_jp").show(),$("#menu_item_joinus_en").hide()})),$("#menu_item_joinus").on("mouseleave",(function(){$("#menu_item_joinus_jp").hide(),$("#menu_item_joinus_en").show()})),$("#menu_item_redball").on("click",(function(){h();$("html, body").animate({scrollTop:$("#page1").offset().top},10)})),$("#menu_item_newtownpage").on("click",(function(){h();$("html, body").animate({scrollTop:$("#page3").offset().top+window.innerHeight},10),setTimeout((function(){var e=document.getElementsByClassName("logo")[0];e&&(e.style.backgroundColor="rgba(147, 33, 3, 0.0)")}),500)})),$("#menu_item_story").on("click",(function(){var e=document.getElementsByClassName("logo")[0];e&&(e.style.backgroundColor="rgba(147, 33, 3, 0.0)"),h();$("html, body").animate({scrollTop:$("#page6").offset().top+100},10)})),$("#menu_item_dreampill").on("click",(function(){var e=document.getElementsByClassName("logo")[0];e&&(e.style.backgroundColor="rgba(147, 33, 3, 0.0)"),h();$("html, body").animate({scrollTop:$("#page7").offset().top+100},10)})),$("#menu_item_joinus").on("click",(function(){var e=document.getElementsByClassName("logo")[0];e&&(e.style.backgroundColor="rgba(147, 33, 3, 0.0)"),h();$("html, body").animate({scrollTop:$("#page9").offset().top+100},10)}))},resizePage:g,scrollPage:function(){let e=window.scrollY;i=(e-m)/n},loadWebGL:function(){a||(a=!0,_.add(s))},animate:function(){}}}();export{Menu2Page};

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.