1$(function() { 2 3 //ãã¼ã or ã¹ã¯ãã¼ã«ãããã¨å®è¡ 4 $(window).on('load scroll', function(){ 5 6 //ãããã¼ã®é«ãå(80px)ã¹ã¯ãã¼ã«ããã¨fixedã¯ã©ã¹ã追å 7 if ($(window).scrollTop() > 86) { 8 $('.sp_btn div').addClass('fixed'); 9 } else { 10 //80px以ä¸ã ã¨fixedã¯ã©ã¹ãåé¤ 11 $('.sp_btn div').removeClass('fixed'); 12 } 13 14 }); 15 16}); 17 18 19$(function () { 20 var headerHight = 0; //ãããã®é«ã 21 $('a[href^=#]').click(function(){ 22 var href= $(this).attr("href"); 23 var target = $(href == "#" || href == "" ? 'html' : href); 24 var position = target.offset().top-headerHight; //ãããã®é«ãåä½ç½®ãããã 25 $("html, body").animate({scrollTop:position}, 550, "swing"); 26// return false; 27 }); 28}); 29 30/* 31$(function() { 32 //ãã¼ã or ã¹ã¯ãã¼ã«ãããã¨å®è¡ 33 $(window).on('load scroll', function(){ 34 //ãããã¼ã®é«ãå(80px)ã¹ã¯ãã¼ã«ããã¨fixedã¯ã©ã¹ã追å 35 if ($(window).scrollTop() > 100) { 36 $('.right_menu ul').addClass('fixed'); 37 } else { 38 //80px以ä¸ã ã¨fixedã¯ã©ã¹ãåé¤ 39 $('.right_menu ul').removeClass('fixed'); 40 } 41 }); 42}); 43*/ 44 45$(function() { 46 //ãã¼ã or ã¹ã¯ãã¼ã«ãããã¨å®è¡ 47 $(window).on('load scroll', function(){ 48 //ãããã¼ã®é«ãå(80px)ã¹ã¯ãã¼ã«ããã¨fixedã¯ã©ã¹ã追å 49 if ($(window).scrollTop() > 100) { 50 $('.right_menu ul').addClass('fixed f_in'); 51 } else { 52 //80px以ä¸ã ã¨fixedã¯ã©ã¹ãåé¤ 53 $('.right_menu ul').removeClass('fixed f_in'); 54 } 55 }); 56}); 57 58
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.