1 2$(function(){ 3 //ãã¿ã³åãæ¿ã 4 $('nav img, .mail img, .foot-nav a img, .link img').hover(function(){ 5 $(this).attr('src', $(this).attr('src').replace('_off', '_on')); 6 }, function(){ 7 $(this).attr('src', $(this).attr('src').replace('_on', '_off')); 8 }); 9 10 $('h1 a img, .about a img').hover(function(){ 11 $(this).fadeTo(500,0.5); 12 }, function(){ 13 $(this).fadeTo(500,1); 14 }); 15 16 // ãã¼ã¸ä¸é¨ã¸æ»ããã¿ã³ã®è¡¨ç¤ºã»è¨å® 17 if((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0) { 18 $('.pagetop').hide(); 19 modeMobile=true; 20 } else { 21 $('.pagetop').show(); 22 var pagetopFlag=false; 23 modeMobile=false; 24 25 //æä¸é¨ãªãé表示 26 if($(document).scrollTop()==0){ 27 $('.pagetop').fadeOut(100); 28 pagetopFlag=true; 29 } 30 //ã¹ã¯ãã¼ã«ããã表示 31 $(window).scroll(function () { 32 if(pagetopFlag && !modeMobile){ 33 $('.pagetop').fadeIn(1000); 34 pagetopFlag=false; 35 } 36 if($(document).scrollTop()==0){ 37 $('.pagetop').fadeOut(1000); 38 pagetopFlag=true; 39 } 40 }); 41 //ã¯ãªãã¯ããã 42 $('.pagetop img').click(function(){ 43 $('html,body').animate({scrollTop:0}, 500); 44 return false; 45 }).hover(function(){ 46 $(this).fadeTo(500,1); 47 }, function(){ 48 $(this).fadeTo(500,0.7); 49 }); 50 }; 51}); 52 53 54 55 56 57
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.