1// JavaScript Document 2$(document).ready(function() { 3"use strict"; 4 5if(performance.navigation.type == 1 && location.hash){ 6 location.href = location.href.replace(/#.*/, ""); 7} 8 9$('.main-img').addClass('fromTopMainOut'); 10$('.ami .main-logo li').hide(); 11$('.main-logo-sp li').hide(); 12$('.main-logo-shadow,.billing1-shadow').addClass('alphaOut'); 13$('.copy,.day,.main-area .billing,.billing1-txt,.logo82,.logo50,.logonyff,.logoaif25').addClass('mainScaleUpOut'); 14 15 16 17//------------- ãã¼ãã£ã³ã° -------------// 18$(window).load(function(){ 19 $(".loadingWrap img").fadeOut({'duration':1000,'complete':function(){ 20 $('.loadingWrap').fadeOut({'duration':1000,'easing':'easeInQuad'}); 21 topStart(); 22} 23}); 24}); 25function topStart() { 26 $('.main-img').addClass('fromTopMainIn').removeClass('fromTopMainOut'); 27 setTimeout(function(){$('.ami .main-logo li').each(function(i) { 28 $(this).delay(120 * i).fadeIn({'duration':600,'easing':'easeInQuad'}); 29 });},500); 30 setTimeout(function(){$('.main-logo-sp li').each(function(i) { 31 $(this).delay(120 * i).fadeIn({'duration':600,'easing':'easeInQuad'}); 32 });},500); 33 setTimeout(function(){$('.main-logo-shadow').addClass('alphaIn').removeClass('alphaOut');},2000); 34 setTimeout(function(){$('.copy,.day,.main-area .billing,.billing1-txt,.logo82,.logo50,.logonyff,.logoaif25').addClass('mainScaleUpIn').removeClass('mainScaleUpOut');},2000); 35 setTimeout(function(){$('.billing1-shadow').addClass('alphaIn').removeClass('alphaOut');},3000); 36 setTimeout(function(){$('.main-logo-shadow,.copy,.day,.main-area .billing,.billing1-txt,.billing1-shadow,.logo82,.logo50,.logonyff,.logoaif25').addClass('fix');},4000); 37} 38/*--------------------------------- 39 ã¹ã¯ãã¼ã«å»¶æ» 40---------------------------------*/ 41 $.smooziee({ 42 offset: 0, 43 speed: 1200, 44 urlHistory: 'push', 45 urlParam: 'hash', 46 otherPageScroll: true 47 }); 48/*--------------------------------- 49 SCROLL TOP 50---------------------------------*/ 51$(window).scroll(function() { 52 var menufix = $("#main-area").height(); 53 var scroll = $(this).scrollTop(); 54 if (scroll < menufix) { 55 $(".menu-area").removeClass('active').addClass('normal'); 56 } 57 if (scroll > menufix) { 58 $(".menu-area").removeClass('normal').addClass('active'); 59 } 60}); 61/*--------------------------------- 62 MENU 63---------------------------------*/ 64$("#menu-icon a").click(function(){ 65 if ($('#menu-back').is(':visible')) { 66 $('.menu-icon').removeClass('active'); 67 $("#menu-back").fadeOut({'duration':600,'easing':'easeOutQuart'}); 68 $(".menu-area").removeClass('act'); 69 70 } else { 71 $('.menu-icon').addClass('active'); 72 $("#menu-back").fadeIn({'duration':600,'easing':'easeOutQuart'}); 73 $(".menu-area").addClass('act'); 74 } 75 return false; 76}); 77 78//------------- ã¡ãã¥ã¼ã¯ãªã㯠-------------// 79$(".menu-area li.link a,#menu-back").click(function(){ 80 $('.menu-icon').removeClass('active'); 81 $("#menu-back").fadeOut({'duration':600,'easing':'easeOutQuart'}); 82 $(".menu-area").removeClass('act'); 83}); 84/*--------------------------------- 85 MVTK 86---------------------------------*/ 87$("#mvtk-online-link a").click(function(){ 88 $("#mvtk-area").addClass('act'); 89}); 90$("#close-icon-mvtk").click(function(){ 91 $("#mvtk-area").removeClass('act'); 92}); 93/*--------------------------------- 94 TRAILER 95---------------------------------*/ 96$('#trailerBtnSArea #yokoku2').css({opacity: 0.75}); 97 98$("#trailerBtnSArea #yokoku2").click(function(){ 99 $('#trailerBtnSArea li').css({opacity: 1.0}); 100 $('#trailerBtnSArea #yokoku2').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/AIsVWhu4_Hs?enablejsapi=1&rel=0'); 101 return false; 102}); 103 104$("#trailerBtnSArea #yokoku1").click(function(){ 105 $('#trailerBtnSArea li').css({opacity: 1.0}); 106 $('#trailerBtnSArea #yokoku1').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/2AfKVDmc5io?enablejsapi=1&rel=0'); 107 return false; 108}); 109 110$("#trailerBtnSArea #tokuho2").click(function(){ 111 $('#trailerBtnSArea li').css({opacity: 1.0}); 112 $('#trailerBtnSArea #tokuho2').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/Zaib3ZS0u4A?enablejsapi=1&rel=0'); 113 return false;
114}); 115 116$("#trailerBtnSArea #tokuho1").click(function(){ 117 $('#trailerBtnSArea li').css({opacity: 1.0}); 118 $('#trailerBtnSArea #tokuho1').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/XETw4Yy79nY?enablejsapi=1&rel=0'); 119 return false; 120}); 121 122$("#trailerBtnSArea #kando").click(function(){ 123 $('#trailerBtnSArea li').css({opacity: 1.0}); 124 $('#trailerBtnSArea #kando').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/vyLTfPG1Y8I?enablejsapi=1&rel=0'); 125 return false; 126}); 127 128$("#trailerBtnSArea #monogatari").click(function(){ 129 $('#trailerBtnSArea li').css({opacity: 1.0}); 130 $('#trailerBtnSArea #monogatari').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/PCL6UY0QytY?enablejsapi=1&rel=0'); 131 return false; 132}); 133 134$("#trailerBtnSArea #kaigai").click(function(){ 135 $('#trailerBtnSArea li').css({opacity: 1.0}); 136 $('#trailerBtnSArea #kaigai').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/bFI5Y_pc47I?enablejsapi=1&rel=0'); 137 return false; 138}); 139 140$("#trailerBtnSArea #ending").click(function(){ 141 $('#trailerBtnSArea li').css({opacity: 1.0}); 142 $('#trailerBtnSArea #ending').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/1OtnowDsnYc?enablejsapi=1&rel=0'); 143 return false; 144}); 145 146$("#trailerBtnSArea #syukusai").click(function(){ 147 $('#trailerBtnSArea li').css({opacity: 1.0}); 148 $('#trailerBtnSArea #syukusai').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/vOPY3hEYM4Y?enablejsapi=1&rel=0'); 149 return false; 150}); 151 152$("#trailerBtnSArea #tokuban1").click(function(){ 153 $('#trailerBtnSArea li').css({opacity: 1.0}); 154 $('#trailerBtnSArea #tokuban1').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/QioFxmB8tLQ?enablejsapi=1&rel=0'); 155 return false; 156}); 157 158$("#trailerBtnSArea #tokuban2").click(function(){ 159 $('#trailerBtnSArea li').css({opacity: 1.0}); 160 $('#trailerBtnSArea #tokuban2').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/gczUu9FgvO8?enablejsapi=1&rel=0'); 161 return false; 162}); 163 164$("#trailerBtnSArea #honpen").click(function(){ 165 $('#trailerBtnSArea li').css({opacity: 1.0}); 166 $('#trailerBtnSArea #honpen').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/GVijSg8_mBA?enablejsapi=1&rel=0'); 167 return false; 168}); 169 170$("#trailerBtnSArea #arata").click(function(){ 171 $('#trailerBtnSArea li').css({opacity: 1.0}); 172 $('#trailerBtnSArea #arata').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/v_DcgmEPOSE?enablejsapi=1&rel=0'); 173 return false; 174}); 175 176$("#trailerBtnSArea #Venezia").click(function(){ 177 $('#trailerBtnSArea li').css({opacity: 1.0}); 178 $('#trailerBtnSArea #Venezia').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/Gau2C889r-0?enablejsapi=1&rel=0'); 179 return false; 180}); 181 182$("#trailerBtnSArea #Venezia-kanko").click(function(){ 183 $('#trailerBtnSArea li').css({opacity: 1.0}); 184 $('#trailerBtnSArea #Venezia-kanko').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/oKpcFdWHdbo?enablejsapi=1&rel=0'); 185 return false; 186}); 187 188$("#trailerBtnSArea #kyomu").click(function(){ 189 $('#trailerBtnSArea li').css({opacity: 1.0}); 190 $('#trailerBtnSArea #kyomu').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/nCcDHnAwzFk?enablejsapi=1&rel=0'); 191 return false; 192}); 193 194$("#trailerBtnSArea #jp-premire").click(function(){ 195 $('#trailerBtnSArea li').css({opacity: 1.0}); 196 $('#trailerBtnSArea #jp-premire').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/zzVzXu5BkWE?enablejsapi=1&rel=0'); 197 return false;
198}); 199 200$("#trailerBtnSArea #talk").click(function(){ 201 $('#trailerBtnSArea li').css({opacity: 1.0}); 202 $('#trailerBtnSArea #talk').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/2mY6ZQN8sPA?enablejsapi=1&rel=0'); 203 return false; 204}); 205 206$("#trailerBtnSArea #syonichi").click(function(){ 207 $('#trailerBtnSArea li').css({opacity: 1.0}); 208 $('#trailerBtnSArea #syonichi').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/O3dz3zavU0k?enablejsapi=1&rel=0'); 209 return false; 210}); 211 212$("#trailerBtnSArea #kotonoha").click(function(){ 213 $('#trailerBtnSArea li').css({opacity: 1.0}); 214 $('#trailerBtnSArea #kotonoha').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/zhR13ZWkxsE?enablejsapi=1&rel=0'); 215 return false; 216}); 217 218$("#trailerBtnSArea #jp-premire-mittyaku").click(function(){ 219 $('#trailerBtnSArea li').css({opacity: 1.0}); 220 $('#trailerBtnSArea #jp-premire-mittyaku').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/FGJDkTaX7Tc?enablejsapi=1&rel=0'); 221 return false; 222}); 223 224$("#trailerBtnSArea #honpen-boto").click(function(){ 225 $('#trailerBtnSArea li').css({opacity: 1.0}); 226 $('#trailerBtnSArea #honpen-boto').css({opacity: 0.75}); document.getElementById('trailerFrame').contentWindow.location.replace('https://www.youtube.com/embed/GYWk04dmiX0?enablejsapi=1&rel=0'); 227 return false; 228}); 229//------------- ã¹ã©ã¤ãã¼ -------------// 230 231var setElm = $('.loopSlider'), 232slideSpeed = 5000; 233 234setElm.each(function(){ 235 var self = $(this), 236 selfWidth = self.innerWidth(), 237 findUl = self.find('ul'), 238 findLi = findUl.find('li'), 239 listWidth = findLi.outerWidth(), 240 listCount = findLi.length, 241 loopWidth = listWidth * listCount; 242 243 findUl.wrapAll('<div class="loopSliderWrap" />'); 244 var selfWrap = self.find('.loopSliderWrap'); 245 246 if(loopWidth > selfWidth){ 247 findUl.css({width:loopWidth}).clone().appendTo(selfWrap); 248 249 selfWrap.css({width:loopWidth*2}); 250 251 function loopMove(){ 252 selfWrap.animate({left:'-' + (loopWidth) + 'px'},slideSpeed*listCount,'linear',function(){ 253 selfWrap.css({left:'0'}); 254 loopMove(); 255 }); 256 }; 257 loopMove(); 258 259 $(window).resize(function() { 260 selfWrap.animate({left:'-' + (loopWidth) + 'px'},slideSpeed*listCount,'linear',function(){ 261 selfWrap.css({left:'0'}); 262 }); 263 }); 264 265 } 266 267}); 268 269});
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.