1$(function(){ 2 3 // PC/ã¹ããã§è¡¨ç¤ºã®åæ¿ 4 // configChange(); 5 // $(window).resize(function(){ 6 // configChange(); 7 // }); 8 9 10 11 // boxå ¨ä½ãªã³ã¯ 12 $(function(){ 13 $('.boxlink').click(function() { 14 location.href = $(this).find('a').attr('href'); 15 }); 16 }); 17 18 // ã¿ããªã³ã¯ 19 $('#myTab a').click(function (e) { 20 e.preventDefault(); 21 $(this).tab('show'); 22 }) 23 24 25 // ç»åãã¼ã«ãªã¼ãã¼ 26 $("img.rover").each(function() { 27 var off = this.src; 28 var dot = this.src.lastIndexOf('.'); 29 var on = this.src.substr(0, dot) + 30 '_on' + this.src.substr(dot, 4); 31 $(this).hover( 32 function() { this.src = on; }, 33 function() { this.src = off; }); 34 }); 35 36 //ç»åãããã¢ããï¼colorboxï¼ 37 //$('a.colorbox').colorbox({rel:'gal'}); 38 39 // #ã§å§ã¾ãã¢ã³ã«ã¼ãã¯ãªãã¯ããå ´åã®å¦çï¼ãã¼ã¸å ã¹ã¯ãã¼ã«ï¼ 40 $('a[href^=#]').click(function() { 41 // ã¹ã¯ãã¼ã«ã®é度 42 var speed = 400;// ããªç§ 43 // ã¢ã³ã«ã¼ã®å¤åå¾ 44 var href= $(this).attr("href"); 45 // ç§»åå ãåå¾ 46 var target = $(href == "#" || href == "" ? 'html' : href); 47 // ç§»åå ãæ°å¤ã§åå¾ 48 var position = target.offset().top; 49 }); 50 51 // ãããã«æ»ã 52 // hide #gotop first 53 $("#gotop").hide(); 54 // fade in #gotop 55 $(function () { 56 $(window).scroll(function () { 57 if ($(this).scrollTop() > 100) { 58 $('#gotop').fadeIn(); 59 } else { 60 $('#gotop').fadeOut(); 61 } 62 }); 63 // scroll body to 0px on click 64 $('#gotop a').click(function () { 65 $('body,html').animate({scrollTop: 0}, 400,'swing'); 66 return false; 67 }); 68 }); 69 70 $(".hoverlight").on({ 71 "mouseenter":function(){ 72 $(this).fadeTo("fast",.5); 73 }, 74 "mouseleave":function(){ 75 $(this).fadeTo("fast",1); 76 } 77 }); 78 79 80 // cookie fsizeã®èªè¾¼ãã§å¤æ° newSize ã«ä»£å ¥ 81 var newSize = $.cookie("fsize"); 82 if ( newSize == null ){ 83 var nowSize = 14; 84 }else if ( newSize == 14 ){ 85 var nowSize = Number( newSize ); 86 }else if ( newSize == 16 ){ 87 var nowSize = Number( newSize ); 88 // ãã¿ã³Classã夿´ 89 $("#fontM").removeClass("btn-primary"); 90 $("#fontL").addClass("btn-primary"); 91 } 92 $("body").css("font-size", + nowSize + "px"); 93 94 //ãæ¨æºããã¯ãªãã¯ãããæã®å¦ç 95 $("#fontM").on("click",function () { 96 $("body").css("font-size", + 14 + "px"); 97 $.cookie("fsize",14,{expires:7,path:'/'}); //cookieãfsizeãã«14ãã»ãããã¦7æ¥ä¿å 98 // ãã¿ã³Classã夿´ 99 $("#fontL").removeClass("btn-primary"); 100 $("#fontM").addClass("btn-primary"); 101 }); 102 //ã大ããã¯ãªãã¯ãããæã®å¦ç 103 $("#fontL").on("click",function () { 104 $("body").css("font-size", + 16 + "px"); 105 $.cookie("fsize",16,{expires:7,path:'/'}); //cookieãfsizeãã«16ãã»ãããã¦7æ¥ä¿å 106 // ãã¿ã³Classã夿´ 107 $("#fontM").removeClass("btn-primary"); 108 $("#fontL").addClass("btn-primary"); 109 }); 110 111 // $("ul.sub").hide(); 112 $("ul.globalNav li").hover(function(){ 113 $("ul:not(:animated)",this).fadeIn(400); 114 }, 115 function(){ 116 $("ul",this).fadeOut(400); 117 }); 118 119 // ã¹ãã¼ããã©ã³ç¨ãã 120 if($("#sidr").length > 0){ 121 $('#spNavBtn').sidr({ 122 name: 'sidr', 123 side: 'right', 124 source: function() { 125 $('#wrap').on("click",function(){ 126 $.sidr('close', 'sidr'); 127 }); 128 } 129 }); 130 $('#spNavBtn').on("click",function(){ 131 var navIcon = $(this); 132 if ($(navIcon).children("i").hasClass('icon-list')) { 133 $(navIcon).html('éãã'); 134 }else{ 135 $(navIcon).html('<i class="icon-list icon-white"></i> ã¡ãã¥ã¼'); 136 } 137 }); 138 } 139 140 // PC/ã¹ããã§ããã²ã¼ã·ã§ã³ã®æååå² 141 function configChange(){ 142 if ($(window).width() > 767){ 143 $("#sideber").after($("#main")); 144 }else{ 145 $("#main").after($("#sideber")); 146 } 147 } 148 149});
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.