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