1 2 3$(function(){ 4 5 6 //page topã«æ»ãå¦ç 7 //======================================================= 8 if(!navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)){ 9 //ããã«æ¸ããå¦çã¯ã¹ããã»ipadé²è¦§æã¯ç¡å¹ã¨ãªã 10 var headerHight = 0; //ãããã®é«ã 11 $('a[href^="#"]').click(function(){ 12 var href= $(this).attr("href"); 13 var target = $(href == "#" || href == "" ? 'html' : href); 14 var position = target.offset().top-headerHight; //ãããã®é«ãåä½ç½®ãããã 15 $("html, body").animate({scrollTop:position}, 550, "swing"); 16 return false; 17 }); 18 } 19 20 if(navigator.userAgent.match(/(iPhone|iPad|Android)/)){ 21 //ããã«æ¸ããå¦çã¯ã¹ããã»ipadé²è¦§æã®ã¿æå¹ã¨ãªã 22 var sphead = 70; //ãããã®é«ã 23 $('a[href^="#"]').click(function(){ 24 var href= $(this).attr("href"); 25 var target = $(href == "#" || href == "" ? 'html' : href); 26 var position = target.offset().top-sphead; //ãããã®é«ãåä½ç½®ãããã 27 $("html, body").animate({scrollTop:position}, 550, "swing"); 28 return false; 29 }); 30 } 31 32 33 34 //page topã«æ»ãå¦ç 35 //======================================================= 36 37 38 var footer = $('#pagebottom'); 39 $(window).scroll(function () { 40 if ($(this).scrollTop() > 100) { 41 footer.addClass('show'); 42 } else { 43 footer.removeClass('show'); 44 } 45 }); 46 47 48 49 50 51 //acodion 52 //======================================================= 53 $(".js-aco_btn").click(function(){ 54 $(this).next(".js-aco_body").slideToggle(); 55 $(this).toggleClass("active"); 56 }); 57 58 //index ãç¥ãã 1çªç®ã®é ç®åæè¡¨ç¤º 59 //======================================================= 60 //$(".news dt:first-of-type").addClass('active'); 61 //$(".news dd:first-of-type").css('display','block'); 62 63 64 65 66});
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.