1// JavaScript Document 2 3//loading 4$(window).on('load',function(){ 5 $('.start_filter').delay(1500).fadeOut(1500); 6 $('.start_filter2').delay(0).fadeOut(1000); 7}); 8 9//ã¡ãã¥ã¼åãæ¿ã 10$(function(){ 11$(".sp_menu_btn a").click(function(){ 12 $(".check").prop('checked', false); 13 }); 14}); 15 16//ã¹ã ã¼ãºã¹ã¯ãã¼ã« 17$(function(){ 18 // #ã§å§ã¾ãã¢ã³ã«ã¼ãã¯ãªãã¯ããå ´åã«å¦ç 19 $('a[href^="#"]').click(function() { 20 // ã¹ã¯ãã¼ã«ã®é度 21 var speed = 800; // ããªç§ 22 // ã¢ã³ã«ã¼ã®å¤åå¾ 23 var href= $(this).attr("href"); 24 // ç§»åå ãåå¾ 25 var target = $(href == "#" || href == "" ? 'html' : href); 26 // ç§»åå ãæ°å¤ã§åå¾ 27 var position = target.offset().top; 28 // ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 29 $('body,html').animate({scrollTop:position}, speed, 'swing'); 30 return false; 31 }); 32}); 33 34// ãããã¸æ»ããã¿ã³ > 35$(function() { 36 var showFlag = false; 37 var topBtn = $('#page-top'); 38 topBtn.css('bottom', '-100px'); 39 var showFlag = false; 40 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 41 $(window).scroll(function () { 42 if ($(this).scrollTop() > 100) { 43 if (showFlag == false) { 44 showFlag = true; 45 topBtn.stop().animate({'bottom' : '10px'}, 200); 46 } 47 } else { 48 if (showFlag) { 49 showFlag = false; 50 topBtn.stop().animate({'bottom' : '-100px'}, 200); 51 } 52 } 53 }); 54}); 55// <ãããã¸æ»ããã¿ã³ 56 57$(function() { 58 var showFlag = false; 59 var Bg2 = $('.bg2'); 60 Bg2.css('opacity', '1'); 61 var showFlag = false; 62 $(window).scroll(function () { 63 if ($(this).scrollTop() > 300) { 64 if (showFlag == false) { 65 showFlag = true; 66 Bg2.stop().css('opacity', '0'); 67 } 68 } else { 69 if (showFlag) { 70 showFlag = false; 71 Bg2.stop().css('opacity', '1'); 72 } 73 } 74 }); 75}); 76 77$(function() { 78 var showFlag = false; 79 var Bg3 = $('.bg3'); 80 Bg3.css('opacity', '0'); 81 var showFlag = false; 82 $(window).scroll(function () { 83 if ($(this).scrollTop() > 300) { 84 if (showFlag == false) { 85 showFlag = true; 86 Bg3.stop().css('opacity', '1'); 87 } 88 } else { 89 if (showFlag) { 90 showFlag = false; 91 Bg3.stop().css('opacity', '0'); 92 } 93 } 94 }); 95}); 96 97$(function(){ 98 $(".qa_q").click(function(){ 99 $(this).next(".qa_a").slideToggle(); 100 $(this).children(".qa_btn").toggleClass("btn_close"); 101 $(this).children(".qa_btn2").toggleClass("btn_close"); 102 }); 103 }); 104 105 106 107 108 109 110 111 112 113
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.