1// base common.js 2016-12 2 3 4 $(function(){ 5 6 //ã¹ã ã¼ã¹ ã¹ã¯ãã¼ã« 7 //---------------------------------------------------------------- 8 $('a[href^=#]').click(function(){ 9 var headerHight = 160; //header height 10 var speed = 500; 11 var href= $(this).attr("href"); 12 var target = $(href == "#" || href == "" ? 'html' : href); 13 var position = target.offset().top-headerHight; 14 $("html, body").animate({scrollTop:position}, speed, "swing"); 15 return false; 16 }); 17 18 // goTop Btn 19 $("#go_top").css("display","none"); 20 $(window).scroll(function() { 21 if( $(window).scrollTop() > 160 ) { 22 $("#go_top").fadeIn(); 23 } else { 24 $("#go_top").fadeOut(); 25 } 26 }); 27 28 //rollover 29 $('a img.rollover').hover(function(){ 30 $(this).attr('src', $(this).attr('src').replace('_off', '_on')); 31 }, function(){ 32 $(this).attr('src', $(this).attr('src').replace('_on', '_off')); 33 }); 34 35 //Common File Include 36 $("#footNav").load("common/footer.html"); 37 38}); 39 40 41 // Online Info 42 $("#online").css("display","none"); 43 $(window).scroll(function() { 44 if( $(window).scrollTop() > 160 ) { 45 $("#online").fadeIn(); 46 } else { 47 $("#online").fadeOut(); 48 } 49 }); 50 51 52
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.