1jQuery( function ($) { 2 3 // ããã¼ã¸TOPã¸ããã¿ã³ã¯ãscrolltopcontrol.js ãä½¿ç¨ 4 // ãã®ä»ã®ããã²ã¼ã·ã§ã³ãã¿ã³ 5 $('a.smooth').bind('click',function(event) { 6 $('html, body').stop().animate({ 7 scrollTop: $( $(this).attr('href') ).offset().top 8 }, 1000, 'easeInOutExpo'); 9 event.preventDefault(); 10 }); 11 12 // ãã¦ã¹ãªã¼ãã¼ã«ããç»åã®å ¥ãæ¿ã (jQueryãã¼ã¸ã§ã³ã®SmartRollover) 13 $('img').each( function () { 14 if ( $(this).attr( 'src' ).match( /_off\./ ) ) { 15 var mom = $(this).parent(); 16 if ( $(this).hasClass( 'current' ) || $(mom).hasClass( 'current' ) ) { 17 $(this).attr( 'src', $(this).attr( 'src' ).replace( /_off\./, '_on.' ) ); 18 } 19 $(this).bind( 'mouseover', function( event ) { 20 if ( ! $(this).hasClass( 'current' ) && ! $(mom).hasClass( 'current' ) ) { 21 $(this).attr( 'src', $(this).attr( 'src' ).replace( /_off\./, '_on.' ) ); 22 } 23 event.preventDefault(); 24 }); 25 $(this).bind( 'mouseout', function( event ) { 26 if ( ! $(this).hasClass( 'current' ) && ! $(mom).hasClass( 'current' ) ) { 27 $(this).attr( 'src', $(this).attr( 'src' ).replace( /_on\./, '_off.' ) ); 28 } 29 event.preventDefault(); 30 }); 31 } 32 }); 33 34 // CSS :nth-child ã«å¯¾å¿ãã¦ããªã IE ç¨ã®ããã
35// if ( navigator.userAgent.search(/MSIE [5678]/) != -1 ) { 36// $(':nth-child(odd)').css('clear','left'); 37// } 38 39}); 40 41 42/* 432014.03.18 WEB8 Kitagawa追å 44PCå´ã§é»è©±çªå·ã¸ã®ãªã³ã¯ç¡å¹å 45*/ 46jQuery( function ($) { 47 //iPhoneã¨Androidã®ã©ã¡ãã§ããªããã°ã¯ãªãã¯ãã¦ãç¡å¹ 48 if(navigator.userAgent.indexOf('iPhone') < 0 && navigator.userAgent.indexOf('Android') < 0) { 49 $("a.tapandcall").removeAttr("href"); 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.