1//////////ã¹ã ã¼ã¹ã¹ã¯ãã¼ã«////////// 2 3$(function(){ 4 $('a[href^="#"]').click(function(){ 5 var offsetY = -0; 6 var speed = 500; 7 var href= $(this).attr("href"); 8 var target = $(href == "#" || href == "" ? 'html' : href); 9 var position = target.offset().top+offsetY; 10 $("html, body").animate({scrollTop:position}, speed, "swing"); 11 return false; 12 }); 13}); 14 15 16//////////ããã²ã¼ã·ã§ã³////////// 17 18$(function() { 19 $(".nav-button").on("click", function() { 20 if ($(this).hasClass("active")) { 21 $(this).removeClass("active"); 22 $(".nav-wrap") 23 .addClass("close") 24 .removeClass("open"); 25 } else { 26 $(this).addClass("active"); 27 $(".nav-wrap") 28 .addClass("open") 29 .removeClass("close"); 30 } 31 }); 32 $('.nav-wrap a').on('click', function() { 33 $(".nav-wrap") 34 .addClass("close") 35 .removeClass("open"); 36 $(".nav-button").removeClass("active"); 37 }) 38}); 39 40////////////////////æéå·®ãã§ã¼ãã¤ã³//////////////////// 41$(function(){ 42 $(".cutin").css({right:'0'}); 43 setTimeout(function(){ 44 $(".cutin").stop().animate({'right':'-13vw'},1000); 45 },1000); 46}); 47 48 49//////////TOPã¸æ»ããã¿ã³////////// 50$(function() { 51 jQuery(function() { 52 var appear = false; 53 var pagetop = $('#page_top'); 54 $(window).scroll(function () { 55 if ($(this).scrollTop() > 100) { //100pxã¹ã¯ãã¼ã«ããã 56 if (appear == false) { 57 appear = true; 58 pagetop.stop().animate({ 59 'bottom': '10px' //ä¸ãã50pxã®ä½ç½®ã« 60 }, 300); //0.3ç§ããã¦ç¾ãã 61 } 62 } else { 63 if (appear) { 64 appear = false; 65 pagetop.stop().animate({ 66 'bottom': '-100px' //ä¸ãã-50pxã®ä½ç½®ã« 67 }, 300); //0.3ç§ããã¦é ãã 68 } 69 } 70 }); 71 pagetop.click(function () { 72 $('body, html').animate({ scrollTop: 0 }, 1000); //0.5ç§ããã¦ãããã¸æ»ã 73 return false; 74 }); 75 }); 76}); 77 78 79//////////25thãã¿ã³////////// 80/*$(function() { 81 jQuery(function() { 82 var appear = false; 83 var pagetop = $('.sp-cutin'); 84 $(window).scroll(function () { 85 if ($(this).scrollTop() > 100) { //100pxã¹ã¯ãã¼ã«ããã 86 if (appear == false) { 87 appear = true; 88 pagetop.stop().animate({ 89 'bottom': '0' //ä¸ãã50pxã®ä½ç½®ã« 90 }, 300); //0.3ç§ããã¦ç¾ãã 91 } 92 } else { 93 if (appear) { 94 appear = false; 95 pagetop.stop().animate({ 96 'bottom': '-180px!important' //ä¸ãã-50pxã®ä½ç½®ã« 97 }, 300); //0.3ç§ããã¦é ãã 98 } 99 } 100 }); 101 }); 102});*/
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.