1// JavaScript Document 2 3 4$(document).ready(function() { 5 6// 䏿é¸å® 7 //$('#menu').hide(); 8 $('#menu_M').hide(); 9 /* 10 $('.fw_logo_area_menu').click(function() { 11 $('#menu').slideToggle(300); 12 return false; 13 }); 14 */ 15 $('.fw_logo_mob_menu').click(function() { 16 17 var $M_control=$('#menu_M_control').val(); 18 19 if($M_control==0) 20 { 21 $('.menu_M_png').attr('src','/images/base/menu_Mx.png'); 22 $('#menu_M').fadeIn(); 23 $('#menu_M_list').show(); 24 $('#menu_M_list').delay(100).animate({marginLeft: "0%" }); 25 $('#menu_M_control').val(1); 26 } 27 else 28 { 29 $('.menu_M_png').attr('src','/images/base/menu_M.png'); 30 $('#menu_M_list').animate({marginLeft: "-70%" }); 31 $('#menu_M').delay(100).fadeOut(); 32 $('#menu_M_list').delay(100).fadeOut(); 33 $('#menu_M_control').val(0); 34 } 35 36 }); 37 $('.menu_M_list_x').click(function() { //s20250318追å 38 39 var $M_control=$('#menu_M_control').val(); 40 41 if($M_control==0) 42 { 43 $('.menu_M_png').attr('src','/images/base/menu_Mx.png'); 44 $('#menu_M').fadeIn(); 45 $('#menu_M_list').show(); 46 $('#menu_M_list').delay(100).animate({marginLeft: "0%" }); 47 $('#menu_M_control').val(1); 48 } 49 else 50 { 51 $('.menu_M_png').attr('src','/images/base/menu_M.png'); 52 $('#menu_M_list').animate({marginLeft: "-70%" }); 53 $('#menu_M').delay(100).fadeOut(); 54 $('#menu_M_list').delay(100).fadeOut(); 55 $('#menu_M_control').val(0); 56 } 57 58 }); 59 60 61 62// èªè¨é¸å® 63 $('#lang_menu').hide(); 64 /*$('#fw_logo_area_lang').click(function() { 65 //$('#lang_menu').slideToggle(300); 66 //$( '#lang_menu' ).fadeIn( 500 ); 67 $( '#lang_menu' ).slideToggle( ); 68 return false; 69 });*/ 70 $('.fw_logo_mob_lang').click(function() { 71 //$('#lang_menu').slideToggle(300); 72 //$( '#lang_menu' ).fadeIn( 500 ); 73 $( '#lang_menu' ).slideToggle( ); 74 return false; 75 }); 76 77 $('#flag_det').click(function() { 78 //$('#lang_menu').slideToggle(300); 79 $( '#lang_menu' ).fadeOut( 500 ); 80 return false; 81 }); 82// ç»å ¥é¸å® 83 $('#login_menu').hide(); 84 /*$('#fw_logo_area_login').click(function() { 85 //$('#lang_menu').slideToggle(300); 86 //$( '#lang_menu' ).fadeIn( 500 ); 87 $( '#login_menu' ).slideToggle(); 88 return false; 89 });*/ 90 $('.show_login_area').click(function() { 91 //$('#lang_menu').slideToggle(300); 92 //$( '#lang_menu' ).fadeIn( 500 ); 93 $( '#login_menu' ).slideToggle(); 94 return false; 95 }); 96 $('#login_det').click(function() { 97 //$('#lang_menu').slideToggle(300); 98 $( '#login_menu' ).fadeOut( 500 ); 99 return false; 100 }); 101 102// å享 //s20230203 æ°æ¨£å¼æ²æéå 103/* 104 $('#mobile_sharing_area').hide(); 105 $('#show_sharing_area').click(function() { 106 //$('#lang_menu').slideToggle(300); 107 //$( '#lang_menu' ).fadeIn( 500 ); 108 $( '#mobile_sharing_area' ).css('visibility', 'visible'); 109 $( '#mobile_sharing_area' ).slideToggle( ); 110 return false; 111 }); 112*/ 113 114 // 樣å¼è®å 115 /* 116 $( "#fw_logo_area_menu" ).hover(function() { 117 $( this ).fadeOut( 100 ); 118 $( this ).fadeIn( 500 ); 119 }); 120 */ 121 $( "#fw_logo_area_menu" ).hover(function() { 122 $("#menu_line_1").animate({ width: "35%" }); 123 $("#menu_line_2").animate({ width: "65%" }); 124 $("#menu_line_3").animate({ width: "45%" }); 125 },function() { 126 127 $("#menu_line_1").animate({ width: "80%" }); 128 $("#menu_line_2").animate({ width: "80%" }); 129 $("#menu_line_3").animate({ width: "80%" }); 130 }); 131 132 $( "#fw_logo_area_login" ).hover(function() { 133 $( this ).css({"background-color":"#1d7a47","color":"#cccccc"}); 134 },function() { 135 $( this ).css({"background-color":"","color":""}); 136 });
137 138 $( ".menu_list" ).hover(function() { 139 $( this ).css({"background-color":"#363636"}); 140 },function() { 141 $( this ).css({"background-color":""}); 142 }); 143 $( ".menu_list2" ).hover(function() { 144 $( this ).css({"background-color":"#363636"}); 145 },function() { 146 $( this ).css({"background-color":""}); 147 }); 148 $( ".flag" ).hover(function() { 149 $( this ).css({"background-color":"#acdec3"}); 150 },function() { 151 $( this ).css({"background-color":""}); 152 }); 153 154 $( ".get_more" ).hover(function() { 155 var $get_id=$(this).attr('id'); 156 $("#"+$get_id+" .get_more_btn_long").animate({ width: "35%" }); 157 $("#"+$get_id+" .get_more_btn_short").animate({ width: "75%" }); 158 },function() { 159 var $get_id=$(this).attr('id'); 160 $("#"+$get_id+" .get_more_btn_long").animate({ width: "75%" }); 161 $("#"+$get_id+" .get_more_btn_short").animate({ width: "50%" }); 162 }); 163 164 165 //s20230203 æ°ææ©æ¿æ²ææ¾Aceå°å¹«æ 166 167 168// åå°é é¨ 169 /* 170 $("#gotop").click(function(){ 171 jQuery("html,body").animate({ 172 scrollTop:0 173 },1000); 174 }); 175 */ 176 /* 177 $(window).scroll(function() { 178 179 var $sp=$(this).scrollTop(); 180 181 if ( $sp > 300){ 182 $('#gotop').fadeIn("fast"); 183 } else { 184 $('#gotop').stop().fadeOut("fast"); 185 } 186 187 if ( $sp < 30){ 188 $('#ace').animate({top: "375px"}); 189 } else { 190 $sp=$sp+400; 191 $('#ace').animate({top: $sp+"px"},500); 192 } 193 194 }); 195 */ 196 /* 197 $(window).scroll(function() { 198 clearTimeout($.data(this, 'scrollTimer')); 199 $.data(this, 'scrollTimer', setTimeout(function() { 200 // do something 201 if($(document).height()>=$(window).height()) 202 { 203 _windowHeight=document.body.clientHeight; 204 }else{//alert($(window).height()); 205 _windowHeight=$(document).height(); 206 }; 207 208 var $sp=$(this).scrollTop(); 209 var $sp3=(_windowHeight-110)+$sp; 210 211 if ( $sp > 300){ 212 $('#gotop').fadeIn("fast"); 213 } else { 214 $('#gotop').stop().fadeOut("fast"); 215 } 216 if ( $sp < 30){ 217 $('#ace').animate({top: $sp3+"px"}); 218 //$('#ace2').animate({top: "420px"}); 219 //$('#ace2').animate({top: $sp3+"px"}); 220 } else { 221 $sp=$sp+415; 222 //var $sp2=$sp+420; 223 224 225 $('#ace').animate({top: $sp3+"px"},1000); 226 //$('#ace2').animate({top: $sp2+"px"},1000); 227 //$('#ace2').animate({top: $sp3+"px"},1000); 228 } 229 230 console.log("Haven't scrolled in 250ms!"); 231 }, 250)); 232 }); 233 */ 234 /* 235 $( "#ace3" ).hover(function() { 236 $('#ace3').animate({right:"0px"},1000); 237 $('#ace3_link_1').fadeIn('fast'); 238 $('#ace3_link_2').fadeIn('fast'); 239 $('#ace_toggle').val(1); 240 },function() { 241 $('#ace3_link_1').fadeOut('fast'); 242 $('#ace3_link_2').fadeOut('fast'); 243 $('#ace3').animate({right:"-74px"},1000); 244 $('#ace_toggle').val(0); 245 }); 246 */ 247 /* 248 $( "#ace3" ).click(function() { 249 var ace=$('#ace_toggle').val(); 250 if(ace==1) 251 { 252 $('#ace3_link_1').fadeOut('fast'); 253 $('#ace3_link_2').fadeOut('fast'); 254 $('#ace3').animate({right:"-74px"},1000); 255 $('#ace_toggle').val(0); 256 } 257 else 258 { 259 $('#ace3').animate({right:"0px"},1000); 260 $('#ace3_link_1').fadeIn('fast'); 261 $('#ace3_link_2').fadeIn('fast'); 262 $('#ace_toggle').val(1); 263 } 264 265 }); 266 */ 267 268 269}); 270 271 272 273 274 275 276
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.