1function sleep(ms) { 2 return new Promise(function(resolve) { 3 setTimeout(function() { 4 resolve() 5 }, ms) 6}) 7} 8 9window.onload = function() { 10 $('.wrap').addClass('is-show'); 11 $(".js-loading").delay(300).fadeOut(500,function(){ 12 $(this).remove(); 13 sleep(300) 14 .then(function() { 15 $('.mainCopy_txt').addClass('is-show'); 16 return sleep(1000) 17 }).then(function() { 18 $('.mainLogo').addClass('is-show'); 19 return sleep(500) 20 }).then(function() { 21 $('.roadshow').addClass('is-show'); 22 $('.billing').addClass('is-show'); 23 $('.homeBnr_wrap').addClass('is-show'); 24 }) 25 }); 26}; 27 28 29 30 31$(function(){ 32 33//ç¦æ¢å¦ç 34document.oncontextmenu = function(){ return false; }; 35document.body.oncontextmenu = "return false;" 36 37document.onselectstart = function(){ return false; }; 38document.onmousedown = function(){ return false; }; 39document.body.onselectstart = "return false;" 40document.body.onmousedown = "return false;" 41 42//åç»åçï¼ä¸ãã¼ã¸TRAILERãã¿ã³ï¼ 43$(document).ready(function(){ 44 $('.js-trailer').modaal({type: 'iframe',overlay_opacity: '1.0',fullscreen: 'true'}); 45}); 46 47$('.js-hover').easyRollover({ 48 suffix: '_off.', 49 suffix_replace: '_on.' 50}); 51 52 53$(document).ready(function() { 54 $('.js-modal').modaal({ 55 type: 'inline', 56 start_open: true, // ãã¼ã¸ãã¼ãæã«è¡¨ç¤ºãã
57 animation_speed: 800, 58 }); 59}); 60 61 62$(document).ready(function() { 63 $('.js-modal2').modaal({ 64 type: 'inline', 65 start_open: false, // ãã¼ã¸ãã¼ãæã«è¡¨ç¤ºãã 66 animation_speed: 100, 67 }); 68}); 69 70 71//ã ããã±éé 72$('#mvck_online').on('click', function() { 73 $('#mvckAll').toggleClass('is-show'); 74}); 75 76//ã ããã±CLOSEãã¿ã³ 77$('#mvckClose').on('click', function() { 78 $('#mvckAll').removeClass('is-show'); 79}); 80 81 82//ããã²ã¼ã·ã§ã³éé 83$('.navbar_toggle').on('click', function() { 84 $('.nav_btn').toggleClass('is-open'); 85 $('.navbar_toggle_icon').toggleClass('is-open'); 86 $('.gnav').toggleClass('is-show'); 87 $(this).toggleClass('open'); 88}); 89 90//naviå ä»ãµã¤ããã¢ã³ã«ã¼ãªã³ã¯ãªã©ã®ãªã³ã¯ã¯ãªãã¯æã«ããã²ã¼ã·ã§ã³ãéãã 91$('.gnavCloseLink').on('click', function() { 92 $('.navbar_toggle').trigger('click'); 93}); 94 95 96 97 98$('a[href^="#"]').on('click',function(){ 99 var speed = 700; 100 var href= $(this).attr("href"); 101 var target = $(href === "#" || href === "" ? 'html' : href); 102 var position = (target.offset().top); 103 $('body,html').animate({scrollTop:position}, speed, 'swing'); 104 return false; 105}); 106 107}); // $(function() end 108 109$(document).ready(function() { 110 var pagetop = $('.pagetop'); 111 pagetop.hide(); 112 $(window).scroll(function () { 113 if ($(this).scrollTop() > 100) { 114 pagetop.fadeIn(); 115 } else { 116 pagetop.fadeOut(); 117 } 118 }); 119 pagetop.click(function () { 120 $('body, html').animate({ scrollTop: 0 }, 500); 121 return false; 122 }); 123}); 124 125 126jQuery(function() { 127 128var footer = $('.footer').innerHeight(); // footerã®é«ããåå¾ 129 130window.onscroll = function () { 131 var point = window.pageYOffset; // ç¾å¨ã®ã¹ã¯ãã¼ã«å°ç¹ 132 var docHeight = $(document).height(); // ããã¥ã¡ã³ãã®é«ã 133 var dispHeight = $(window).height(); // 表示é åã®é«ã 134 135 if(point > docHeight-dispHeight-footer){ // ã¹ã¯ãã¼ã«å°ç¹>ããã¥ã¡ã³ãã®é«ã-表示é å-footerã®é«ã 136 $('.pc_Parallax').addClass('is-hidden'); //footerããä¸ã«ã¹ã¯ãã¼ã«ãããis-hiddenã追å 137 }else{ 138 $('.pc_Parallax').removeClass('is-hidden'); //footerããä¸ã«ã¹ã¯ãã¼ã«ãããis-hiddenãåé¤ 139 } 140}; 141}); 142 143//åç»åçï¼ä¸ãã¼ã¸TRAILERãã¿ã³ï¼ 144$(document).ready(function(){ 145 $('.js-trailer').modaal({type: 'iframe',start_open: false, fullscreen: true, background: '#fdbcc3'}); 146}); 147 148//ã³ã¡ã³ã 149$(document).ready(function(){ 150 $('.js-comment').modaal({type: 'iframe',overlay_opacity: '1.0',fullscreen: 'true', background: '#530103'}); 151}); 152 153/*===================================================== 154meta: { 155 title: "jquery-opacity-rollover.js", 156 version: "2.1", 157 copy: "copyright 2009 h2ham ([email protected])", 158 license: "MIT License(http://www.opensource.org/licenses/mit-license.php)", 159 author: "THE HAM MEDIA - http://h2ham.seesaa.net/", 160 date: "2009-07-21" 161 modify: "2009-07-23" 162} 163=====================================================*/ 164(function($) { 165 166 $.fn.opOver = function(op,oa,durationp,durationa){ 167 168 var c = { 169 op:op? op:1.0, 170 oa:oa? oa:0.6, 171 durationp:durationp? durationp:'fast', 172 durationa:durationa? durationa:'fast' 173 }; 174 175 176 $(this).each(function(){ 177 $(this).css({ 178 opacity: c.op, 179 filter: "alpha(opacity="+c.op*100+")" 180 }).hover(function(){ 181 $(this).fadeTo(c.durationp,c.oa); 182 },function(){ 183 $(this).fadeTo(c.durationa,c.op); 184 }) 185 }); 186 }, 187 188 $.fn.wink = function(durationp,op,oa){ 189 190 var c = { 191 durationp:durationp? durationp:'slow', 192 op:op? op:1.0, 193 oa:oa? oa:0.2 194 }; 195 196 $(this).each(function(){ 197 $(this) .css({ 198 opacity: c.op, 199 filter: "alpha(opacity="+c.op*100+")" 200 }).hover(function(){ 201 $(this).css({ 202 opacity: c.oa, 203 filter: "alpha(opacity="+c.oa*100+")" 204 }); 205 $(this).fadeTo(c.durationp,c.op); 206 },function(){ 207 $(this).css({ 208 opacity: c.op, 209 filter: "alpha(opacity="+c.op*100+")" 210 }); 211 }) 212 }); 213 } 214 215})(jQuery); 216 217// opacity-rollover 218 219(function($) { 220$(function() { 221 $('.over').wink('100'); 222 $('.over').css("cursor", "pointer"); 223}); 224})(jQuery); 225
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.