1//jQuery.noConflict(); 䏿¦ã³ã¡ã³ãã¢ã¦ã 2(function($) { 3 4 //ãã¦ã¹ãªã¼ãã¼ï¼ãã¡ã¤ã«ã®æ«å°¾ã«ã_offãã_onãã§åãæ¿ãï¼ 5 $("img.over,input.over") 6 .each( function(){ 7 $("<img>,<input>").attr("src",$(this).attr("src").replace(/^(.+)_off(\.[a-z]+)$/, "$1_on$2")); 8 }) 9 .mouseover( function(){ 10 $(this).attr("src",$(this).attr("src").replace(/^(.+)_off(\.[a-z]+)$/, "$1_on$2")); 11 }) 12 .mouseout( function(){ 13 $(this).attr("src",$(this).attr("src").replace(/^(.+)_on(\.[a-z]+)$/, "$1_off$2")); 14 }); 15 16 //ãã¼ãã«ã®ã»ã«ã¨ãªã¹ãã«å¶æ°ã»å¥æ°ãä»ä¸ 17 $("li:odd,tr:odd").addClass("odd"), 18 $("li:even,tr:even").addClass("even"); 19 20 //ã¹ã ã¼ãºã¹ã¯ãã¼ã« 21 var topBtn = $('.page-top'); 22 topBtn.hide(); 23 $(window).scroll(function () { 24 if ($(this).scrollTop() > 100) { 25 topBtn.fadeIn(); 26 } else { 27 topBtn.fadeOut(); 28 } 29 }); 30 31 $("a[href^='#']").click(function(){ 32 var Hash = $(this.hash); 33 var HashOffset = $(Hash).offset().top; 34 $("html,body").animate({ 35 scrollTop: $($(this).attr("href")).offset().top }, 'slow','swing'); 36 return false; 37 }); 38 39 //ã°ãã¼ãã«ã¡ãã¥ã¼ã®ãã«ãã¦ã³è¨å® 40 $("#menu li").hover(function() { 41 $("> ul:not(:animated)", this).fadeIn("normal"); 42 }, function() { 43 $("> ul", this).fadeOut("normal"); 44 }); 45 46 //ã¢ãã¤ã«ç¨ã®ã°ãã¼ãã«ã¡ãã¥ã¼è¨å® 47 $(".global-nav-panel").click(function(){ 48 $("#menu").toggleClass("show-menu"); 49 }); 50 51 $(".global-nav-panel").click(function(){ 52 if($("span",this).hasClass("btn-global-nav icon-gn-menu")){ 53 $("span",this).removeClass("icon-gn-menu").addClass("icon-gn-close"); 54 $("span",this).text("éãã"); 55 } else { 56 $("span",this).removeClass("icon-gn-close").addClass("icon-gn-menu"); 57 $("span",this).text("ã¡ãã¥ã¼"); 58 }; 59 }); 60 61 //ã¯ãªãã¯ã§ããã¹ãã鏿 62 $(".text-field") 63 .focus(function(){ 64 $(this).select(); 65 }) 66 .click(function(){ 67 $(this).select(); 68 return false; 69 }); 70 71 function lpHeader(){ 72 hdrWidth = $(window).width(); 73 hdrHeight = $(window).height(); 74 $('.full-screen,.full-screen .site-header-in,.full-screen .site-header-conts').css({ 75 width: hdrWidth + 'px', 76 height: hdrHeight + 'px', 77 maxHeight: '1500px' 78 }); 79 80 if(window.innerWidth < 678) { 81 h1Size = hdrWidth / 12; 82 fontSize = hdrWidth / 16; 83 $('.full-screen .site-header-conts h1').css('font-size', h1Size + 'px'); 84 $('.full-screen .site-header-conts .lp-catch').css('font-size', fontSize + 'px'); 85 } else { 86 h1Size = hdrHeight / 12; 87 fontSize = hdrHeight / 24; 88 $('.full-screen .site-header-conts h1').css('font-size', h1Size + 'px'); 89 $('.full-screen .site-header-conts .lp-catch').css('font-size', fontSize + 'px'); 90 } 91 } 92 lpHeader(); 93 $(window).resize(function() { 94 lpHeader(); 95 }); 96 97})(jQuery)
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.