1 2$('a[href^="#"]').click(function(){ 3 var speed = 1000;ã//ã¹ã¯ãã¼ã«ã¹ãã¼ã 4 var href= $(this).attr("href"); 5 var target = $(href == "#" || href == "" ? 'html' : href); 6 var position = target.offset().top; 7 $("html, body").animate({scrollTop:position}, speed, "easeOutExpo"); 8 return false; 9 }); 10 11 12//loading 13 14$(function() { 15var h = $(window).height(); 16$('#wrap').css('display','none'); 17$('#loader-bg').height(h).css('display','block'); 18$('#loader-bg').delay(1000).fadeOut(1000,function(){ 19}); 20$('#wrap').fadeIn(500); 21}); 22 23 24$(function(){ 25var timer = false; 26var prewidth = $(window).width(); 27$(window).resize(function() { 28if (timer !== false) { 29clearTimeout(timer); 30} 31timer = setTimeout(function() { 32var nowWidth = $(window).width(); 33if(prewidth !== nowWidth){ 34// ãªãã¼ã 35location.reload(); 36} 37prewidth = nowWidth; 38}, 200); 39}); 40}); 41 42 43 44//menu 45 46jQuery(document).ready(function($) { 47 48 if (window.matchMedia( '(min-width: 641px)' ).matches) { 49 50 $(function() { 51 52 $('#btnpagetop').hide(); 53 54 $(window).scroll(function () { 55 if ($(this).scrollTop() > 300) { 56 $('#btnpagetop').fadeIn(); 57 } else { 58 $('#btnpagetop').fadeOut(); 59 } 60 }); 61 62}); 63 64 } else { 65 66 $(function(){ 67 $("#menuBtn,#menuBtn2,.menuOff").click(function () { 68 $("#menuBtn2,#menuBtn,#menuAll").fadeToggle(400); 69 }); 70 }); 71 72 }; 73}); 74 75$(document).ready(function() { 76 $('#menuLoad').load('menu.html'); 77}); 78 79$(function(){ 80 $('.topicsTitle').click(function(){ 81 $(this).next('.topicsTxtAll').stop(true, true).slideToggle(500); 82 }); 83}); 84 85 86// trailer 87 88$(function(){ 89 $(".moviechange").click(function(){ 90 var id = $(this).attr('href'); 91 $(".iframe").attr("src","https://www.youtube.com/embed/" + id ); 92 $(".iframe").attr("href","https://www.youtube.com/embed/" + id ); 93 return false; 94 }); 95}); 96$(function(){ 97 $(".tab_label a").on("click",function(){ 98 var $th = $(this).index(); 99 $(".tab_label a").removeClass("active"); 100 $(".tab_panel a").removeClass("active"); 101 $(this).addClass("active"); 102 $(".tab_panel").eq($th).addClass("active"); 103 }); 104}); 105 106 107 108 109$(function() { 110 $('.ef-fade,.ef-fade01,.ef-fade02,.ef-fade03,.ef-fade04,.ef-scale01,.ef-scale02,.ef-scale03,.ef-scale04,.ef-fadeF').on('inview', function(event, isInView, visiblePartX, visiblePartY) { 111 console.log(isInView); 112 if(isInView){ 113 $(this).stop().addClass('fade'); 114 } 115 else{ 116 $(this).stop().removeClass('fade'); 117 } 118}); 119});
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.