It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: http://stiga.com.tw

  1. <!DOCTYPE HTML>
  2. <html lang="zh-TW">
  3. <head>
  4. <title>STIGA | 瑞典國際乒乓球台灣代理商</title>
  5. <meta name="title" content="STIGA | 瑞典國際乒乓球台灣代理商">
  6. <meta name="subject" content="STIGA | 瑞典國際乒乓球台灣代理商">
  7. <meta name="description" content="STIGA是一家有著60多年歷史,全球領先的乒乓球用品生產商,在全球範圍內有100多家合作夥伴。 1944年,STIGA在瑞典製造出首支乒乓球拍。在過去半個多世紀來,STIGA底板一直被譽為世界上最好的底板,STIGA的產品得到了廣大乒乓球選手和愛好者的認可,在這期間STIGA在生產工藝以及產品開發上不斷的進行創新,以保持STIGA在乒乓領域的領先地位。">
  8. <meta name="Keywords" content="許昕, 郭躍, 陳思羽, 瑞典第一桌球品牌, 乒乓世界桌球用品, 圍布架, 置球架, 比賽用桌, 三星比賽球, 乒乓, ITTF比賽級網架組, 桌球計分板">
  9. <meta name="author" content="STIGA">
  10. <meta name="referrer" content="no-referrer-when-downgrade">
  11. <meta name="google-site-verification" content="dyJCQWCBJ3wC4T_3HSUPyrZm5GyretUXaq7QvCwKbGU" />
  12.  
  13. <script type="text/javascript">
  14.    (function(c,l,a,r,i,t,y){
  15.        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
  16.        t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
  17.        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
  18.    })(window, document, "clarity", "script", "cf8vtdq0yp");
  19. </script>
  20.  
  21. <meta name="msvalidate.01" content="E8CDAE55DFC27AC0064FF07E587CF6C9" />
  22.  
  23. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  24. <meta http-equiv="content-language" content="zh-TW" />
  25. <meta property="fb:app_id" content="" />
  26. <meta property="og:title" content="STIGA | 瑞典國際乒乓球台灣代理商" />
  27. <meta property="og:description" content="STIGA是一家有著60多年歷史,全球領先的乒乓球用品生產商,在全球範圍內有100多家合作夥伴。 1944年,STIGA在瑞典製造出首支乒乓球拍。在過去半個多世紀來,STIGA底板一直被譽為世界上最好的底板,STIGA的產品得到了廣大乒乓球選手和愛好者的認可,在這期間STIGA在生產工藝以及產品開發上不斷的進行創新,以保持STIGA在乒乓領域的領先地位。" />
  28. <meta property="og:url" content="https://www.stiga.com.tw/index.php?" />
  29. <meta property="og:image" content="https://pic.vcp.tw/upload/stiga/website_info/pic_social_share_1.jpg?1652775361" />
  30. <meta property="og:image:width" content="1200" />
  31. <meta property="og:image:height" content="630" />
  32. <meta property="og:type" content="product" />
  33. <!--<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />-->
  34. <base href="https://www.stiga.com.tw/">
  35. <link rel="image_src" type="image/jpeg" href="https://pic.vcp.tw/upload/stiga/website_info/pic_social_share_1.jpg?1652775361" />
  36. <link rel="shortcut icon" href="https://pic.vcp.tw/upload/stiga/website_info/pic_favicon_1.png?1672402284">
  37.  
  38. <link href="https://cdn.matrixec.com/fs/all/css/default_style_pc.css?1721984767" rel="stylesheet" type="text/css" >
  39.  
  40. <!-- 網站基本css -->
  41. <link id="website_pc_css" href="https://cdn.matrixec.com/fs/all/css/ap_pc.css?1721984767" rel="stylesheet" type="text/css" >
  42.  
  43. <!-- master menu -->
  44. <link href="https://cdn.matrixec.com/fs/all/css/master_menu.css?1721984767" rel="stylesheet" type="text/css">
  45. <!-- 動態內容模組css -->
  46. <link id="dynamic_pc_css" href="https://cdn.matrixec.com/fs/all/css/content_module.css?1721984767" rel="stylesheet" type="text/css" >
  47. <link rel="stylesheet" type="text/css" href="https://www.stiga.com.tw/fs/stiga/define_script/design_setting.css?1722046188">
  48.  
  49. <!-- 後台css -->
  50. <link href="https://www.stiga.com.tw/fs/stiga/define_script/style_1_ec.css?1672365709" rel="stylesheet" type="text/css" />
  51.  
  52.  
  53. <!-- 強制css -->
  54. <link href="https://cdn.matrixec.com/fs/all/css/init_constraint.css?1721984767" rel="stylesheet" >
  55.  
  56.    <!-- fontawesome 6.0 -->
  57.    <link href="https://cdn.matrixec.com/js/fontawesome_free_6.2.0/css/all.css" rel="stylesheet">
  58. <link rel="stylesheet" href="https://cdn.matrixec.com/js/jquery-ui_1.12.1.css">
  59. <link rel="stylesheet" href="https://cdn.matrixec.com/js/jquery.bxslider_4.2.12.min.css" type="text/css" />
  60. <link rel="stylesheet" href="https://cdn.matrixec.com/js/carousel.css" type="text/css" />
  61.    <link rel="stylesheet" href="https://cdn.matrixec.com/js/sortable.min.css" type="text/css" />
  62. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick.css?1721984767">
  63. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick-theme.css?1721984767">
  64.    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.css"/>
  65. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" />
  66. <link rel="stylesheet" href="https://cdn.matrixec.com/fs/all/sweetalert2/sweetalert2.min.css" >
  67. <script language="javascript" src="https://cdn.matrixec.com/js/jquery_1.12.4.min.js"></script>
  68. <script language="javascript" src="https://cdn.matrixec.com/js/jquery.lazyload_1.9.1.min.js"></script>
  69. <script language="javascript" src="https://cdn.matrixec.com/js/placeholders_3.0.2.min.js" async></script>
  70. <script language="javascript" src="https://cdn.matrixec.com/js/skrollr_0.6.30.min.js" async></script>
  71. <script language="javascript" src="https://cdn.matrixec.com/js/carousel.js?1722046187" async></script>
  72. <script language="javascript" src="https://cdn.matrixec.com/js/jquery.bxslider_4.2.12.min.js"></script>
  73. <script language="javascript" src="https://cdn.matrixec.com/js/jquery.cookie_1.4.1.min.js" async></script>
  74. <script src="https://cdn.matrixec.com/js/jquery-ui_1.12.1.min.js"></script>
  75.  
  76. <!-- 輪播 -->
  77. <script src="https://cdn.matrixec.com/fs/all/slick-1.8.1/slick.js"></script>
  78.  
  79. <!-- 複製 -->
  80. <script src="https://cdn.matrixec.com/js/clipboard.min.js"></script>
  81.  
  82. <!-- 拖曳 -->
  83.    <script src="https://cdn.matrixec.com/js/sortable.min.js"></script>
  84.  
  85.    <!-- 瀑布流插件 -->
  86.    <script src="https://cdn.matrixec.com/js/Masonry_v4.2.2.js"></script>
  87.  
  88. <!-- 圖片懶載入 -->
  89.    <script src="https://cdn.matrixec.com/js/imagesloaded_v5.0.0.js"></script>
  90.  
  91. <!-- 燈箱 -->
  92.    <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script>  
  93.  
  94. <!-- 複製按鈕插件 -->
  95. <script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.10/dist/clipboard.min.js"></script>
  96.  
  97. <!-- sweetalert2 -->
  98. <script language="javascript" src="https://cdn.matrixec.com/js/sweetalert2/sweetalert2.all.min.js"></script>
  99.  
  100.  
  101.  
  102. <script language="javascript">
  103. //網站初始全域js資料
  104. var website_init =
  105. {
  106. "website_title" : "STIGA | 瑞典國際乒乓球台灣代理商",
  107. "member_ID_type" : 3 }
  108. //console.log(website_init);
  109.  
  110. var cursorX;
  111. var cursorY;
  112.  
  113. </script>
  114.  
  115. <script language="javascript" src="https://cdn.matrixec.com/js/default.js?1722046187"></script>
  116. <script language="javascript" src="https://cdn.matrixec.com/js/header.js?1722046187"></script>
  117.  
  118. <script type="text/javascript">
  119. function product_detail_to_setting_shopping_car(sel_product_sn,sel_mode_type){
  120.  
  121. let alert_buy_notice_message ='';
  122. var get_standard_sn = "";
  123. var sel_standard_order_amount = "";
  124.  
  125. // 主商品
  126.  
  127. var standard_item = document.getElementsByName("addtocart_"+sel_product_sn+"_standard_info");
  128.  
  129. show_layer_loading();
  130.  
  131. if(standard_item.length > 1){
  132. for(i=0;i<standard_item.length;i++){
  133. if(standard_item[i].checked){
  134. get_standard_sn = standard_item[i].value;
  135. }
  136. }
  137. }else{
  138. get_standard_sn = standard_item[0].value;
  139. }
  140.  
  141. var get_standard_sn_array = get_standard_sn.split("@#@");
  142.  
  143. var cart_product_sn = parseInt(get_standard_sn_array[0]);
  144.  
  145. var cart_standard_sn = parseInt(get_standard_sn_array[1]);
  146.  
  147. // 加購
  148.  
  149. var plus_array = new Array();
  150. //var sel_plus_standard_sn_list = new Array();
  151.  
  152. var plus_item = document.getElementsByName("addtocart_"+sel_product_sn+"_plus_info");
  153. var plus_item_2 = document.getElementsByName("addtocart_"+sel_product_sn+"_plus_2_info");
  154. var plus_item_3 = $("[name='addtocart_"+sel_product_sn+"_plus_3_info']");
  155.  
  156. /*
  157. if(plus_item.length > 1){
  158. for(i=0;i<plus_item.length;i++){
  159. if(plus_item[i].checked){
  160. plus_array.push(plus_item[i].value);
  161. }
  162. }
  163. }else if(plus_item.length == 1){
  164. if(plus_item[0].checked){
  165. plus_array.push(plus_item[0].value);
  166. }
  167. }
  168. */
  169. if(plus_item.length > 0){
  170.  
  171. if(plus_item.length > 1){
  172. for(i=0;i<plus_item.length;i++){
  173. if(plus_item[i].checked){
  174. plus_array.push(plus_item[i].value);
  175. id = plus_item[i].getAttribute('id');
  176. let product_name = $('#'+id).parent().parent().find('label').text();
  177. let buy_notice = plus_item[i].getAttribute('buy_notice');
  178. if(buy_notice){
  179. buy_notice = plus_item[i].getAttribute('buy_notice');
  180. alert_buy_notice_message +='【'+product_name+'】 : ' + buy_notice +"\n";
  181. }
  182. }
  183. }
  184. }else if(plus_item.length == 1){
  185. if(plus_item[0].checked){
  186. plus_array.push(plus_item[0].value);
  187. id = plus_item[0].getAttribute('id');
  188. let product_name = $('#'+id).parent().parent().find('label').text();
  189. let buy_notice = plus_item[0].getAttribute('buy_notice');
  190. if(buy_notice){
  191. buy_notice = plus_item[0].getAttribute('buy_notice');
  192. alert_buy_notice_message +='【'+product_name+'】 : ' + buy_notice +"\n";
  193. }
  194. }
  195. }
  196.  
  197. }else if(plus_item_2.length > 0){
  198.  
  199. for(i=0;i<plus_item_2.length;i++){
  200. if(plus_item_2[i].value!=""){
  201. plus_array.push(plus_item_2[i].value);
  202. }
  203. }
  204. }
  205. if(plus_item_3.length >0){
  206. plus_item_3.each(function(){
  207. if($(this).prop("selected",true)){
  208. plus_array.push($(this).val());
  209. let buy_notice  = $('option:selected', this).attr('buy_notice');
  210. let product_name =$(this).parent().parent().find('label').text();
  211. if(buy_notice){
  212. alert_buy_notice_message +='【'+product_name+'】 : ' + buy_notice +"\n";
  213. }
  214. }
  215. })
  216.  
  217. }
  218. if(alert_buy_notice_message!=''){
  219. alert(alert_buy_notice_message)
  220. }
  221.  
  222. /*
  223. console.log("plus_array : "+plus_array);
  224. console.log("sel_plus_standard_sn_list : "+sel_plus_standard_sn_list);
  225. */
  226.  
  227. var sel_plus_standard_sn_list = plus_array.join(",");
  228.  
  229. // 數量
  230.  
  231. sel_standard_order_amount = parseInt(document.getElementsByName("product_"+sel_product_sn+"_standard_order_amount")[0].value);
  232.  
  233. if(cart_product_sn > 0 && cart_standard_sn > 0 && sel_standard_order_amount > 0){
  234.  
  235. var this_standard_json_obj = JSON.parse(document.getElementsByName("standard_sn_"+cart_standard_sn+"_info")[0].value);
  236.  
  237.  
  238. xmlhttp=createXMLHttp();
  239.  
  240. if(xmlhttp){
  241. xmlhttp.onreadystatechange=function(){
  242. if(xmlhttp.readyState==4 && xmlhttp.status==200){
  243.  
  244. var response_array = xmlhttp.responseText.split("@#@");
  245.  
  246. console.log("responseText : "+xmlhttp.responseText);
  247. console.log("response_array : "+response_array);
  248.  
  249. close_layer_loading();
  250. close_layer_msg();
  251.  
  252. if(response_array[0]=="100"){
  253.  
  254. var fb_add_to_car_pixel = response_array["2"];
  255.  
  256. if(response_array[1]!="OK"){
  257. show_layer_alert(response_array[1]);
  258. // show_layer_alert(check_info,"to_location_reload");
  259. // return false;
  260.  
  261. }
  262. if(window.location.href.search("flash_cart")!="-1"){
  263. console.log("ininin");
  264. document.getElementById("id_flash_cart_next_button").style.display = "";
  265.  
  266. //document.getElementById("id_shopping_car_page").style.display = "none";
  267.  
  268. if(document.getElementById("id_cart_fixed_right_top")){
  269.  
  270. to_show_top_shopping_car('5');
  271.  
  272. }else{
  273.  
  274. show_layer_alert("已成功加入購物車");
  275. }
  276.  
  277. }else if(window.location.href.search("product_cart")!="-1"){
  278.  
  279. /*
  280. to_ajax_get_shopping_car_list();
  281.  
  282. ga_track_event("url","add_to_cart",sel_product_sn);
  283.  
  284. document.getElementById("id_shopping_car_page").style.display = "";
  285.  
  286. $("html,body").animate({scrollTop: $("#id_shopping_car_page").offset().top - 50}, 1000);
  287. */
  288.  
  289. document.getElementById("id_flash_cart_next_button").style.display = "";
  290. document.getElementById("id_shopping_car_page").style.display = "none";
  291.  
  292. $("html,body").animate({scrollTop: $("#id_flash_cart_next_button").offset().top - 50}, 1000);
  293.  
  294.  
  295. }else{
  296. to_show_top_shopping_car('2');
  297.  
  298. ga_track_event("url","event_add_to_cart",cart_product_sn);
  299.  
  300. if(document.getElementById("id_mashup_price_bag")){
  301.  
  302. eval(document.getElementById("id_mashup_price_bag").getAttribute('onclick'));
  303. }
  304.  
  305. if(this_standard_json_obj.alert_buy_notice=="1"){
  306.  
  307. // 同品項顯示過一次,就不再顯示,記錄在cookie上
  308.  
  309. /*
  310. var show_is_buy_notice_list = $.cookie("show_is_buy_notice_list");
  311.  
  312. if(!show_is_buy_notice_list){
  313.  
  314. var show_is_buy_notice_array = [];
  315.  
  316. }else{
  317.  
  318. var show_is_buy_notice_array = show_is_buy_notice_list.split(',');
  319.  
  320. }
  321. */
  322.  
  323. var show_is_buy_notice_array = [];
  324.  
  325. eval("var check_show_status = show_is_buy_notice_array.indexOf('"+cart_product_sn+"')");
  326.  
  327. if(this_standard_json_obj.buy_notice!="" && check_show_status == "-1"){
  328.  
  329. window.setTimeout(function(){show_layer_alert(this_standard_json_obj.buy_notice)},1000);
  330.  
  331. show_is_buy_notice_array.push(cart_product_sn);
  332.  
  333. var new_show_is_buy_notice_list = show_is_buy_notice_array.join(",");
  334.  
  335. // $.cookie("show_is_buy_notice_list",new_show_is_buy_notice_list);
  336. }
  337. }
  338. }
  339.  
  340. }else if(response_array[0]=="99"){
  341. if(confirm(response_array[1])){
  342.  
  343. to_booking_product(cart_product_sn,cart_standard_sn,sel_standard_order_amount);
  344.  
  345. ga_track_event("url","add_to_booking",cart_product_sn);
  346.  
  347. //line tag
  348. _lt('send', 'cv', {
  349. type: 'AddToWishlist'
  350. },['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);
  351. }
  352.  
  353. }else if(response_array[0]=="98"){
  354.  
  355. if(confirm(response_array[1])){
  356.  
  357. to_show_member_login_layer();
  358. }
  359. }else if(response_array[0] == "97"){
  360.  
  361. var client_device_type = '1';
  362.  
  363. if(client_device_type == "1"){
  364. Swal.fire(response_array[2]);
  365. }else if(client_device_type == "2"){
  366. window.location.href=response_array[1];
  367. }
  368.  
  369. }else{
  370.  
  371. show_layer_alert(response_array[1]);
  372. }
  373.  
  374. //add_to_car tracking code
  375.  
  376. xhr=createXMLHttp();
  377.  
  378. if(xhr){
  379. xhr.onreadystatechange=function(){
  380. if(xhr.readyState==4 && xhr.status==200){
  381.  
  382. var responseJson = JSON.parse(xhr.responseText);
  383.  
  384. var headData = (responseJson["head"] || "" ) + fb_add_to_car_pixel,
  385. head = (document.getElementsByTagName("head")[0] || document.documentElement),
  386. headScript = document.createElement("script");
  387.  
  388. headScript.type = "text/javascript";
  389. try {
  390. // doesn't work on ie...
  391. headScript.appendChild(document.createTextNode(headData));
  392. } catch(e) {
  393. // IE has funky script nodes
  394. headScript.text = headData;
  395. }
  396.  
  397. head.insertBefore(headScript, head.firstChild);
  398. head.removeChild(headScript);
  399.  
  400. var bodyData = (responseJson["body"] || "" ),
  401. body = (document.getElementsByTagName("body")[0] || document.documentElement),
  402. bodyScript = document.createElement("script");
  403.  
  404. bodyScript.type = "text/javascript";
  405. try {
  406. // doesn't work on ie...
  407. bodyScript.appendChild(document.createTextNode(bodyData));
  408. } catch(e) {
  409. // IE has funky script nodes
  410. bodyScript.text = bodyData;
  411. }
  412.  
  413. body.insertBefore(bodyScript, body.lastChild.nextSibling);
  414. body.removeChild(bodyScript);
  415.  
  416. }
  417. };
  418. var ajax_url = "ajax_shopping_car_addtocart.php?time="+ new Date().getTime();
  419. xhr.open("Get",ajax_url,true);
  420. xhr.send(null);
  421. }
  422. //add_to_car tracking code END
  423. }
  424. };
  425. var ajax_url = "ajax_shopping_car_kernel_api?mode_type="+sel_mode_type+"&product_sn="+cart_product_sn+"&standard_sn="+cart_standard_sn+"&plus_standard_sn_list="+sel_plus_standard_sn_list+"&order_amount="+sel_standard_order_amount+"&time="+ new Date().getTime();
  426. xmlhttp.open("Get",ajax_url,true);
  427. xmlhttp.send(null);
  428. }
  429.  
  430. }else{
  431.  
  432. alert("請先選擇您要購買的規格喔 ! ");
  433.  
  434. close_layer_loading();
  435.  
  436. }
  437.  
  438.  
  439. }
  440.  
  441. function to_product_search(){
  442. with(document.top_product_search){
  443.  
  444. var this_product_keyword = document.getElementsByName("product_keyword")[0].value;
  445.  
  446. if(this_product_keyword.length > 50){
  447. show_layer_alert("請勿輸入超過30個關鍵字!"); //請勿輸入超過30個關鍵字!
  448. }else if(this_product_keyword!=""){
  449. show_layer_loading();to_get_product_search_keyword_relation
  450. submit();
  451. }else{
  452. show_layer_alert("請輸入關鍵字");
  453. return false;
  454. }
  455. }
  456. }
  457.  
  458. function to_product_search_autocomplete(){
  459. // with(document.top_product_search){
  460. var this_product_keyword = $("[name='product_keyword']").val();
  461. if(this_product_keyword.length >0){
  462. $("[name='product_keyword']").autocomplete({
  463. source:function(request,response){
  464. $.ajax({
  465. url: "./ajax_product_module_api.php?module_type=product_search_keyword_autocomplete&time=" + new Date().getTime(),
  466. dataType:'json',
  467. data:{
  468. search_keyword:this_product_keyword
  469. },
  470. success: function (res) {
  471. // console.log(res.tags.length);
  472. $("[name='tags_type']").val('0');
  473. if(res.tags.length>0){
  474. response($.map(res.tags, function (item) {
  475. return {
  476. label: item.label,
  477. value: item.label,
  478. tag_sn:item.tag_sn,
  479. tags_type:res.tags_type
  480. }
  481. })
  482. )
  483. }
  484. }
  485. })
  486. },
  487. minLength: 1,
  488. delay: 200,
  489. select: function (event, ui) {
  490. // console.log(ui);
  491. // console.log(ui.item.value);
  492. // console.log('ui.item.tags_type='+ui.item.tags_type);
  493. // console.log('ui.item.tag_sn='+ui.item.tag_sn);
  494. $("[name='tags_type']").val(ui.item.tags_type);
  495. $("[name='tag_sn']").val(ui.item.tag_sn);
  496. to_get_product_search_keyword_relation(ui.item)
  497. }
  498. });
  499. }
  500.  
  501. // }
  502. }
  503.  
  504. function to_shopping_car(){
  505.  
  506. if(window.location.href.search("product_cart")!="-1"){
  507.  
  508. top.location.href=window.location.href+"&is_reload=1";
  509.  
  510. }else if(window.location.href.search("flash_cart")!="-1"){
  511.  
  512. top.location.href=window.location.href+"&is_reload=1";
  513.  
  514. }else if(document.getElementById("id_top_shopping_car_amount")){
  515.  
  516. if(document.getElementById("id_top_shopping_car_amount").innerHTML > 0){
  517.  
  518. top.location.href='shopping_car.php';
  519.  
  520. }else{
  521.  
  522. windowReload();
  523. //show_layer_alert("購物車尚無商品", "windowReload");
  524. }
  525.  
  526. }else{
  527.  
  528. top.location.reload();
  529. }
  530. }
  531.  
  532. function windowReload(){
  533.  
  534. window.location.reload();
  535.  
  536. }
  537.  
  538. function location_to_member_info(){
  539.  
  540. var web_host_url = 'https://www.stiga.com.tw';
  541. window.location = web_host_url+'/member_info.php';
  542. }
  543.  
  544. function lineshopping_redirect(){
  545.  
  546. var lineshopping_redirect_url = '';
  547.  
  548. window.location = lineshopping_redirect_url;
  549.  
  550. }
  551.  
  552. function to_check_mcard_login(){
  553.  
  554. var mcard_no = $.trim($("input[name=mcard_no]").val())
  555. var mcard_auth = $.trim($("input[name=mcard_auth]").val())
  556. var mcard_otp = $.trim($("input[name=mcard_otp]").val())
  557.  
  558. console.log('mcard_auth', mcard_auth);
  559. $("input[name=mcard_no],input[name=mcard_auth],input[name=mcard_otp]").css("border-color","");
  560. if(mcard_no==""){
  561.  
  562. $(".login_error_msg").html("請填寫會員卡號");
  563. $("input[name=mcard_no]").css("border-color","#f7b3b3");
  564. }else if(mcard_auth==""){
  565.  
  566. $(".login_error_msg").html("請填寫檢查碼")
  567. $("input[name=mcard_auth]").css("border-color","#f7b3b3");
  568. }else if(mcard_otp==""){
  569.  
  570. $(".login_error_msg").html("請填寫驗證圖碼")
  571. $("input[name=mcard_otp]").css("border-color","#f7b3b3");
  572. }else{
  573.  
  574. toggle_loading(".guest_order_submit");
  575.  
  576. if(true){
  577.  
  578. $.ajax({
  579. type: 'POST',
  580. url: 'ajax_member_module_api.php',
  581. cache: false,
  582. data: {
  583. module_type: 'login_mcard',
  584. mcard_no: mcard_no,
  585. mcard_auth: mcard_auth,
  586. mcard_otp: mcard_otp
  587. },
  588. success: function(res) {
  589.  
  590. var response_array = res.split("@#@");
  591.  
  592. if($.trim(response_array[0]) == "100"){
  593.  
  594. $(".login_error_msg").html();
  595.  
  596. close_layer_msg();
  597.  
  598. if(response_array[1] == 'member_info'){
  599. to_show_layer_member_info_notice();
  600.  
  601. }else if(response_array[1] == 'show_einvoice_data'){
  602.  
  603. window.location.href="ajax_show_einvoice_data.php";
  604.  
  605. }else{
  606. window.location.reload();
  607. }
  608.  
  609. }else{
  610.  
  611. if($.trim(response_array[0]) != "2"){
  612. $("input[name=mcard_auth]").css("border-color","#f7b3b3");
  613. $("input[name=mcard_no]").css("border-color","#f7b3b3");
  614. }
  615. $("input[name=mcard_otp]").val('');
  616. $(".login_error_msg").html(response_array[1]);
  617. toggle_loading(".guest_order_submit");
  618. }
  619. },
  620. error: function(err){
  621. console.log(err)
  622. },
  623. complete: function(){
  624.  
  625. $(".uid_check_code_btn").removeClass("is_loading");
  626.  
  627. $("select[name=mobile_country_code], input[name=mobile]").attr('disabled', false)
  628.  
  629. }
  630. });
  631.  
  632. }else{
  633. xmlhttp_mcard_login = createXMLHttp();
  634.  
  635. if(xmlhttp_mcard_login){
  636.  
  637. xmlhttp_mcard_login.onreadystatechange=function(){
  638.  
  639. if(xmlhttp_mcard_login.readyState==4 && xmlhttp_mcard_login.status==200){
  640.  
  641. var response_array = xmlhttp_mcard_login.responseText.split("@#@");
  642.  
  643. if($.trim(response_array[0]) == "100"){
  644.  
  645. $(".login_error_msg").html();
  646.  
  647. close_layer_msg();
  648.  
  649. if(response_array[1] == 'member_info'){
  650. to_show_layer_member_info_notice();
  651.  
  652. }else if(response_array[1] == 'show_einvoice_data'){
  653.  
  654. window.location.href="ajax_show_einvoice_data.php";
  655.  
  656. }else{
  657. window.location.reload();
  658. }
  659.  
  660. }else{
  661.  
  662. if($.trim(response_array[0]) != "2"){
  663. $("input[name=mcard_auth]").css("border-color","#f7b3b3");
  664. $("input[name=mcard_no]").css("border-color","#f7b3b3");
  665. }
  666. $("input[name=mcard_otp]").val('');
  667. $(".login_error_msg").html(response_array[1]);
  668. toggle_loading(".guest_order_submit");
  669. }
  670. }
  671. };
  672. var ajax_url = encodeURI("ajax_member_module_api.php?module_type=login_mcard&mcard_no="+mcard_no+"&mcard_auth="+mcard_auth+"&mcard_otp="+mcard_otp+"&time="+ new Date().getTime());
  673.  
  674. xmlhttp_mcard_login.open("post", ajax_url, true);
  675. xmlhttp_mcard_login.send(null);
  676. }
  677. }
  678. }
  679. }
  680.  
  681. function to_check_member_login(next_mode){
  682. var user_id = document.getElementsByName("user_id")[0].value;
  683. var user_pwd = document.getElementsByName("user_pwd")[0].value;
  684. var check_key = document.getElementsByName("check_key")[0].value;
  685.  
  686.  
  687. if(user_id==""){
  688.  
  689. show_layer_alert("請填寫會員帳號");
  690.  
  691. }else if(user_pwd==""){
  692.  
  693. show_layer_alert("請填寫登入密碼");
  694.  
  695. }else if(check_key==""){
  696.  
  697. show_layer_alert("請填寫驗證圖碼");
  698.  
  699. }else{
  700.  
  701. xmlhttp_member_login = createXMLHttp();
  702.  
  703. if(xmlhttp_member_login){
  704.  
  705. xmlhttp_member_login.onreadystatechange=function(){
  706.  
  707. if(xmlhttp_member_login.readyState==4 && xmlhttp_member_login.status==200){
  708.  
  709. var response_array = xmlhttp_member_login.responseText.split("@#@");
  710. var x = response_array.toString();
  711.  
  712. if($.trim(response_array[0]) == "100"){
  713.  
  714. close_layer_msg();
  715.  
  716. if(window.location.href.search("product_cart")!="-1"){
  717.  
  718. window.location.href=window.location.href+"&is_reload=1";
  719.  
  720. }else if(window.location.href.search("flash_cart")!="-1"){
  721.  
  722. window.location.href=window.location.href+"&is_reload=1";
  723.  
  724. }else if(next_mode=="to_shopping_car"){
  725.  
  726. to_shopping_car();
  727.  
  728. }else if(next_mode=="at_shopping_car"){
  729.  
  730. show_layer_alert($.trim(response_array[1]),"to_shopping_car");
  731.  
  732. }else if(next_mode=="to_receive_coupon"){
  733.  
  734. to_receive_coupon();
  735.  
  736. }else{
  737.  
  738. if(response_array[1] != ''){
  739.  
  740. if(response_array[1] == 'member_info'){
  741. to_show_layer_member_info_notice();
  742.  
  743. }else if(response_array[1] == 'show_einvoice_data'){
  744.  
  745. window.location.href="ajax_show_einvoice_data.php";
  746.  
  747. }else{
  748. window.location.reload();
  749. }
  750.  
  751. }else{
  752.  
  753. window.location.reload();
  754. }
  755. }
  756.  
  757. }else{
  758.  
  759. if(response_array[0] == "3"){
  760.  
  761. to_show_member_login_layer(next_mode);
  762.  
  763. show_layer_alert(response_array[1]);
  764.  
  765. }else if(response_array[0] == "5"){
  766.  
  767. if(confirm(response_array[1])){
  768.  
  769. window.location.href="member_register.php";
  770. }
  771.  
  772. }else if(response_array[0] == "101"){
  773.  
  774. if(confirm(response_array[1])){
  775.  
  776. document.getElementsByName("user_pwd")[0].value = "";
  777. document.getElementsByName("new_pwd_check_mobile")[0].value = user_id;
  778.  
  779. to_send_sms_new_pwd();
  780.  
  781. }
  782.  
  783. }else{
  784.  
  785. show_layer_alert(response_array[1]);
  786. }
  787.  
  788.  
  789. }
  790. }
  791. };
  792. var ajax_url = encodeURI("ajax_member_module_api.php?module_type=login_normal&user_id="+user_id+"&user_pwd="+user_pwd+"&check_key="+check_key+"&next_mode="+next_mode+"&time="+ new Date().getTime());
  793.  
  794. xmlhttp_member_login.open("Get",ajax_url,true);
  795. xmlhttp_member_login.send(null);
  796. }
  797. }
  798. }
  799.  
  800. function to_send_sms_new_pwd(){
  801.  
  802. var check_mobile = "";
  803.  
  804. check_mobile = document.getElementsByName("new_pwd_check_mobile")[0].value;
  805.  
  806. if(check_mobile==""){
  807.  
  808. show_layer_alert("請輸入手機號碼 !");
  809.  
  810. }else if(!isNum(check_mobile)){
  811.  
  812. show_layer_alert("很抱歉,手機須為 0 - 9 的純數字 !");
  813.  
  814. }else if(check_mobile.length < 10){
  815.  
  816. show_layer_alert("很抱歉,手機格式有誤,請再次確認 !");
  817.  
  818. }else{
  819.  
  820. if(confirm("若手機有設拒收廣告信,要先行取消設定,才能收到此簡訊!")){
  821.  
  822. document.getElementById("id_send_sms_new_pwd").innerHTML = "發送中...";
  823.  
  824. xmlhttp_pwd = createXMLHttp();
  825. if(xmlhttp_pwd){
  826. xmlhttp_pwd.onreadystatechange=function(){
  827. if(xmlhttp_pwd.readyState==4 && xmlhttp_pwd.status==200){
  828.  
  829. var msg_array = xmlhttp_pwd.responseText.split("@#@");
  830.  
  831. document.getElementById("id_send_sms_new_pwd").innerHTML = msg_array[1];
  832.  
  833. }
  834. };
  835. var open_url=encodeURI("ajax_member_module_api.php?module_type=send_sms_new_pwd&check_mobile="+check_mobile+"&s="+ new Date().getTime());
  836. xmlhttp_pwd.open("Get",open_url,true);
  837. xmlhttp_pwd.send(null);
  838.  
  839. }
  840. }
  841. }
  842.  
  843. }
  844.  
  845. function to_send_email_verify(){
  846.  
  847. var new_email = document.getElementById("id_member_email").value;
  848.  
  849. if(new_email==""){
  850. show_layer_alert("請輸入聯絡信箱");
  851. }else if(!check_email(new_email)){
  852. show_layer_alert("聯絡信箱格式不正確");
  853. }else{
  854.  
  855. show_layer_alert("已重發通知信件,此信將於 1 分鐘內送達,感謝您耐心等候。");
  856.  
  857. to_show_email_verify(new_email);
  858.  
  859. }
  860.  
  861. }
  862.  
  863. function to_check_email_verify(){
  864.  
  865. var email_verify_code = document.getElementById("id_member_email_verify_code").value;
  866.  
  867. if(email_verify_code==""){
  868. show_layer_alert("請輸入認證序號");
  869. }else{
  870. xmlhttp_email_code = createXMLHttp();
  871. if(xmlhttp_email_code){
  872. xmlhttp_email_code.onreadystatechange=function(){
  873. if(xmlhttp_email_code.readyState==4 && xmlhttp_email_code.status==200){
  874.  
  875. var info = xmlhttp_email_code.responseText.split("@#@");
  876.  
  877. show_layer_alert(info[1]);
  878.  
  879. if(info[0]=="100"){
  880. close_layer_msg();
  881. }
  882.  
  883. }
  884. };
  885. var open_url=encodeURI("ajax_member_module_api.php?module_type=email_verify_check&email_verify_code="+email_verify_code+"&s="+ new Date().getTime());
  886. xmlhttp_email_code.open("Get",open_url,true);
  887. xmlhttp_email_code.send(null);
  888. }
  889. }
  890. }
  891.  
  892. function to_send_social_user_sms(){
  893.  
  894. var mobile_country_code = document.getElementsByName("mobile_country_code")[0].value ;
  895.  
  896. var new_uid = document.getElementsByName("new_uid")[0].value ;
  897.  
  898. var birthday_y = document.getElementsByName("birthday_y")[0].value ;
  899. var birthday_m = document.getElementsByName("birthday_m")[0].value ;
  900.  
  901.  
  902. if(!isNum(birthday_y) || birthday_y.length != 4){
  903.  
  904. show_layer_alert("※ 抱歉 , 生日年份錯誤");
  905.  
  906. }else if(birthday_y=="" || birthday_m==""){
  907.  
  908. show_layer_alert("※ 請設定生日日期");
  909.  
  910. }else if(mobile_country_code==""){
  911.  
  912. show_layer_alert("※ 請選擇手機國際碼");
  913.  
  914. }else if(new_uid==""){
  915.  
  916. show_layer_alert("請輸入手機號碼 !");
  917.  
  918. }else if(!check_country_mobile(mobile_country_code,new_uid)){
  919.  
  920. show_layer_alert("※ 手機號碼長度不正確");
  921.  
  922. }else if(!isNum(new_uid)){
  923.  
  924. show_layer_alert("※ 手機號碼須為純數字");
  925.  
  926.  
  927. }else{
  928.  
  929. if(confirm("若手機有設拒收廣告信,要先行取消設定,才能收到此簡訊!")){
  930.  
  931. document.getElementById("id_social_user_sms").innerHTML = "發送中...";
  932.  
  933. xmlhttp_uid_code = createXMLHttp();
  934.  
  935. if(xmlhttp_uid_code){
  936.  
  937. xmlhttp_uid_code.onreadystatechange=function(){
  938.  
  939. if(xmlhttp_uid_code.readyState==4 && xmlhttp_uid_code.status==200){
  940.  
  941. var response_array = xmlhttp_uid_code.responseText.split("@#@");
  942.  
  943.  
  944. if(response_array[0]=="100"){
  945.  
  946. document.getElementById("id_social_user_sms").innerHTML = response_array[1];
  947.  
  948. }else{
  949.  
  950. document.getElementById("id_social_user_sms").innerHTML = "";
  951.  
  952. document.getElementById("id_social_user_verify").innerHTML = response_array[1];
  953.  
  954. }
  955.  
  956. document.getElementById("id_social_user_verify").style.display = "";
  957. }
  958. }
  959. }
  960.  
  961. var ajax_url = encodeURI("ajax_member_module_api.php?module_type=send_new_social_user_mobile_confirm_code&social_user_mobile="+new_uid+"&mobile_country_code="+mobile_country_code+"&s="+ new Date().getTime());
  962. xmlhttp_uid_code.open("Get",ajax_url,true);
  963. xmlhttp_uid_code.send(null);
  964. }
  965. }
  966. }
  967.  
  968. function to_verify_social_user_sms(){
  969.  
  970. var birthday_y = document.getElementsByName("birthday_y")[0].value ;
  971. var birthday_m = document.getElementsByName("birthday_m")[0].value ;
  972.  
  973. var uid_confirm_code = document.getElementsByName("uid_confirm_code")[0].value;
  974.  
  975. if(!isNum(birthday_y) || birthday_y.length != 4){
  976.  
  977. show_layer_alert("※ 抱歉 , 生日年份錯誤");
  978.  
  979. }else if(birthday_y=="" || birthday_m==""){
  980.  
  981. show_layer_alert("※ 請設定生日日期");
  982.  
  983. }else if(!isNum(uid_confirm_code)){
  984.  
  985. show_layer_alert("※ 手機號碼須為純數字");
  986.  
  987. document.getElementsByName("uid_confirm_code")[0].value="";
  988.  
  989. }else if(uid_confirm_code.length != 4){
  990.  
  991. show_layer_alert("※ 手機簡訊驗證碼為四碼 !");
  992.  
  993. document.getElementsByName("uid_confirm_code")[0].value="";
  994.  
  995. }else{
  996.  
  997. toggle_loading('.with_loading');
  998. var this_birthday = birthday_y+"-"+birthday_m;
  999.  
  1000. xmlhttp_mobile = createXMLHttp();
  1001. if(xmlhttp_mobile){
  1002. xmlhttp_mobile.onreadystatechange=function(){
  1003. if(xmlhttp_mobile.readyState==4 && xmlhttp_mobile.status==200){
  1004.  
  1005. var msg_array = xmlhttp_mobile.responseText.split("@#@");
  1006. if(msg_array[0]=="100"){
  1007.  
  1008. if(msg_array[2] == "show_member_info_notice"){
  1009. show_layer_alert(msg_array[1],"to_location_reload_member_info()");
  1010.  
  1011. }else{
  1012.  
  1013. show_layer_alert(msg_array[1],"to_location_reload()");
  1014. }
  1015.  
  1016. }else{
  1017. show_layer_alert("※ "+msg_array[1]);
  1018. }
  1019. }
  1020. };
  1021. var open_url=encodeURI("ajax_member_module_api.php?module_type=verify_new_social_user_mobile_confirm_code&mobile_confirm_code="+uid_confirm_code+"&user_birthday="+this_birthday+"&time="+ new Date().getTime());
  1022. xmlhttp_mobile.open("Get",open_url,true);
  1023. xmlhttp_mobile.send(null);
  1024. }
  1025. }
  1026. }
  1027.  
  1028. function to_send_binding_check_sms(this_sms_type=''){
  1029.  
  1030. var mobile_country_code = $("select[name=mobile_country_code]").val();
  1031. var mobile = $("input[name=mobile]").val();
  1032. $("select[name=mobile_country_code],input[name=mobile]").css("border-color","");
  1033.  
  1034. if(mobile_country_code == ''){
  1035.  
  1036. $(".login_error_msg").html("請選擇國碼");
  1037. $("select[name=mobile_country_code]").css("border-color","#f7b3b3");
  1038.  
  1039. }else if(mobile == ''){
  1040. $(".login_error_msg").html("請輸入手機號碼");
  1041. $("input[name=mobile]").css("border-color","#f7b3b3");
  1042.  
  1043. }else if(!isNum(mobile) || !check_country_mobile(mobile_country_code,mobile)){
  1044.  
  1045. $(".login_error_msg").html("請輸入正確手機格式");
  1046. $("input[name=mobile]").css("border-color","#f7b3b3");
  1047.  
  1048. }else{
  1049.  
  1050. $("select[name=mobile_country_code], input[name=mobile]").attr('disabled', true)
  1051. $(".uid_check_code_btn").html("loading <i class='fas fa-spinner'>").addClass("is_loading");
  1052. $.ajax({
  1053. type: 'POST',
  1054. url: 'ajax_member_module_api.php',
  1055. cache: false,
  1056. data: {
  1057. module_type: 'send_new_social_user_mobile_confirm_code',
  1058. sms_type: this_sms_type,
  1059. social_user_mobile: mobile,
  1060. mobile_country_code: mobile_country_code
  1061. },
  1062. success: function(res) {
  1063.  
  1064. res = $.parseJSON(res);
  1065.  
  1066. if(res.status == "100"){
  1067.  
  1068. $(".uid_check_code_btn").removeAttr("onclick");
  1069. var sec = 60;
  1070. $(".uid_check_code_btn").html(sec);
  1071. let timer = setInterval(function() {
  1072. if(sec == 0){
  1073. clearInterval(timer);
  1074. $(".uid_check_code_btn").html("再次發送");
  1075. $(".uid_check_code_btn").attr("onclick","to_send_binding_check_sms('fukang_api_sms');");
  1076. }else{
  1077. sec--;
  1078. $(".uid_check_code_btn").html(sec);
  1079. }
  1080. }, 1000);
  1081. }else{
  1082. $(".uid_check_code_btn").html("再次發送");
  1083. $(".login_error_msg").html(res.msg+'('+res.status+')');
  1084. }
  1085. },
  1086. error: function(err){
  1087. console.log(err)
  1088. },
  1089. complete: function(){
  1090.  
  1091. $(".uid_check_code_btn").removeClass("is_loading");
  1092.  
  1093. $("select[name=mobile_country_code], input[name=mobile]").attr('disabled', false)
  1094.  
  1095. }
  1096. });
  1097. }
  1098. }
  1099.  
  1100. function to_check_member_binding(verify_mode){
  1101.  
  1102. var uid_check_code = $("input[name=uid_check_code]").val();
  1103. $("input[name=uid_check_code]").css("border-color","");
  1104.  
  1105. if(verify_mode == 'binding' && uid_check_code == ''){
  1106.  
  1107. $(".login_error_msg").html("請輸入驗證碼");
  1108. $("input[name=uid_check_code]").css("border-color","#f7b3b3");
  1109.  
  1110. }else{
  1111.  
  1112. if(verify_mode == 'binding'){
  1113. toggle_loading(".check_member_binding_submit");
  1114. }else{
  1115. toggle_loading(".login_type_btn");
  1116. }
  1117. $("input[name=uid_check_code]").attr('disabled', true)
  1118.  
  1119. $.ajax({
  1120.  
  1121. type: 'POST',
  1122. url: 'ajax_member_module_api.php',
  1123. cache: false,
  1124. data: {
  1125. module_type: 'verify_new_social_user_mobile_confirm_code',
  1126. verify_mode: verify_mode,
  1127. mobile_confirm_code: uid_check_code,
  1128. },
  1129. success: function(res) {
  1130.  
  1131. res = $.parseJSON(res);
  1132.  
  1133. if(res.status == "100"){
  1134.  
  1135. if(res.action == 'show_member_info_notice'){
  1136.  
  1137. to_location_reload_member_info();
  1138.  
  1139. }else{
  1140.  
  1141. location.reload();
  1142. }
  1143.  
  1144. }else{
  1145. var manual = "<a style='color: blue;cursor: pointer;' onclick='show_binding_result()'><u>說明</u></a>"
  1146. var err_msg = res.msg + '('+res.status+') ';
  1147. if(verify_mode == 'binding'){err_msg += manual;}
  1148. $(".login_error_msg").html(err_msg);
  1149. }
  1150. },
  1151. error: function(err){
  1152. console.log('err', err)
  1153. },
  1154. complete: function(){
  1155.  
  1156. if(verify_mode == 'binding'){
  1157. toggle_loading(".check_member_binding_submit");
  1158. }else{
  1159. toggle_loading(".login_type_btn");
  1160. }
  1161. $("input[name=uid_check_code]").attr('disabled', false);
  1162. $(".uid_check_code_btn").removeClass("is_loading");
  1163.  
  1164. }
  1165. });
  1166. }
  1167. }
  1168.  
  1169. /*** prodcut add shopping car start ****/
  1170.  
  1171. //var to_reciprocal_close_day_a_id;
  1172. //var to_reciprocal_close_day_b_id;
  1173. //var to_reciprocal_close_day_b_status = 1 ;
  1174.  
  1175. function to_reciprocal_close_day_a(sel_product_sn,sel_standard_sn,sel_s){
  1176.  
  1177. var show_info = "";
  1178. var show_s = parseFloat(sel_s)-1;
  1179. var show_day = parseInt(show_s/86400);
  1180. var show_hour = parseInt((show_s-(show_day*86400))/3600);
  1181. var show_min = parseInt((show_s-(show_day*86400)-(show_hour*3600))/60);
  1182. var show_sec = parseInt(show_s-(show_day*86400)-(show_hour*3600)-(show_min*60));
  1183.  
  1184. //var this_product_checked_standard_sn = $.cookie("is_product_checked_standard_sn");
  1185.  
  1186. if(show_s >= 0){ // && this_product_checked_standard_sn==sel_standard_sn
  1187.  
  1188. if(show_day >= 0){show_info += "優惠倒數:<span class='ds_main_color'>"+show_day+"</span> <span style='font-size:10px;'>天</span> ";}
  1189. if(show_hour>= 0){show_info += "<span class='ds_main_color'>"+show_hour+"</span> <span style='font-size:10px;'>時</span> ";}
  1190. if(show_min >= 0){show_info += "<span class='ds_main_color'>"+show_min+"</span> <span style='font-size:10px;'>分</span>&nbsp;&nbsp;";}
  1191. if(show_sec >= 0){show_info += "<span class='ds_main_color'>"+show_sec+"</span> <span style='font-size:10px;'>秒</span> ";}
  1192.  
  1193. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_a").innerHTML = show_info;
  1194.  
  1195. if(show_s==0){
  1196.  
  1197. location.reload();
  1198.  
  1199. }else{
  1200.  
  1201. var to_reciprocal_close_day_a_id = setTimeout("to_reciprocal_close_day_a('"+sel_product_sn+"','"+sel_standard_sn+"','"+show_s+"')",1000);
  1202. }
  1203.  
  1204. }else{
  1205.  
  1206. /*
  1207. clearTimeout( to_reciprocal_close_day_b_id );
  1208.  
  1209. to_reciprocal_close_day_b_status = 0;
  1210.  
  1211. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_b").innerHTML = '00';
  1212. show_info += "00 <span style='font-size:10px;'>天</span> ";
  1213. show_info += "00 <span style='font-size:10px;'>時</span> ";
  1214. show_info += "00 <span style='font-size:10px;'>分</span>&nbsp;&nbsp;"
  1215.  
  1216. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_a").innerHTML = show_info;
  1217. */
  1218.  
  1219. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_a").innerHTML = "";
  1220.  
  1221. }
  1222. }
  1223.  
  1224. function to_reciprocal_close_day_b(sel_product_sn,sel_standard_sn,sel_s){
  1225.  
  1226. /*
  1227. var this_product_checked_standard_sn = $.cookie("is_product_checked_standard_sn");
  1228.  
  1229. if( this_product_checked_standard_sn == sel_standard_sn ){
  1230. var show_s = parseFloat(sel_s)-1;
  1231. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_b").innerHTML = show_s;
  1232. if(show_s==10){
  1233. to_reciprocal_close_day_b_id = setTimeout("to_reciprocal_close_day_b('"+sel_product_sn+"','"+sel_standard_sn+"','99')",1);
  1234. }else{
  1235. to_reciprocal_close_day_b_id = setTimeout("to_reciprocal_close_day_b('"+sel_product_sn+"','"+sel_standard_sn+"','"+show_s+"')",10);
  1236. }
  1237. }else{
  1238. document.getElementById("id_product_"+sel_product_sn+"_close_day_reciprocal_b").innerHTML = "";
  1239. }
  1240. */
  1241. }
  1242.  
  1243. function to_save_setting_product_rating(sel_product_sn, sel_standard_sn, sel_order_title_sn) {
  1244. let product_rating_comment = $("textarea[name='product_rating_comment']").val();
  1245. if(product_rating_comment.length < 15 || product_rating_comment.length > 85){
  1246. alert('請輸入15~85個字的心得分享');
  1247. return false;
  1248. }
  1249.  
  1250. xmlhttp_save = createXMLHttp();
  1251. if (xmlhttp_save) {
  1252.  
  1253. var rating_comment = document.getElementsByName('product_rating_comment')[0].value;
  1254.  
  1255. var rating_start = document.getElementsByName('id_product_start_value')[0].value;
  1256.  
  1257. show_layer_loading();
  1258.  
  1259. xmlhttp_save.onreadystatechange = function() {
  1260. if (xmlhttp_save.readyState == 4 && xmlhttp_save.status == 200) {
  1261. close_layer_loading();
  1262. var response_msg = xmlhttp_save.responseText;
  1263. show_layer_msg(response_msg);
  1264. }
  1265. };
  1266.  
  1267. var ajax_url = encodeURI("ajax_product_module_api.php?module_type=rating_product_start&product_sn=" + sel_product_sn + "&standard_sn=" + sel_standard_sn + "&order_title_sn=" + sel_order_title_sn + "&rating_start=" + rating_start + "&rating_comment=" + rating_comment + "&time=" + new Date().getTime());
  1268. xmlhttp_save.open("Get", ajax_url, true);
  1269. xmlhttp_save.send(null);
  1270. }
  1271. }
  1272.  
  1273. function booking_product_add_email(sel_product_sn,sel_standard_sn,sel_standard_order_amount){
  1274.  
  1275. if(!check_email(document.getElementById('id_member_email').value)){
  1276. show_layer_alert("email格式異常,請重新確認!");
  1277. // alert("email格式異常,請重新確認!");
  1278.  
  1279. }else{
  1280.  
  1281. to_booking_product(sel_product_sn,sel_standard_sn,sel_standard_order_amount,document.getElementById('id_member_email').value);
  1282. }
  1283. }
  1284.  
  1285. // LINE LIFF 登入
  1286. function liff_login(liff_action='',need_login=''){
  1287.  
  1288. if(liff.isLoggedIn()){
  1289. liff.logout();
  1290. }
  1291.  
  1292. var client_device_type = '1';
  1293.  
  1294. var this_member_sn = '';
  1295.  
  1296. var this_url = new URL(location);
  1297.  
  1298. var param = new URLSearchParams(this_url.search);
  1299.  
  1300. var redirect_uri = this_url.origin+this_url.pathname;
  1301.  
  1302. if(liff_action!='') param.set("liff_action", liff_action);
  1303. if(need_login!='') param.set("need_login", "true");
  1304.  
  1305. param.delete('login_error');
  1306.  
  1307. if(param.toString()!='') redirect_uri += "?"+param.toString();
  1308.  
  1309. // alert(navigator.userAgent);
  1310.  
  1311. // if((!navigator.userAgent.match("Chrome") && navigator.userAgent.match("Safari") && client_device_type=="2") || navigator.userAgent.match("SamsungBrowser") || navigator.userAgent.match("Instagram") || navigator.userAgent.match("Line") || navigator.userAgent.match("FBAN") || navigator.userAgent.match("FBAV")){  // In-App Browser
  1312. if(client_device_type == '2'){  // Mobile Browser
  1313.  
  1314. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 註冊/登入
  1315.  
  1316. open_with_liff(liff_action);
  1317.  
  1318. }else{ // 綁定
  1319.  
  1320. param.set("liff_action", "open_with_liff");
  1321.  
  1322. redirect_uri = this_url.origin+this_url.pathname+"?"+param.toString();
  1323.  
  1324. liff.login({redirectUri: redirect_uri});
  1325. }
  1326. }else{  // PC Browser
  1327.  
  1328. liff.login({ redirectUri: redirect_uri});
  1329. }
  1330. }
  1331.  
  1332. // LINE LIFF 分享
  1333. function share_with_friend(msg_type='', msg_type_sn=''){
  1334.  
  1335. show_layer_loading();
  1336.  
  1337. var this_member_sn = '';
  1338.  
  1339. if(typeof(liff)!=='undefined'){
  1340.  
  1341. if(liff.isApiAvailable('shareTargetPicker') && this_member_sn==""){ // 網頁閒置過久SESSION被清空;
  1342.  
  1343. var this_url = new URL(location);
  1344.  
  1345. var param = new URLSearchParams(this_url.search);
  1346.  
  1347. param.set("liff_action", "share");
  1348.  
  1349. if(location.pathname.substr(0,7)!="/share/"){
  1350. location.href=this_url.pathname+'?'+param.toString();
  1351. }
  1352.  
  1353. }
  1354. }
  1355.  
  1356. if(typeof(liff)!=='undefined'){
  1357.  
  1358. if(liff.isApiAvailable('shareTargetPicker')){
  1359.  
  1360. if(!liff.isInClient() && (navigator.userAgent.match("Instagram") || navigator.userAgent.match("Line") || navigator.userAgent.match("FBAN") || navigator.userAgent.match("FBAV"))){ // IAB
  1361.  
  1362. open_with_liff("share");
  1363. close_layer_loading();
  1364.  
  1365. }else{ // LIFF or external browser
  1366.  
  1367. get_line_message_format(msg_type, msg_type_sn);
  1368. }
  1369.  
  1370. }else{
  1371. if(!liff.isLoggedIn()){
  1372.  
  1373. if(!liff.isInClient() && (navigator.userAgent.match("Instagram") || navigator.userAgent.match("Line") || navigator.userAgent.match("FBAN") || navigator.userAgent.match("FBAV"))){ // IAB
  1374.  
  1375. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 註冊/登入
  1376.  
  1377. open_with_liff("share");
  1378.  
  1379. }else{
  1380.  
  1381. liff_login("share");
  1382. }
  1383.  
  1384. }else{ // external browser
  1385.  
  1386. liff_login("share");
  1387. }
  1388. }else{
  1389. alert("未開啟shareTargetPicker權限");
  1390. console.log("未開啟shareTargetPicker權限");
  1391. }
  1392. close_layer_loading();
  1393.  
  1394. }
  1395. }else{
  1396.  
  1397. console.log("liff is undefined");
  1398. window.open('https://social-plugins.line.me/lineit/share?url='+'https%3A%2F%2Fliff.line.me%2F1657662956-ljewX6qm%2Findex.php%3Futm_source%3Dm2%26utm_medium%3Dguest', 'LINE Share', config='height=500,width=500');
  1399. close_layer_loading();
  1400. }
  1401.  
  1402. }
  1403.  
  1404. // LINE 訊息模板
  1405. function get_line_message_format(msg_type='', msg_type_sn=''){
  1406.  
  1407. let php_self = 'index';
  1408.  
  1409. if(msg_type=='') msg_type = php_self;
  1410.  
  1411. $.ajax({
  1412. type: 'POST',
  1413. url: './ajax_website_module_api.php',
  1414. data: {
  1415. 'module_type': 'line_msg',
  1416. 'msg_type': msg_type,
  1417. 'msg_type_sn': msg_type_sn,
  1418. 'share_link': 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest', // 產生位置 ap_lib/functuion.php
  1419. 'php_self': '/index.php',
  1420. },
  1421. success: function(res) {
  1422.  
  1423. flex_message = $.parseJSON(res);
  1424.  
  1425. console.log('flex_message', flex_message);
  1426.  
  1427. liff.shareTargetPicker(flex_message)
  1428. .then(function (res) {
  1429.  
  1430. console.log('share_res', res);
  1431.  
  1432. if(res){
  1433.  
  1434. // succeeded in sending a message through TargetPicker
  1435. console.log(`[${res.status}] Message sent!`);
  1436.  
  1437. // 分享完後自動關閉視窗
  1438. if(location.pathname.substr(0,6)=="/share"){
  1439. liff.closeWindow();
  1440. }
  1441.  
  1442. }else{
  1443.  
  1444. const [majorVer, minorVer] = (liff.getLineVersion() || "").split('.');
  1445. if (parseInt(majorVer) == 10 && parseInt(minorVer) < 11) {
  1446. // LINE 10.3.0 - 10.10.0
  1447. // Old LINE will access here regardless of user's action
  1448. console.log('TargetPicker was opened at least. Whether succeeded to send message is unclear')
  1449. } else {
  1450. // LINE 10.11.0 -
  1451. // sending message canceled
  1452. console.log('TargetPicker was closed!')
  1453. if(location.pathname.substr(0,6)=="/share"){
  1454. liff.closeWindow();
  1455. }
  1456. }
  1457. }
  1458.  
  1459. }).catch(function (error) {
  1460.  
  1461. // something went wrong before sending a message
  1462. alert("分享失敗\n\n請確認瀏覽器設定沒有阻擋彈跳視窗。\n(設定 > Safari > 阻擋彈出視窗)");
  1463.  
  1464. console.log('shareTargetPicker something wrong happen');
  1465. console.log('error', error);
  1466. console.log('flex_message', flex_message);
  1467. })
  1468. },
  1469. error: function(err) {
  1470. alert("Get message format error\n"+err);
  1471. },
  1472. complete: function() {
  1473. close_layer_loading();
  1474. }
  1475. });
  1476. }
  1477.  
  1478. // LINE 購物 取得ECID
  1479. function to_get_ecid(){
  1480.  
  1481. var this_url = '';
  1482.  
  1483. if(this_url!=''){
  1484.  
  1485. if(!liff.isInClient()){
  1486.  
  1487. setTimeout(function(){window.location.replace(this_url);}, 300);
  1488.  
  1489. }else{
  1490.  
  1491. liff.openWindow({
  1492. url: this_url,
  1493. external: false
  1494. });
  1495. }
  1496. }
  1497. }
  1498.  
  1499. // LINE LIFF 分享
  1500. function open_with_liff(liff_action){
  1501.  
  1502. var m2_member_sn = '';
  1503. var this_member_sn = '';
  1504. var shoppingcar_member_sn = 'm7e3euva7vugl3sd2v4j6fril7';
  1505. var _ishop_utm_source   = '';
  1506. var _ishop_utm_medium   = '';
  1507. var _ishop_utm_term     = '';
  1508. var _ishop_utm_content   = '';
  1509. var _ishop_utm_campaign = '';
  1510. var _url_redirect_sn = '';
  1511. var _url_redirect_access_sn = '';
  1512.  
  1513. var this_url = new URL(location);
  1514.  
  1515. var param = new URLSearchParams(this_url.search);
  1516.  
  1517. var this_v1_liff_url = "https://line.me/R/app/"+liff.id;
  1518.  
  1519. if(this_url.pathname.indexOf("shopping_car")>0) this_url.pathname = "/"; // 購物車要做第二次轉跳
  1520.  
  1521. if(param.get("liff_action")=="open_with_liff") param.delete("liff_action"); // 防止無限迴圈
  1522.  
  1523. if(m2_member_sn>0) param.set("m2_member_sn", m2_member_sn); // 推薦人SN
  1524.  
  1525. if(parseInt(this_member_sn)==0 || isNaN(parseInt(this_member_sn))){ // 未登入判斷購物車是否有商品
  1526.  
  1527. $.ajax({
  1528.  
  1529. url:"./api_liff.php",
  1530. method:'GET',
  1531. data:{
  1532. mode: 'check_member_shoppingcar',
  1533. shoppingcar_member_sn: shoppingcar_member_sn
  1534. },
  1535. async:false,
  1536. success:function(res){
  1537.  
  1538. if(res>0) param.set("pre_shoppingcar_member_sn", shoppingcar_member_sn);
  1539. },
  1540. error:function(err){
  1541.  
  1542. console.log('check_err', err)
  1543. },
  1544. complete:function(){
  1545.  
  1546. }
  1547. });
  1548. }
  1549.  
  1550. // 網址轉導
  1551. if(_url_redirect_sn!="") param.set("_url_redirect_sn", _url_redirect_sn);
  1552. if(_url_redirect_access_sn!="") param.set("_url_redirect_access_sn", _url_redirect_access_sn);
  1553.  
  1554. // utm
  1555. if(_ishop_utm_source!="") param.set("utm_source", _ishop_utm_source);
  1556. if(_ishop_utm_medium!="") param.set("utm_medium", _ishop_utm_medium);
  1557. if(_ishop_utm_term!="") param.set("utm_term", _ishop_utm_term);
  1558. if(_ishop_utm_content!="") param.set("utm_content", _ishop_utm_content);
  1559. if(_ishop_utm_campaign!="") param.set("utm_campaign", _ishop_utm_campaign);
  1560. if(liff_action!="" && liff_action!=undefined) param.set("liff_action", liff_action);
  1561.  
  1562. this_v1_liff_url += "?v1_redirect="+encodeURIComponent(this_url.pathname+'?'+param.toString());
  1563.  
  1564. // setTimeout(function(){window.open(this_v1_liff_url);}, 500);
  1565.  
  1566. setTimeout(function(){window.location.replace(this_v1_liff_url);}, 300);
  1567.  
  1568. }
  1569. // Footer action
  1570. function footer_action(this_id, this_action){
  1571.  
  1572. switch (this_id) {
  1573. case 'customer_service':
  1574.  
  1575. window.location.href = "tel:"+this_action;
  1576.  
  1577. break;
  1578. case 'facebook':
  1579.  
  1580. window.location.href = "https://www.facebook.com/"+this_action;
  1581.  
  1582. break;
  1583. case 'messenger':
  1584.  
  1585. window.location.href = "https://www.messenger.com/t/"+this_action;
  1586.  
  1587. break;
  1588. case 'share':
  1589.  
  1590.                to_show_share_link();
  1591. break;
  1592. case 'show_product_view_record':
  1593. to_show_product_view_record();
  1594. break;
  1595. case 'to_scroll_top':
  1596.  
  1597. to_scroll_top();
  1598. break;
  1599. case 'shopping_car':
  1600.  
  1601. to_show_top_shopping_car('4');
  1602. break;
  1603. case 'mobile_chapter_list_switch':
  1604.  
  1605. mobile_chapter_list_switch();
  1606. console.log("mobile_chapter_list_switch");
  1607. break;
  1608. default:
  1609.                window.location.href = this_action;
  1610. break;
  1611. }
  1612. }
  1613.    
  1614. function company_no_check(input){
  1615. var company_no;
  1616. company_no = input.value;
  1617. console.log(company_no);
  1618. if(true){
  1619. if(generateVerificationCode(company_no)){
  1620. document.getElementById("id_verify_company_no_msg").innerHTML = "";
  1621. }else{
  1622. document.getElementById("id_verify_company_no_msg").innerHTML = "很抱歉,統一編號【"+company_no+"】驗證失敗。";
  1623. input.value = "";
  1624. }
  1625. }
  1626. }
  1627.  
  1628. function generateVerificationCode(idNumber) {
  1629. // 檢查輸入是否為8個字元
  1630. if (idNumber.length == 8) {
  1631. // 檢查每個字元是否為有效的數字
  1632. for (let i = 0; i < 8; i++) {
  1633. if (!/^[0-9]$/.test(idNumber[i])) {
  1634. // console.log('輸入的編號含有非數字字元');
  1635. return false;
  1636. }
  1637. }
  1638.  
  1639. // 將編號轉換為陣列
  1640. const idNumberArray = idNumber.split('');
  1641.  
  1642. // 定義邏輯乘數
  1643. const multipliers = [1, 2, 1, 2, 1, 2, 4, 1];
  1644.  
  1645. // 計算乘積
  1646. let idNumbers = [];
  1647. for (let i = 0; i < 8; i++) {
  1648. const item = parseInt(idNumberArray[i]) * multipliers[i];
  1649. idNumbers.push(item);
  1650. }
  1651.  
  1652. // 處理乘積大於10的狀況
  1653. for (let i = 0; i < 8; i++) {
  1654. if (idNumbers[i] >= 10) {
  1655. const digits = String(idNumbers[i]).split('');
  1656. idNumbers[i] = parseInt(digits[0]) + parseInt(digits[1]);
  1657. }
  1658. }
  1659.  
  1660. // 生成驗證碼
  1661. const verificationCodeArray = idNumbers.map(item => String(item));
  1662. const verificationCode = verificationCodeArray.join('');
  1663.  
  1664. if(idNumberArray[6] != '7'){
  1665. // 計算驗證碼總和
  1666. let verificationCodeSum = 0;
  1667. for (let i = 0; i < 8; i++) {
  1668. verificationCodeSum += parseInt(verificationCodeArray[i]);
  1669. }
  1670. if((verificationCodeSum % 5) === 0){
  1671. return true;
  1672. }else{
  1673. return false;
  1674. }
  1675. }else{
  1676. // 計算驗證碼總和A
  1677. verificationCodeArray[6] = 0;
  1678. let verificationCodeSumA = 0;
  1679. for (let i = 0; i < 8; i++) {
  1680. verificationCodeSumA += parseInt(verificationCodeArray[i]);
  1681. }
  1682.  
  1683. // 計算驗證碼總和B
  1684. verificationCodeArray[6] = 1;
  1685. let verificationCodeSumB = 0;
  1686. for (let i = 0; i < 8; i++) {
  1687. verificationCodeSumB += parseInt(verificationCodeArray[i]);
  1688. }
  1689.  
  1690. if((verificationCodeSumA % 5 === 0) || (verificationCodeSumB % 5 === 0)){
  1691. return true;
  1692. }else{
  1693. return false;
  1694. }
  1695. }
  1696. }else{
  1697. return false;
  1698. }
  1699. }
  1700. </script>
  1701. <script>
  1702. var is_new_product_detail = false;
  1703. </script>
  1704. <script type="text/javascript" async src="https://cdn.matrixec.com/js/line-button.js?v=20140411"></script>
  1705. <script language="javascript">
  1706. window.onscroll = to_check_onscroll;
  1707. </script>
  1708.  
  1709.  
  1710. <!-- Google tag (gtag.js) -->
  1711. <script async src="https://www.googletagmanager.com/gtag/js?id=G-DN3YYV8V9K"></script>
  1712. <script>
  1713.  window.dataLayer = window.dataLayer || [];
  1714.  function gtag(){dataLayer.push(arguments);}
  1715.  gtag('js', new Date());
  1716.  
  1717.  gtag('config', 'G-DN3YYV8V9K');
  1718. </script>
  1719. <script>
  1720. $(function(){
  1721.    if($('#id_c2').length > 0 ){
  1722.        $('#id_c2').children('option')[0].innerHTML = '--縣市搜尋--';
  1723.    }
  1724. })
  1725. </script>
  1726. <script async>
  1727. (function(g,d,o){
  1728. g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};
  1729. var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';
  1730. var s=d.createElement('script');s.async=1;
  1731. s.src=o||h+'/n/line_tag/public/release/v1/lt.js';
  1732. var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);
  1733. })(window, document);_lt('init', {
  1734. customerType: 'lap',
  1735. tagId: '6762c9ef-1078-4543-b5ad-26ef3d2a663a'
  1736. });
  1737. _lt('send', 'pv', ['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);</script>
  1738. <noscript>
  1739. <img height='1' width='1' style='display:none'
  1740. src='https://tr.line.me/tag.gif?c_t=lap&t_id=161a9b23-c87b-4ebb-8a97-a7f91abb8c56&e=pv&noscript=1' />
  1741. </noscript>
  1742. <!-- End LINE Tag Base Code -->
  1743. <style type="text/css" media="print">.print_display_off{display: none;}</style>
  1744.  
  1745. <style>
  1746.    /*Instegram*/
  1747.    .ig_newest_top.default_animation , .ig_newest_inside.default_animation {
  1748.        position: relative;
  1749.        opacity:0;
  1750.        transform: translateY(5%);
  1751.    }
  1752.    .ig_newest_top.default_animation.act , .ig_newest_inside.default_animation.act {
  1753.        transition: all 0.7s ease-out;
  1754.        opacity: 1;
  1755.        transform: translateY(0);
  1756.    }
  1757.  
  1758.    /*商品列表*/
  1759.    .default_animation .product_item{
  1760.        position: relative;
  1761.        opacity:0;
  1762.        transform: translateY(3%);
  1763.    }
  1764.    .default_animation.act .product_item{
  1765.        transition: all 0.5s ease-out;
  1766.        opacity: 1;
  1767.        transform: translateY(0);
  1768.    }
  1769.    .default_animation .product_item:nth-child(2){
  1770.        transition-delay:0.2s;
  1771.    }
  1772.    .default_animation .product_item:nth-child(3){
  1773.        transition-delay:0.3s;
  1774.    }
  1775.  
  1776.    /*商品明細頁 附屬商品圖*/
  1777.    .pps_photo_sub.default_animation {
  1778.        position: relative;
  1779.        opacity:0;
  1780.        transform: translateY(50px);
  1781.    }
  1782.    .pps_photo_sub.default_animation.act {
  1783.        transition: all 0.5s ease-out;
  1784.        opacity:1;
  1785.        transform: translateY(0%);
  1786.    }
  1787.  
  1788.    /*shopping car*/
  1789.    #id_shopping_car_page .right_content.default_animation {
  1790.        position: relative;
  1791.        opacity:0;
  1792.        transform: translateY(50px);
  1793.    }
  1794.    #id_shopping_car_page .right_content.default_animation.act {
  1795.        transition: all 0.5s ease-out;
  1796.        opacity: 1;
  1797.        transform: translateY(0);
  1798.    }
  1799.  
  1800.    /*滿版廣告slide*/
  1801.    .default_animation.ad_overflow_slide {
  1802.        position: relative;
  1803.        opacity:0;
  1804.        transform: translateY(5%);
  1805.    }
  1806.    .default_animation.act.ad_overflow_slide{
  1807.        transition: all 0.5s ease-out;
  1808.        opacity: 1;
  1809.        transform: translateY(0);
  1810.    }
  1811.  
  1812.    /*滿版廣告單板靜態*/
  1813.    .default_animation .ad_overflow_single_inside {
  1814.        position: relative;
  1815.        opacity:0;
  1816.        transform: translateY(5%);
  1817.    }
  1818.    .default_animation.act .ad_overflow_single_inside{
  1819.        transition: all 0.5s ease-out;
  1820.        opacity: 1;
  1821.        transform: translateY(0);
  1822.    }
  1823.  
  1824.    /*全版廣告slide 點點輪播*/
  1825.    .default_animation.ad_full_slide_dotted {
  1826.        position: relative;
  1827.        opacity:0;
  1828.        transform: translateY(5%);
  1829.    }
  1830.    .default_animation.act.ad_full_slide_dotted {
  1831.        transition: all 0.5s ease-out;
  1832.        opacity: 1;
  1833.        transform: translateY(0);
  1834.    }
  1835.  
  1836.    /*全版廣告單板靜態*/
  1837.    .default_animation > a {
  1838.        display: block;
  1839.        position: relative;
  1840.        opacity:0;
  1841.        transform: translateY(5%);
  1842.    }
  1843.    .default_animation.act > a{
  1844.        transition: all 0.5s ease-out;
  1845.        opacity: 1;
  1846.        transform: translateY(0);
  1847.    }
  1848.  
  1849.    /*全版廣告單排3小板 area_3d */
  1850.    .default_animation.ad_full_area_3d > .item_outside {
  1851.        position: relative;
  1852.        opacity:0;
  1853.        transform: translateY(5%);
  1854.    }
  1855.    .default_animation.act.ad_full_area_3d > .item_outside{
  1856.        transition: all 0.5s ease-out;
  1857.        opacity: 1;
  1858.        transform: translateY(0);
  1859.    }
  1860.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(4){
  1861.        transition-delay: 0.15s;
  1862.    }
  1863.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(6){
  1864.        transition-delay: 0.3s;
  1865.    }
  1866.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(7){
  1867.        transition-delay: 0.45s;
  1868.    }
  1869.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(9){
  1870.        transition-delay: 0.6s;
  1871.    }
  1872.    .default_animation.act.ad_full_area_3d > .item_outside:nth-child(11){
  1873.        transition-delay: 0.75s;
  1874.    }
  1875.  
  1876.    /*全版廣告-1大輪2小板 area_3a */
  1877.    .default_animation.ad_full_area_3a {
  1878.        position: relative;
  1879.        opacity:0;
  1880.        transform: translateY(5%);
  1881.    }
  1882.    .default_animation.act.ad_full_area_3a {
  1883.        transition: all 0.5s ease-out;
  1884.        opacity: 1;
  1885.        transform: translateY(0%);
  1886.    }
  1887.  
  1888.    /*全版廣告-1大輪2小板 area_3b */
  1889.    .default_animation.ad_full_area_3b {
  1890.        position: relative;
  1891.        opacity:0;
  1892.        transform: translateY(5%);
  1893.    }
  1894.    .default_animation.act.ad_full_area_3b {
  1895.        transition: all 0.5s ease-out;
  1896.        opacity: 1;
  1897.        transform: translateY(0%);
  1898.    }
  1899.  
  1900.    /*全版廣告-多排4小板 area_3c */
  1901.    .ad_full_area_3c .default_animation.caption_pic ,
  1902.    .ad_full_area_3c .default_animation.caption_txt {
  1903.        position: relative;
  1904.        opacity:0;
  1905.        transform: translateY(30px);
  1906.    }
  1907.    .ad_full_area_3c .default_animation.act.caption_pic ,
  1908.    .ad_full_area_3c .default_animation.act.caption_txt {
  1909.        transition: all 0.7s ease-out;
  1910.        opacity: 1;
  1911.        transform: translateY(0%);
  1912.    }
  1913.    .ad_full_area_3c_inside.default_animation .item_outside{
  1914.        position: relative;
  1915.        opacity:0;
  1916.        transform: translateY(5%);
  1917.    }
  1918.    .ad_full_area_3c_inside.default_animation.act .item_outside{
  1919.        transition: all 0.7s ease-out;
  1920.        opacity: 1;
  1921.        transform: translateY(0%);
  1922.    }
  1923.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(3) {
  1924.        transition-delay: 0.1s;
  1925.    }
  1926.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(5) {
  1927.        transition-delay: 0.2s;
  1928.    }
  1929.    .ad_full_area_3c_inside.default_animation .item_outside:nth-child(7) {
  1930.        transition-delay: 0.3s;
  1931.    }
  1932.  
  1933.    /*全版廣告 下側頁籤*/
  1934.    .default_animation.ad_full_down_tag {
  1935.        display: block;
  1936.        position: relative;
  1937.        opacity:0;
  1938.        transform: translateY(5%);
  1939.    }
  1940.    .default_animation.act.ad_full_down_tag {
  1941.        transition: all 0.5s ease-out;
  1942.        opacity: 1;
  1943.        transform: translateY(0);
  1944.    }
  1945.  
  1946.    /*全版廣告 右側頁籤*/
  1947.    .default_animation.ad_full_right_tag {
  1948.        display: block;
  1949.        position: relative;
  1950.        opacity:0;
  1951.        transform: translateY(5%);
  1952.    }
  1953.    .default_animation.act.ad_full_right_tag {
  1954.        transition: all 0.5s ease-out;
  1955.        opacity: 1;
  1956.        transform: translateY(0);
  1957.    }
  1958.  
  1959.    /*全版廣告商品-單排滑動 A5 && 最近看過 && 電子報*/
  1960.    .default_animation.full_block {
  1961.        display: block;
  1962.        position: relative;
  1963.        opacity:0;
  1964.        transform: translateY(10%);
  1965.    }
  1966.    .default_animation.act.full_block{
  1967.        transition: all 0.5s ease-out;
  1968.        opacity: 1;
  1969.        transform: translateY(0);
  1970.    }
  1971.  
  1972.    /*全版3區塊廣告商品 A1*/
  1973.    .default_animation .ad_prodcut_a1_module{
  1974.        position: relative;
  1975.        opacity:0;
  1976.        transform: translateY(10%);
  1977.    }
  1978.    .default_animation.act .ad_prodcut_a1_module{
  1979.        transition: all 0.5s ease-out;
  1980.        opacity: 1;
  1981.        transform: translateY(0);
  1982.    }
  1983.    .default_animation .ad_prodcut_a1_module:nth-child(2){
  1984.        transition-delay:0.2s;
  1985.    }
  1986.    .default_animation .ad_prodcut_a1_module:nth-child(3){
  1987.        transition-delay:0.3s;
  1988.    }
  1989.  
  1990.  
  1991.    /*大側邊 單板靜態*/
  1992.    .default_animation.ad_big_side_single {
  1993.        display: block;
  1994.        position: relative;
  1995.        opacity:0;
  1996.        transform: translateY(5%);
  1997.    }
  1998.    .default_animation.act.ad_big_side_single {
  1999.        transition: all 0.5s ease-out;
  2000.        opacity: 1;
  2001.        transform: translateY(0);
  2002.    }
  2003.  
  2004.    /*大側邊 右側頁籤*/
  2005.    .default_animation.ad_big_side_right_tag {
  2006.        display: block;
  2007.        position: relative;
  2008.        opacity:0;
  2009.        transform: translateY(5%);
  2010.    }
  2011.    .default_animation.act.ad_big_side_right_tag {
  2012.        transition: all 0.5s ease-out;
  2013.        opacity: 1;
  2014.        transform: translateY(0);
  2015.    }
  2016.  
  2017.    /*大側邊 1大輪2小版*/
  2018.    .default_animation.big_side_area_3a {
  2019.        display: block;
  2020.        position: relative;
  2021.        opacity:0;
  2022.        transform: translateY(5%);
  2023.    }
  2024.    .default_animation.act.big_side_area_3a {
  2025.        transition: all 0.5s ease-out;
  2026.        opacity: 1;
  2027.        transform: translateY(0);
  2028.    }
  2029.  
  2030.    /*大側邊 4 x N 廣告商品 :ad_product_a2*/
  2031.    .default_animation.module_header_caption {
  2032.        display: block;
  2033.        position: relative;
  2034.        opacity:0;
  2035.        transform: translateY(20%);
  2036.    }
  2037.    .default_animation.act.module_header_caption {
  2038.        transition: all 0.5s ease-out;
  2039.        opacity: 1;
  2040.        transform: translateY(0);
  2041.    }
  2042.    .default_animation.item_wrapper .item {
  2043.        display: block;
  2044.        position: relative;
  2045.        opacity:0;
  2046.        transform: translateY(10%);
  2047.    }
  2048.    .default_animation.act.item_wrapper .item {
  2049.        transition: all 0.5s ease-out;
  2050.        opacity: 1;
  2051.        transform: translateY(0);
  2052.    }
  2053.    .default_animation.item_wrapper .item:nth-child(2){
  2054.        transition-delay: 0.1s;
  2055.    }
  2056.    .default_animation.item_wrapper .item:nth-child(3){
  2057.        transition-delay: 0.2s;
  2058.    }
  2059.    .default_animation.item_wrapper .item:nth-child(4){
  2060.        transition-delay: 0.3s;
  2061.    }
  2062.  
  2063.  
  2064.    /*專欄宣傳文章*/
  2065.    .column_publicize_outside.default_animation {
  2066.        display: block;
  2067.        position: relative;
  2068.        opacity:0;
  2069.        transform: translateY(10%);
  2070.    }
  2071.    .column_publicize_outside.default_animation.act {
  2072.        transition: all 0.5s ease-out;
  2073.        opacity: 1;
  2074.        transform: translateY(0);
  2075.    }
  2076.  
  2077.    /*大側邊 專欄宣傳文章1大3小 1b3s*/
  2078.    .default_animation .big_side_publicize_column_header ,.default_animation .big_side_publicize_column_top_outsite , .default_animation .big_side_publicize_column_3s_insite {
  2079.        display: block;
  2080.        position: relative;
  2081.        opacity:0;
  2082.        transform: translateY(10%);
  2083.    }
  2084.    .default_animation.act .big_side_publicize_column_header ,.default_animation.act .big_side_publicize_column_top_outsite , .default_animation.act .big_side_publicize_column_3s_insite {
  2085.        transition: all 0.5s ease-out;
  2086.        opacity: 1;
  2087.        transform: translateY(0);
  2088.    }
  2089.    .default_animation .big_side_publicize_column_header {
  2090.        transition-delay: 0.1s;
  2091.    }
  2092.    .default_animation .big_side_publicize_column_3s_insite:nth-child(1){
  2093.        transition-delay: 0.2s;
  2094.    }
  2095.    .default_animation .big_side_publicize_column_3s_insite:nth-child(2){
  2096.        transition-delay: 0.3s;
  2097.    }
  2098.    .default_animation .big_side_publicize_column_3s_insite:nth-child(3){
  2099.        transition-delay: 0.4s;
  2100.    }
  2101.  
  2102.    /*大側邊專欄 - 左右分類文章 1大5小*/
  2103.    .default_animation.big_side_category_half_1b5s {
  2104.        display: block;
  2105.        position: relative;
  2106.        opacity:0;
  2107.        transform: translateY(10%);
  2108.    }
  2109.    .default_animation.act.big_side_category_half_1b5s {
  2110.        transition: all 0.5s ease-out;
  2111.        opacity: 1;
  2112.        transform: translateY(0);
  2113.    }
  2114.  
  2115.    /*大側邊專欄 - 分類2x2文章*/
  2116.    .default_animation.column_list_big_side_2x2_wrapper {
  2117.        display: block;
  2118.        position: relative;
  2119.        opacity:0;
  2120.        transform: translateY(15%);
  2121.    }
  2122.    .default_animation.act.column_list_big_side_2x2_wrapper {
  2123.        transition: all 0.5s ease-out;
  2124.        opacity: 1;
  2125.        transform: translateY(0);
  2126.    }
  2127.  
  2128.    /*熱搜*/
  2129.    .default_animation.hot_keyword_outside {
  2130.        display: block;
  2131.        position: relative;
  2132.        opacity:0;
  2133.        transform: translateY(15%);
  2134.    }
  2135.    .default_animation.act.hot_keyword_outside {
  2136.        transition: all 0.5s ease-out;
  2137.        opacity: 1;
  2138.        transform: translateY(0);
  2139.    }
  2140.  
  2141.    /*網站地上方*/
  2142.    .website_content_copyright_top .default_animation {
  2143.        display: block;
  2144.        position: relative;
  2145.        opacity:0;
  2146.        transform: translateY(15%);
  2147.    }
  2148.    .website_content_copyright_top .default_animation.act {
  2149.        transition: all 0.5s ease-out;
  2150.        opacity: 1;
  2151.        transform: translateY(0);
  2152.    }
  2153.  
  2154.  
  2155.    /*paralax test*/
  2156.    /* .ad_overflow_paralax {
  2157.        box-sizing: border-box;
  2158.        position: relative;
  2159.        overflow: hidden;
  2160.        
  2161.    }
  2162.    .ad_overflow_paralax>div:nth-child(2){
  2163.        position: relative;
  2164.        z-index: 0;
  2165.        margin: 5vw auto;
  2166.    }
  2167.    .ad_overflow_paralax .bg {
  2168.        position: absolute;
  2169.        z-index: 0;
  2170.        width: 100%;
  2171.        height: 100vh;
  2172.        background: url("https://www.residencestyle.com/wp-content/uploads/2016/05/Scandinavian-living-room-With-Plants-Decor.jpg")center center no-repeat;
  2173.        background-size: cover;
  2174.        opacity: 0.8;
  2175.        filter: blur(1px);
  2176.        transition: filter 0.3s linear;
  2177.        background-color: rgba(255 , 255, 255, 0.5)
  2178.        
  2179.    } */
  2180.  
  2181.  
  2182.    /* fadeIn */
  2183.    .fadeIn {
  2184.        position: relative;
  2185.        opacity:0;
  2186.    }
  2187.    .fadeIn.act {
  2188.        transition: all 1s ease-out;
  2189.        opacity: 1;
  2190.    }
  2191.    /* fadeUp */
  2192.    .fadeUp {
  2193.        position: relative;
  2194.        opacity:0;
  2195.        transform: translateY(3vw);
  2196.    }
  2197.    .fadeUp.act {
  2198.        transition: all 1s ease-out;
  2199.        opacity: 1;
  2200.        transform: translateY(0);
  2201.    }
  2202.    /* fadeDown */
  2203.    .fadeDown {
  2204.        position: relative;
  2205.        opacity:0;
  2206.        transform: translateY(-3vw);
  2207.    }
  2208.    .fadeDown.act {
  2209.        transition: all 1s ease-out;
  2210.        opacity: 1;
  2211.        transform: translateY(0);
  2212.    }
  2213.    /* fadeRight */
  2214.    .fadeRight {
  2215.        position: relative;
  2216.        opacity:0;
  2217.        transform: translateX(-3vw);
  2218.    }
  2219.    .fadeRight.act {
  2220.        transition: all 1s ease-out;
  2221.        opacity: 1;
  2222.        transform: translateX(0);
  2223.    }
  2224.    /* fadeLeft */
  2225.    .fadeLeft {
  2226.        position: relative;
  2227.        opacity:0;
  2228.        transform: translateX(3vw);
  2229.    }
  2230.    .fadeLeft.act {
  2231.        transition: all 1s ease-out;
  2232.        opacity: 1;
  2233.        transform: translateX(0);
  2234.    }
  2235.  
  2236.    /* delay */
  2237.    .animation_scroll.act.delay_1 {
  2238.        transition-delay: 0.3s;
  2239.    }
  2240.    .animation_scroll.act.delay_2 {
  2241.        transition-delay: 0.6s;
  2242.    }
  2243.    .animation_scroll.act.delay_3 {
  2244.        transition-delay: 0.9s;
  2245.    }
  2246.    .animation_scroll.act.delay_4 {
  2247.        transition-delay: 1.2s;
  2248.    }
  2249.    .animation_scroll.act.delay_5 {
  2250.        transition-delay: 1.5s;
  2251.    }
  2252.    .animation_scroll.act.delay_6 {
  2253.        transition-delay: 1.8s;
  2254.    }
  2255. </style>
  2256. <script>
  2257.  
  2258.    function animation_init(scrollTop,winH){
  2259.  
  2260.        $('.animation_scroll').each(function(){
  2261.            this_item = $(this);
  2262.            this_item.attr('data',this_item.offset().top);
  2263.            
  2264.            if(this_item.offset().top<scrollTop+(winH*24/24)){
  2265.                this_item.addClass('act')
  2266.            }else{
  2267.                this_item.removeClass('act').addClass('be');
  2268.            }
  2269.  
  2270.            if($(this).hasClass('ad_overflow_paralax')){
  2271.                $(this).children('.bg').css('height',$(this).outerHeight());
  2272.            }
  2273.        });
  2274.        //close_layer_loading();
  2275.        // console.log("animation_init{winH="+winH+";scrollTop="+scrollTop+"}");
  2276.    }
  2277.  
  2278.    function animation_cancel(choose_area){
  2279.        $(choose_area + ' .animation_scroll').addClass('act').removeClass('animation_scroll');
  2280.    }
  2281.  
  2282.    function video_init(scrollTop,winH){
  2283.        $('.video_autoplay').each(function(){
  2284.            this_item = ($(this)!='')? $(this) : $('body');
  2285.            this_item.attr('data',this_item.offset().top).prop("volume",0.5).addClass("muted");
  2286.            
  2287.            if(this_item.offset().top<scrollTop+(winH*7/8)){
  2288.                this_item.trigger('play');
  2289.            }else{
  2290.                this_item.trigger('pause');
  2291.            }
  2292.        });
  2293.    }
  2294.  
  2295.    function paralax_move(scrollTop,winH){
  2296.        $('.ad_overflow_paralax').each(function(){
  2297.            //this_offset_Top = $(this).attr('data');
  2298.            this_offset_Top = $(this).offset().top;
  2299.            this_height = $(this).outerHeight();
  2300.            //console.log(this_offset_Top+" / "+this_height);
  2301.            if( this_offset_Top-(winH*8/8) < scrollTop && this_offset_Top+this_height > scrollTop ){
  2302.                $(this).children('.bg').css("transform","translate3d(0px,"+Math.round((this_offset_Top-scrollTop)*(-1+1/3))+"px,0px)");
  2303.            }
  2304.        });
  2305.    }
  2306.    
  2307.  
  2308.    $(document).ready(function(){
  2309.        //header.js 內宣告全域變數 scrollTop,winH
  2310.  
  2311.        //show_layer_loading();
  2312.  
  2313.        $('.master_vision_index.footer_menu_outside').addClass('scroll');
  2314.        
  2315.        animation_init(scrollTop,winH);
  2316.  
  2317.        //$(".video_autoplay").trigger('play');
  2318.        $(".video_autoplay").on('load',function(){
  2319.            $(this).trigger('play');
  2320.        })
  2321.        
  2322.        
  2323.  
  2324.        $(window).on("load",function(){
  2325.            console.log('onload');
  2326.            scrollTop = $(window).scrollTop();
  2327.            animation_init(scrollTop,winH);
  2328.            video_init(scrollTop,winH);
  2329.            paralax_move(scrollTop,winH);
  2330.        })
  2331.  
  2332.        $(window).resize(function(){
  2333.            animation_init(scrollTop,winH);
  2334.            video_init(scrollTop,winH);
  2335.            paralax_move(scrollTop,winH);
  2336.        })
  2337.  
  2338.  
  2339.  
  2340.        $(window).scroll(function(){
  2341.            scrollTop = $(window).scrollTop();
  2342.  
  2343.            if( scrollTop > 10 ){
  2344.                $('.master_vision_index.footer_menu_outside').removeClass('scroll');
  2345.            } else {
  2346.                $('.master_vision_index.footer_menu_outside').addClass('scroll');
  2347.                $(".footer_menu_outside .cus_btn.more").removeClass("open");
  2348.            }
  2349.            
  2350.            
  2351.            $('.animation_scroll.be').each(function(){
  2352.                if($(this).attr('data')<scrollTop+(winH*24/24)){
  2353.                    $(this).removeClass('be').addClass('act');
  2354.                }
  2355.            });
  2356.  
  2357.            paralax_move(scrollTop,winH);
  2358.  
  2359.            $('.video_autoplay').each(function(){
  2360.                this_offset_Top = $(this).attr('data');
  2361.                this_height = $(this).height();
  2362.                if( this_offset_Top < scrollTop+(winH*6/8) && this_offset_Top > scrollTop-this_height/3 && !$(this).hasClass("pause")){
  2363.                    $(this).trigger('play');
  2364.                }else{
  2365.                    $(this).trigger('pause').addClass('muted').prop("muted",true).siblings('.controler').children(".btn-volume").html('volume <i class="fas fa-times"></i>');
  2366.                }
  2367.            });
  2368.            
  2369.        })
  2370.  
  2371.  
  2372.        // $('.ad_overflow_paralax .content').hover(function(){
  2373.        //     $(this).siblings('.bg').toggleClass('hover');
  2374.        // },function(){
  2375.        //     $(this).siblings('.bg').toggleClass('hover');
  2376.        // })
  2377.  
  2378.        // $('#id_tr_pay_type img , #id_tr_freight img').click(function(){
  2379.        //     setTimeout(function(){animation_init(scrollTop,winH)},1000);
  2380.        //     console.log('click');
  2381.        // })
  2382.    })
  2383.    
  2384. </script>
  2385.  
  2386. <script type="module">
  2387.  
  2388.    /**
  2389.     * 指定callback class增加act
  2390.     */
  2391.    const animation_scroll_callback = (entries, owner) => {
  2392.        entries.forEach((entry)=>{
  2393.            const target = entry.target;
  2394.  
  2395.            if(entry.isIntersecting){
  2396.  
  2397.                target.classList.add("act");
  2398.  
  2399.            }else {
  2400.  
  2401.                // target.classList.remove("act");
  2402.                // target.classList.add("be");
  2403.                
  2404.            }
  2405.        })
  2406.    }
  2407.    
  2408.    /**
  2409.     * 監聽指定物件是否進入視窗口
  2410.     */
  2411.    const observer = new IntersectionObserver(animation_scroll_callback);
  2412.  
  2413.    const animation_scroll = document.querySelectorAll(".animation_scroll");
  2414.    if(animation_scroll.length > 0 ){
  2415.        animation_scroll.forEach((item) => {
  2416.            observer.observe(item);
  2417.        })
  2418.    }
  2419.  
  2420.  
  2421.  
  2422. </script>
  2423.  
  2424. </head>
  2425. <body id="id_pc_body" >
  2426. <div id="id_layer_alert_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;display:none;"></div>
  2427. <div id="id_layer_alert_box" style="width:100%;height:100%;position:fixed;top:120px;left:0px;z-index:2002;border:0px solid #FF0000;display:none;">
  2428. <table width="400" border="0" cellpadding="4" cellspacing="8" align="center" style="border-radius:4px;background-color:#CCCCCC;overflow: hidden;box-shadow: 1px 1px 2px 2px #666;">
  2429. <tr>
  2430. <td class="ds_main_bg_color ds_main_text_color" style="color: #666666;font-weight:bold;text-align:left;display: flex;align-items: center;flex-direction: row;padding:6px;">
  2431. <span id="id_layer_alert_icon" style="color: #FFFFFF;font-size: 14px;background-color: #019bdb;border-radius: 30px;padding: 2px 10px;margin-right: 5px;">!</span>提示訊息 </td>
  2432. </tr>
  2433. <tr>
  2434. <td style="background-color:#FFFFFF;padding-top:20px;">
  2435. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  2436. <tr>
  2437. <td style="text-align:left;vertical-align:top;padding:8px 10px;"><span id="id_layer_alert_info" style="line-height:30px;"></span></td>
  2438. </tr>
  2439. <tr>
  2440. <td style="text-align:center;padding:15px 0px;"><div style="text-align:center;padding:10px;cursor:pointer;" id="id_layer_alert_onclick" onclick="close_layer_alert()"><span class="ds_main_bg_color ds_main_text_color" style="padding:5px 10px;color:#666666;border:1px solid #CCCCCC;background-color:#EEEEEE;">OK</span></div></td>
  2441. </tr>
  2442. </table>
  2443. </td>
  2444. </tr>
  2445. </table>
  2446. </div>
  2447.  
  2448. <div id="id_layer_msg_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;background-color:#000000;filter:alpa(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);display:none;"></div>
  2449. <div id="id_layer_msg_box" class="layer_msg_outside" style="display:none;">
  2450. <table border="0" cellpadding="0" cellspacing="4" align="center" class="layer_msg_inside" style="">
  2451. <tr>
  2452. <td id="id_layer_msg_close" class="layer_msg_close" style="" onclick="close_layer_msg()"><i class="fa fa-times-circle" style="color:#666666;font-weight:bold;padding:5px;font-size:25px;"></i></td>
  2453. </tr>
  2454. <tr>
  2455. <td>
  2456. <div id="id_layer_msg_info" class="layer_msg_info" style=""></div>
  2457. </td>
  2458. </tr>
  2459. <tr>
  2460. <td style="min-height:25px"></td>
  2461. </tr>
  2462. </table>
  2463. </div>
  2464. <div id="id_layer_fullscreen_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:3000;background-color:#000000;filter:alpa(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=90)';filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);display:none;"></div>
  2465. <div id="id_layer_fullscreen_box" style="width:100%;height:100%;position:fixed;top:0%;left:0px;z-index:3001;border:0px solid #FF0000;display:none;">
  2466. <table border="0" cellpadding="0" cellspacing="4" align="center" style="width:100%;height:100%;border:0px solid #CCCCCC;border-radius:10px;">
  2467. <tr>
  2468. <td>
  2469. <div class="clear">
  2470. <div style="float:left;width:40%;text-align:left;color:#FFFFFF;"><span style="padding-left:20px;font-size:80%;color:#CCCCCC;" id="id_layer_fullscreen_caption"></span></div>
  2471. <div style="float:right;width:40%;text-align:right;" id="id_layer_fullscreen_close" onclick="close_layer_fullscreen()"><i class="fa fa-times-circle" style="color:#FFFFFF;font-weight:bold;padding-right:20px;font-size:25px;"></i></div>
  2472. </div>
  2473. </td>
  2474. </tr>
  2475. <tr>
  2476. <td>
  2477. <div id="id_layer_fullscreen_info" style="margin:0px auto;width:98%;height:-50px;overflow-x:hidden;overflow-y:hidden;border:0px solid #FFFFFF;"></div>
  2478. </td>
  2479. </tr>
  2480. </table>
  2481. </div>
  2482.  
  2483. <div id="id_popup_customSize">
  2484. <div class="popup_mask"></div>
  2485. <div class="popup_box">
  2486. <div class="popup_close" onclick="close_popup_customSize()">X</div>
  2487. <div class="popup_info"><div class="popup_test"></div></div>
  2488. </div>
  2489. </div>
  2490.  
  2491. <div id="id_popup_customSize_cookie" style="display:none">
  2492. <div class="popup_box">
  2493. <div class="popup_info"><div class="popup_test"></div></div>
  2494. </div>
  2495. </div>
  2496.  
  2497.  
  2498. <div class="popup_standard_select_wrap _div_layer"></div>
  2499.  
  2500. <div id="id_layer_loading_bg" style="width:100%;height:100%;position:fixed;top:0px;left:0px;z-index:2000;background-color:#EFEFEF;filter:alpa(opacity=80);-moz-opacity:0.6;-khtml-opacity:0.6;opacity:0.6;display:none;"></div>
  2501. <div id="id_layer_loading_box" style="width:100%;position:fixed;top:30%;left:0px;z-index:2001;font-size:90%;text-align:center;border:0px solid #FF0000;display:none;background-color:transparent;">
  2502. <!-- <i class="fa fa-spinner"></i>&nbsp;&nbsp;&nbsp; Please Wait ... -->
  2503. <img src="https://cdn.matrixec.com/fs/all/LINE_spinner_light.svg" alt="">
  2504. </div>
  2505.  
  2506. <!-- <div>這是新版alert</div> -->
  2507. <!-- Facebook SDK -->
  2508.  
  2509. <!-- LIFF -->
  2510.  
  2511. <script charset="utf-8" src="https://static.line-scdn.net/liff/edge/2/sdk.js"></script>
  2512. <script>
  2513. $(function() {
  2514.  
  2515. if (typeof liff !== undefined) {
  2516.  
  2517. console.log('LIFF START');
  2518.  
  2519. liff_main();
  2520. }
  2521. })
  2522.  
  2523. function liff_main() {
  2524.  
  2525. if (!(!liff.isInClient() && navigator.userAgent.match("Android"))) { // Android 外部瀏覽器 不顯示遮罩
  2526.  
  2527. if (!liff.isInClient()) show_layer_loading();
  2528. }
  2529.  
  2530. liff
  2531. .init({
  2532. liffId: '1657662956-ljewX6qm'
  2533. })
  2534. .then(() => {
  2535.  
  2536. // alert('isLoggedIn : '+liff.isLoggedIn());
  2537.  
  2538. close_layer_loading();
  2539.  
  2540. console.log('LIFF INIT SUCCESS : ' + liff.id);
  2541.  
  2542. const website_ec_type = '';
  2543. const web_host_url = 'https://www.stiga.com.tw';
  2544. const m2_member_sn = '';
  2545. const member_sn = '';
  2546. const login_error_session = '';
  2547.  
  2548.  
  2549. // liff url v1 網址轉導處理
  2550. let this_location_url = new URL(location);
  2551.  
  2552. // alert(this_location_url);
  2553.  
  2554. const v1_redirect = this_location_url.searchParams.get('v1_redirect'); // /member_referrer?a=1&b=2&action=share
  2555. const liff_action = this_location_url.searchParams.get('liff_action'); // 實際轉跳後的行為
  2556. const utm_source = this_location_url.searchParams.get('utm_source');
  2557. const need_login = this_location_url.searchParams.get('need_login');
  2558. const login_error = this_location_url.searchParams.get('login_error');
  2559. const pre_shoppingcar_member_sn = this_location_url.searchParams.get('pre_shoppingcar_member_sn');
  2560.  
  2561. console.log('LIFF URL : https://liff.line.me/' + liff.id + this_location_url.pathname + this_location_url.search + this_location_url.hash);
  2562.  
  2563. if (typeof v1_redirect === 'string') { // 透過v1 liff 強制開啟 liff
  2564.  
  2565. show_layer_loading();
  2566.  
  2567. window.location.href = v1_redirect;
  2568.  
  2569. } else {
  2570.  
  2571. // LINE POINTS 轉跳強制登入
  2572. if (!liff.isInClient()) {
  2573.  
  2574. console.log('LIFF IN EXTERNAL');
  2575.  
  2576. if (!liff.isLoggedIn()) {
  2577.  
  2578. if (location.pathname == '/line_shopping_redirect.php') {
  2579.  
  2580. liff.login({
  2581. redirectUri: location.href
  2582. });
  2583.  
  2584. } else {
  2585.  
  2586. close_layer_loading();
  2587. }
  2588. }
  2589. }
  2590.  
  2591. // LINE購物 and LINE直播 導流的使用者
  2592. if (typeof utm_source === 'string' && utm_source == 'lineoa') {
  2593.  
  2594. if (!liff.isLoggedIn()) liff_login();
  2595. }
  2596.  
  2597. if (liff.isLoggedIn()) {
  2598.  
  2599. console.log("LIFF IS LOGGEDIN");
  2600.  
  2601. liff.getProfile()
  2602. .then(function(profile) {
  2603.  
  2604. var line_uuid = '';
  2605. var agent_shopping = '';
  2606.  
  2607. if ((agent_shopping || (member_sn > 0 && line_uuid != '' && (pre_shoppingcar_member_sn == null || pre_shoppingcar_member_sn == ''))) && !need_login) {
  2608.  
  2609. // alert("登入中");
  2610. close_layer_loading();
  2611.  
  2612. } else {
  2613.  
  2614. show_layer_loading();
  2615.  
  2616. var user = liff.getDecodedIDToken();
  2617. var location_path = web_host_url + '/social_user_login.php';
  2618. location_path += "?social_website=line";
  2619. location_path += "&social_user_id=" + profile.userId;
  2620. location_path += "&name=" + profile.displayName;
  2621. if (user !== null) location_path += "&email=" + user.email;
  2622. location_path += "&photo=" + profile.pictureUrl;
  2623.  
  2624. if (typeof pre_shoppingcar_member_sn === 'string' && pre_shoppingcar_member_sn != '') location_path += "&pre_shoppingcar_member_sn=" + pre_shoppingcar_member_sn;
  2625.  
  2626. if (member_sn > 0 && line_uuid != '' && line_uuid != profile.userId) {
  2627. alert("與登入中使用者資料不符,請確認LINE帳號是否相符");
  2628. close_layer_loading();
  2629. return;
  2630. }
  2631.  
  2632. if (login_error_session == 'block' || login_error == 'block') {
  2633.  
  2634. if (!liff.isInClient()) liff.logout();
  2635.  
  2636. close_layer_loading();
  2637.  
  2638. } else {
  2639.  
  2640. window.location = location_path;
  2641. }
  2642.  
  2643. return;
  2644. }
  2645.  
  2646. if (typeof liff_action === 'string') { // 轉跳到對應頁面判斷是否有行為
  2647.  
  2648. switch (liff_action) {
  2649.  
  2650. case "share": // 分享
  2651.  
  2652. if (this_location_url.pathname.substr(0, 7) != "/share/") { // share 這頁是專門用來分享的頁面,不需要這個參數
  2653.  
  2654. share_with_friend();
  2655. }
  2656. break;
  2657. case "share_fb":
  2658.  
  2659. if (document.getElementById('fbShareBtn')) {
  2660. FB.ui({
  2661. display: 'popup',
  2662. method: 'share',
  2663. href: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  2664. }, function(response) {});
  2665. }
  2666.  
  2667. break;
  2668. case "open_with_liff": // 強制開啟LIFF
  2669.  
  2670. if (!liff.isInClient()) open_with_liff();
  2671.  
  2672. break;
  2673. case "to_shopping_car":
  2674.  
  2675. if (this_location_url.pathname.indexOf('shopping_car') == "-1") window.location = "/shopping_car.php";
  2676.  
  2677. break;
  2678. case "to_get_ecid":
  2679.  
  2680. to_get_ecid();
  2681.  
  2682. break;
  2683. case "scan_code":
  2684.  
  2685. liff.scanCodeV2()
  2686. .then((result) => {
  2687. console.log(result)
  2688. scan_response.value = result.value;
  2689. })
  2690. .catch((error) => {
  2691. Swal.fire({
  2692. title: '錯誤',
  2693. icon: 'error',
  2694. text: "無法開啟掃描器,請重新登入後再嘗試一次。" + error,
  2695. showDenyButton: false,
  2696. confirmButtonText: '確定',
  2697. });
  2698. console.log(error);
  2699. });
  2700. break;
  2701. default:
  2702. break;
  2703. }
  2704. }
  2705.  
  2706. }).catch(function(error) {
  2707.  
  2708. // alert('get profile error: '+ error);
  2709. // liff.login();
  2710. close_layer_loading();
  2711. });
  2712. }
  2713. }
  2714. })
  2715. .catch((err) => {
  2716.  
  2717. console.log('LIFF ERROR :', err.code, err.message);
  2718.  
  2719. var err_msg = err.code + ' ' + err.message;
  2720.  
  2721. if (false) {
  2722.  
  2723. $.ajax({
  2724.  
  2725. url: 'ajax_website_module_api.php',
  2726. method: 'POST',
  2727. data: {
  2728. module_type: 'line_notify',
  2729. title: 'LIFF初始化失敗',
  2730. msg: err_msg,
  2731. param: {
  2732. 'code': err.code,
  2733. 'message': err.message,
  2734. 'getOS': liff.getOS(),
  2735. 'isInClient': liff.isInClient(),
  2736. 'location': window.location.href,
  2737. 'agent': navigator.userAgent
  2738. }
  2739. },
  2740. success: function(res) {},
  2741. error: function(err) {}
  2742. });
  2743. }
  2744.  
  2745. close_layer_loading();
  2746. });
  2747. }
  2748.  
  2749. function liff_init() { // new
  2750.  
  2751. const member_sn = '';
  2752.  
  2753. liff
  2754. .init({
  2755. liffId: '1657662956-ljewX6qm'
  2756. })
  2757. .then(() => {
  2758.  
  2759. // alert("init success");
  2760.  
  2761. if (liff.isLoggedIn()) {
  2762.  
  2763. if (!member_sn) { // 尚未登入
  2764.  
  2765. let id_token = liff.getIDToken();
  2766.  
  2767. // alert('login');
  2768.  
  2769. $.ajax({
  2770.  
  2771. url: 'ajax_member_module_api.php',
  2772. method: 'POST',
  2773. data: {
  2774. module_type: 'background_login',
  2775. id_token: id_token
  2776. },
  2777. success: function(res) {
  2778.  
  2779. console.log('id_token_res', res);
  2780. },
  2781. error: function(err) {
  2782.  
  2783. console.log('id_token_err', err);
  2784. },
  2785. complete: function() {
  2786.  
  2787. // alert('login finish');
  2788. }
  2789.  
  2790. });
  2791. }
  2792. }
  2793. })
  2794. .catch((err) => {
  2795.  
  2796. console.log('LIFF ERROR :', err.code, err.message);
  2797. });
  2798.  
  2799. }
  2800.  
  2801. function background_login() {
  2802.  
  2803. $.ajax({
  2804.  
  2805. url: 'ajax_member_module_api.php',
  2806. method: 'GET',
  2807. data: {
  2808. module_type: ''
  2809. },
  2810. success: function(res) {
  2811. $(".order_history .data_list").html(res);
  2812. },
  2813. error: function(err) {
  2814. console.log(err)
  2815. },
  2816. complete: function() {
  2817.  
  2818. }
  2819. });
  2820. }
  2821.  
  2822. function check_ecid(this_member_sn, times) {
  2823.  
  2824. var check_status = false;
  2825.  
  2826. console.log('check ecid start', times);
  2827.  
  2828. if (times == 0) {
  2829.  
  2830. if (liff.isInClient()) liff.closeWindow();
  2831. return false;
  2832. }
  2833.  
  2834. times--;
  2835.  
  2836. $.ajax({
  2837.  
  2838. url: "./api_liff.php",
  2839. method: 'GET',
  2840. data: {
  2841. mode: 'check_ecid',
  2842. member_sn: this_member_sn
  2843. },
  2844. success: function(res) {
  2845.  
  2846. if (res == "true") {
  2847.  
  2848. if (liff.isInClient()) liff.closeWindow();
  2849.  
  2850. } else {
  2851.  
  2852. console.log('check ecid start false', times);
  2853. setTimeout(() => {
  2854. check_ecid(this_member_sn, times);
  2855. }, 1000);
  2856. }
  2857. },
  2858. error: function(err) {
  2859.  
  2860. console.log('check_err', err)
  2861. },
  2862. complete: function() {
  2863.  
  2864. }
  2865. });
  2866. }
  2867. </script>
  2868.  
  2869.  
  2870. <!-- line tag -->
  2871. <!-- LINE Tag Base Code -->
  2872. <!-- Do Not Modify -->
  2873. <script>
  2874. (function(g,d,o){
  2875. g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};
  2876. var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';
  2877. var s=d.createElement('script');s.async=1;
  2878. s.src=o||h+'/n/line_tag/public/release/v1/lt.js';
  2879. var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);
  2880. })(window, document);
  2881. _lt('init', {
  2882. customerType: 'account',
  2883. tagId: '6762c9ef-1078-4543-b5ad-26ef3d2a663a'
  2884. });
  2885. _lt('send', 'pv', ['6762c9ef-1078-4543-b5ad-26ef3d2a663a']);
  2886. </script>
  2887. <noscript>
  2888. <img height="1" width="1" style="display:none"
  2889. src="https://tr.line.me/tag.gif?c_t=lap&t_id=6762c9ef-1078-4543-b5ad-26ef3d2a663a&e=pv&noscript=1" />
  2890. </noscript>
  2891. <!-- End LINE Tag Base Code -->
  2892.  
  2893. <!-- likr 禾多 -->
  2894. <div id="id_body" class="div_body page_index ds_bg_color">
  2895.  
  2896. <div id="fancy-popup" style="display: none;">
  2897. 此網址不支援彈跳視窗,請改用其他方式
  2898. </div>
  2899.  
  2900.        <!-- <div style="position: absolute; color: transparent;pointer-events:none;"><h1>STIGA | 瑞典國際乒乓球台灣代理商</h1></div> -->
  2901.        <nav id="nav_container" class="refactor  has_master_vision _size">
  2902.        <div class="inside">
  2903.                <div class="ms_menu_bg_fixed scroll_to_fixed ds_nav_bg_color ds_nav_text_color" id="id_ms_menu_bg"></div>
  2904.            <div class="ms_menu_bg master_vision_index"></div>
  2905.                        <div id="id_master_menu" class="">
  2906.                
  2907.                <div id="id_master_menu_website_logo" class="master_vision_index">
  2908.  
  2909.                    <a href="https://www.stiga.com.tw"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_1.jpeg?1672399823" alt="STIGA | 瑞典國際乒乓球台灣代理商"></a>
  2910.  
  2911.                                    </div>
  2912.                <div id="id_master_menu_website_content_top_left" class="master_vision_index">
  2913.                                    </div>
  2914.  
  2915.                <div id="id_master_menu_website_content_top_right" class="master_vision_index no_website_content_top_left" >
  2916.                                    </div>
  2917.                
  2918.                
  2919.                    <div id="id_master_menu_website_tool" class="master_vision_index no_website_content_top_left ds_nav_text_color">
  2920.  
  2921.                                                    <div class="cursor master_menu_member" onclick="to_show_member_login_layer()">
  2922.                                <i class="fas fa-user-plus"></i>
  2923.                            </div>
  2924.                        
  2925.                        <div id="id_bag_inside_text" class="cursor bag_inside_text"  onclick="to_shopping_car()" onmouseover="to_show_top_shopping_car_list('id_bag_inside_text','open')" onmouseout="to_show_top_shopping_car_list('id_bag_inside_text','hidden')"><i class="fas fa-cart-arrow-down"></i> (<span id="id_top_shopping_car_amount"></span>)</div>
  2926.                        
  2927.                        <div class="cursor master_menu_search" onclick="to_show_search_layer('')"><i class="fas fa-search"></i></div>
  2928.                    </div>
  2929.  
  2930.                    <div id="id_top_shopping_car_list" class="top_shopping_car_list" onmouseover="to_slideOver('id_top_shopping_car_list')" onmouseout="to_slideOut('id_top_shopping_car_list')" style="z-index:999"></div>
  2931.  
  2932.                    <script language="javascript">
  2933.                        to_show_top_shopping_car('1');
  2934.                        to_show_top_shopping_car_list("id_bag_inside_text","onscroll");
  2935.                    </script>
  2936.                                
  2937.                
  2938. <script>
  2939.    $(document).ready(function(){
  2940.        
  2941.        var main_data=0, catarogy_1 = 0, catarogy_2 = 0;
  2942.  
  2943.        $('#id_master_menu_catalog_icon').click(function(){
  2944.            $('#id_master_catalog_collapse_wrap').css('left','0');
  2945.            $('#id_master_catalog_collapse_mask, #id_master_catalog_collapse_close').fadeIn(300);
  2946.        });
  2947.  
  2948.        $('#id_master_catalog_collapse_close,#id_master_catalog_collapse_mask').click(function(){
  2949.            $('#id_master_catalog_collapse_wrap').css('left','-30%');
  2950.            $('.ms_category_1').removeClass('act').children('.ms_category_item').removeClass('open');
  2951.            main_data=0, catarogy_1 = 0, catarogy_2 = 0;
  2952.            $('#id_master_catalog_collapse_mask, #id_master_catalog_collapse_close').fadeOut(300);
  2953.        });
  2954.  
  2955.        $(".collapse .ms_main_menu dd").hover(function(){
  2956.            //觸發文字
  2957.            $(this).find('.name_standard').css('opacity',0);
  2958.            $(this).find('.name_hover').css('opacity',1);
  2959.  
  2960.            //子選單
  2961.            if(main_data != $(this).attr('data')){
  2962.                $('.ms_main_menu dd').removeClass('hover');
  2963.                $(this).addClass('hover');
  2964.  
  2965.                if($(this).hasClass('has_sub')){
  2966.                    $('.ms_category_1').addClass('act');
  2967.                }else {
  2968.                    $('.ms_category_1').removeClass('act');
  2969.                }
  2970.                
  2971.                $('.ms_category_1 .ms_category_item').removeClass('open');
  2972.                main_data = $(this).attr('data');
  2973.                //console.log(main_data);
  2974.                setTimeout(function(){
  2975.                    $('.ms_category_1 .ms_category_item[data='+main_data+']').addClass('open');
  2976.                }, 0);
  2977.            }
  2978.        },function(){
  2979.            $(this).find('.name_standard').css('opacity',1);
  2980.            $(this).find('.name_hover').css('opacity',0);
  2981.        });
  2982.  
  2983.        $(".collapse .ms_catagory_1 dd").hover(function(){
  2984.            if(catarogy_1 != $(this).attr('data')){
  2985.                $('.ms_catagory_1 dd').removeClass('hover');
  2986.                $(this).addClass('hover');
  2987.                $('.ms_catagory_3').removeClass('act').children('dl').removeClass('open');
  2988.                $('.ms_catagory_2').addClass('act');
  2989.                $('.ms_catagory_2 dl').removeClass('open');
  2990.                catarogy_1 = $(this).attr('data');
  2991.  
  2992.                setTimeout(function(){
  2993.                    $('.ms_catagory_2 dl[data='+catarogy_1+']').addClass('open');
  2994.                }, 0);
  2995.            }
  2996.        });
  2997.  
  2998.        // $(".collapse .ms_catagory_2 dd").hover(function(){
  2999.        //     if(catarogy_2 != $(this).attr('data')){
  3000.        //         $('.ms_catagory_2 dd').removeClass('hover');
  3001.        //         $(this).addClass('hover');
  3002.        //         $('.ms_catagory_3').addClass('act');
  3003.        //         $('.ms_catagory_3 dl').removeClass('open');
  3004.        //         catarogy_2 = $(this).attr('data');
  3005.  
  3006.        //         setTimeout(function(){
  3007.        //             $('.ms_catagory_3 dl[data='+catarogy_2+']').addClass('open');
  3008.        //         }, 0);
  3009.        //     }
  3010.        // });
  3011.  
  3012.        // $(".collapse .ms_catagory_3 dd").hover(function(){
  3013.        //     $(this).addClass('hover');
  3014.        // },function(){
  3015.        //     $(this).removeClass('hover');
  3016.        // });
  3017.  
  3018.        var winX = $(window).width();
  3019.  
  3020.        // $(".expand .ms_main_menu li").hover(function(){
  3021.            
  3022.        //     if(main_data!=$(this).attr('data')){
  3023.  
  3024.        //         $(".expand .ms_main_menu li").removeClass('hover');
  3025.  
  3026.        //         $(this).addClass('hover');
  3027.  
  3028.        //         this_y = winX*0.5/100;
  3029.        //         this_x = $(this).offset().left - winX*2/100;
  3030.        //         this_arrow_x = $(this).width()/2 + winX*2/100;
  3031.  
  3032.        //         if( this_x > winX/2 ){
  3033.        //             this_x = this_x + $(this).width() - $('.expand .ms_catagory_1 >div[data='+$(this).attr('data')+']').outerWidth() + winX*4/100;
  3034.        //             this_arrow_x = $('.expand .ms_catagory_1 >div[data='+$(this).attr('data')+']').outerWidth() - winX*2/100 - $(this).width()/2;
  3035.        //         }
  3036.  
  3037.        //         $('.expand .ms_catagory_1 .ms_catagory_item').hide();
  3038.        //         $('.expand .ms_catagory_1 .ms_catagory_item[data='+$(this).attr('data')+'] .arrow').css('left',this_arrow_x);
  3039.        //         $('.expand .ms_catagory_1 .ms_catagory_item[data='+$(this).attr('data')+']').css({'top':this_y,'left':this_x}).fadeIn(200);
  3040.        //     }
  3041.  
  3042.        //     main_data = $(this).attr('data');
  3043.        // });
  3044.  
  3045.        $(".expand .ms_main_menu>li").hover(function(){
  3046.            $(this).find('.name_standard').css('opacity',0);
  3047.            $(this).find('.name_hover').css('opacity',1);
  3048.  
  3049.            this_offset_side = ($(this).offset().left < winX/2)? $(this).offset().left : winX-$(this).offset().left-$(this).width();
  3050.            this_x = 0;
  3051.            this_arrow_x = $(this).width()/2;
  3052.  
  3053.            this_submenu_width = $(this).children('.ms_catagory_item').width();
  3054.  
  3055.            if( this_offset_side + this_submenu_width > winX*0.8 ){
  3056.                
  3057.                this_x =  (winX - this_submenu_width)/2 - $(this).offset().left;
  3058.                this_arrow_x = this_arrow_x - this_x;
  3059.  
  3060.            }else if( $(this).offset().left > winX/2 ) {
  3061.  
  3062.                this_x = this_x - this_submenu_width + $(this).width();
  3063.                this_arrow_x = this_submenu_width - this_arrow_x;
  3064.  
  3065.            };
  3066.  
  3067.            if( this_submenu_width > winX/2 ){
  3068.  
  3069.                this_x = this_x/2;
  3070.                this_arrow_x = this_arrow_x + this_x;
  3071.  
  3072.            };
  3073.            
  3074.            // 如超出視窗右方 推回超出的數值
  3075.            if ( this_submenu_width + this_x - $(this).width() - this_offset_side > 0 &&
  3076.                 $(this).offset().left > winX/2 ) {
  3077.                
  3078.                var over_side = ( this_submenu_width + this_x - $(this).width() - this_offset_side ) ;
  3079.            
  3080.                this_x = this_x - over_side * 1.1 ;
  3081.                this_arrow_x = this_arrow_x + over_side * 1.1 ;
  3082.            };
  3083.  
  3084.  
  3085.            $(this).find('.arrow').css('left',this_arrow_x);
  3086.            $(this).children('.ms_catagory_item').css('left',this_x);
  3087.            $(this).children('.ms_catagory_item').stop().fadeIn(400);
  3088.  
  3089.        },function(){
  3090.            $(this).find('.name_standard').css('opacity',1);
  3091.            $(this).find('.name_hover').css('opacity',0);
  3092.            $(this).children('.ms_catagory_item').stop().fadeOut(200);
  3093.        });
  3094.  
  3095.        $(".master_menu_member").hover(function(){
  3096.            $("#id_member_center_list").stop().slideDown(200);
  3097.        },function(){
  3098.            $("#id_member_center_list").stop().slideUp(200);
  3099.        })
  3100.  
  3101.        $(window).scroll(function(){
  3102.            $('.expand .ms_catagory_1 .ms_catagory_item').fadeOut(300);
  3103.            main_data = 0;
  3104.  
  3105.            if(scrollTop>100){
  3106.  
  3107.                $('#id_master_menu_website_content_top_left,#id_master_menu_website_content_top_right,#id_master_menu_website_tool, .website_nav').addClass('scroll');
  3108.                //$('#id_master_menu_website_logo').fadeOut(300);
  3109.  
  3110.                if($('.ms_menu_bg_fixed').hasClass('scroll_to_collapse')){//有主視覺
  3111.  
  3112.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_icon').addClass('scroll');
  3113.                    
  3114.                    //$('#id_master_menu_catalog_icon').fadeIn(300);
  3115.                    
  3116.                    if($('#id_master_catalog_expand_wrap .stage>li').hasClass('show')){
  3117.                        menu_counts = $('#id_master_catalog_expand_wrap .stage>li:last-child').index();
  3118.                        $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3119.                            this_index = $(this).index()+1;
  3120.                            $(this).css('transition-delay',0.1+(menu_counts-this_index)*0.05+'s').removeClass('show');
  3121.                        });
  3122.                    }
  3123.  
  3124.                }else{
  3125.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_logo,#id_master_catalog_expand_wrap,.ms_menu_bg_fixed').addClass('scroll');
  3126.                }
  3127.                
  3128.                //$('#id_master_catalog_expand_wrap .stage>li').removeClass('show');
  3129.            }else if(scrollTop == 0){
  3130.  
  3131.                $('#id_master_menu_website_content_top_left,#id_master_menu_website_content_top_right,#id_master_menu_website_tool, .website_nav').removeClass('scroll');
  3132.  
  3133.                //$('#id_master_menu_website_logo').fadeIn(300);
  3134.                
  3135.                if($('.ms_menu_bg_fixed').hasClass('scroll_to_collapse')){
  3136.  
  3137.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_icon').removeClass('scroll');
  3138.                    
  3139.                    //$('#id_master_menu_catalog_icon').fadeOut(300);
  3140.                    
  3141.                    if(!$('#id_master_catalog_expand_wrap .stage>li').hasClass('show')){
  3142.                        $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3143.                            this_index = $(this).index()+1;
  3144.                            $(this).css('transition-delay',0.1+this_index*0.05+'s').addClass('show');
  3145.                        });
  3146.                    }
  3147.  
  3148.                }else{
  3149.                    $('#id_master_menu_website_logo,#id_master_menu_catalog_logo,#id_master_catalog_expand_wrap,.ms_menu_bg_fixed').removeClass('scroll');
  3150.                }
  3151.                //$('#id_master_catalog_expand_wrap .stage>li').addClass('show');
  3152.            }
  3153.        });
  3154.  
  3155.        $(document).ready(function(){
  3156.            $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3157.                this_index = $(this).index()+1;
  3158.                $(this).css('transition-delay',0.5+this_index*0.1+'s').addClass('show');
  3159.  
  3160.                
  3161.            });
  3162.  
  3163.            setTimeout(function() {
  3164.                $('#id_master_catalog_expand_wrap .stage>li').each(function(){
  3165.                    this_index = $(this).index()+1;
  3166.                    $(this).css('transition-delay',0.1+this_index*0.05+'s');
  3167.                });
  3168.            }, 1000);
  3169.        })
  3170.  
  3171.    });
  3172. </script>
  3173.  
  3174. <div id="id_master_catalog_expand_wrap" class="expand master_vision_index no_website_content_top_left scroll_to_fixed">
  3175.  
  3176.    <ul class="stage ms_main_menu">
  3177.                    
  3178.            <li data='26'
  3179.  
  3180.                        >
  3181.                <a title="" class=" ds_nav_text_color" href="wc-45" target="_self" style="color:;background-color:;">
  3182.                    <span class="name_standard">關於STIGA</span>
  3183.                    <span class="name_hover">關於STIGA</span>
  3184.                </a>
  3185.  
  3186.                            </li>
  3187.                        
  3188.            <li data='27'
  3189.  
  3190.                        >
  3191.                <a title="" class=" ds_nav_text_color" href="wc-48" target="_self" style="color:;background-color:;">
  3192.                    <span class="name_standard">六角拍賽博6</span>
  3193.                    <span class="name_hover">Cybershape</span>
  3194.                </a>
  3195.  
  3196.                            </li>
  3197.                        
  3198.            <li data='23'
  3199.  
  3200.                        >
  3201.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=23" target="_self" style="color:;background-color:;">
  3202.                    <span class="name_standard">桌球拍</span>
  3203.                    <span class="name_hover">桌球拍</span>
  3204.                </a>
  3205.  
  3206.                                    <div class="ms_catagory_item" data='2'>
  3207.                        <div class="ms_catagory_item_wrap">
  3208.                            
  3209.                            <div class="ms_catagory_item_flex">
  3210.                                <ul class="category_1" >
  3211.                                                                                <li class="ms_catagory_item_list" data='37'
  3212.                                                                                            >
  3213.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37" target="_self">
  3214.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >六角拍賽博6</div>
  3215.                                                </a>
  3216.                                            </li>
  3217.                                                                                    <li class="ms_catagory_item_list" data='14'
  3218.                                                                                            >
  3219.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14" target="_self">
  3220.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >Defensive系列</div>
  3221.                                                </a>
  3222.                                            </li>
  3223.                                                                                    <li class="ms_catagory_item_list" data='15'
  3224.                                                                                            >
  3225.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15" target="_self">
  3226.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >VPS系列</div>
  3227.                                                </a>
  3228.                                            </li>
  3229.                                                                                    <li class="ms_catagory_item_list" data='16'
  3230.                                                                                            >
  3231.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16" target="_self">
  3232.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >Azalea系列</div>
  3233.                                                </a>
  3234.                                            </li>
  3235.                                                                                    <li class="ms_catagory_item_list" data='17'
  3236.                                                                                            >
  3237.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17" target="_self">
  3238.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >Ebenholz系列</div>
  3239.                                                </a>
  3240.                                            </li>
  3241.                                                                                    <li class="ms_catagory_item_list" data='24'
  3242.                                                                                            >
  3243.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24" target="_self">
  3244.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >Dynasty Carbon系列</div>
  3245.                                                </a>
  3246.                                            </li>
  3247.                                                                                    <li class="ms_catagory_item_list" data='26'
  3248.                                                                                            >
  3249.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26" target="_self">
  3250.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >Clipper系列</div>
  3251.                                                </a>
  3252.                                            </li>
  3253.                                                                                    <li class="ms_catagory_item_list" data='13'
  3254.                                                                                            >
  3255.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13" target="_self">
  3256.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >RoseWood系列</div>
  3257.                                                </a>
  3258.                                            </li>
  3259.                                                                                    <li class="ms_catagory_item_list" data='12'
  3260.                                                                                            >
  3261.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12" target="_self">
  3262.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >Carbanado系列</div>
  3263.                                                </a>
  3264.                                            </li>
  3265.                                                                                    <li class="ms_catagory_item_list" data='10'
  3266.                                                                                            >
  3267.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10" target="_self">
  3268.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >經典系列</div>
  3269.                                                </a>
  3270.                                            </li>
  3271.                                                                        </ul>
  3272.  
  3273.                                <div class="dl_wrap">
  3274.                                                                            <dl>
  3275.                                            <dt class="ms_catagory_item_list"
  3276.                                                                                            >
  3277.                                                <a title="" class="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31" target="">休閒系列</a>
  3278.                                            </dt>
  3279.                                                                                            <dd class="ms_catagory_item_list"
  3280.                                                                                                >
  3281.                                                    <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35" target="_self">
  3282.                                                        <div class="icon_nun"></div>                                                        <div class="txt" >STIGA 休閒型</div>
  3283.                                                    </a>
  3284.                                                </dd>
  3285.                                                                                                <dd class="ms_catagory_item_list"
  3286.                                                                                                >
  3287.                                                    <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34" target="_self">
  3288.                                                        <div class="icon_nun"></div>                                                        <div class="txt" >STIGA 戶外型</div>
  3289.                                                    </a>
  3290.                                                </dd>
  3291.                                                                                        </dl>
  3292.                                                                    </div>
  3293.  
  3294.                            </div>
  3295.                            
  3296.                            <div class="arrow"></div>
  3297.                        </div>
  3298.                        <!--<div class="arrow"></div>-->
  3299.                    </div>
  3300.                                </li>
  3301.                        
  3302.            <li data='31'
  3303.  
  3304.                        >
  3305.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" style="color:;background-color:;">
  3306.                    <span class="name_standard">桌球檯</span>
  3307.                    <span class="name_hover">TABLE</span>
  3308.                </a>
  3309.  
  3310.                            </li>
  3311.                        
  3312.            <li data='32'
  3313.  
  3314.                        >
  3315.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=32" target="_self" style="color:;background-color:;">
  3316.                    <span class="name_standard">球拍膠皮</span>
  3317.                    <span class="name_hover">球拍膠皮</span>
  3318.                </a>
  3319.  
  3320.                            </li>
  3321.                        
  3322.            <li data='33'
  3323.  
  3324.                        >
  3325.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/product_store?store_type_sn=33" target="_self" style="color:;background-color:;">
  3326.                    <span class="name_standard">其他用品配備</span>
  3327.                    <span class="name_hover">其他用品配備</span>
  3328.                </a>
  3329.  
  3330.                                    <div class="ms_catagory_item" data='5'>
  3331.                        <div class="ms_catagory_item_wrap">
  3332.                            
  3333.                            <div class="ms_catagory_item_flex">
  3334.                                <ul class="category_1" >
  3335.                                                                                <li class="ms_catagory_item_list" data='27'
  3336.                                                                                            >
  3337.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27" target="_self">
  3338.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >桌球</div>
  3339.                                                </a>
  3340.                                            </li>
  3341.                                                                                    <li class="ms_catagory_item_list" data='19'
  3342.                                                                                            >
  3343.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19" target="_self">
  3344.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >拍袋&背包</div>
  3345.                                                </a>
  3346.                                            </li>
  3347.                                                                                    <li class="ms_catagory_item_list" data='20'
  3348.                                                                                            >
  3349.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20" target="_self">
  3350.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >桌球鞋</div>
  3351.                                                </a>
  3352.                                            </li>
  3353.                                                                                    <li class="ms_catagory_item_list" data='36'
  3354.                                                                                            >
  3355.                                                <a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36" target="_self">
  3356.                                                    <div class="icon_nun"></div>                                                    <div class="txt" >配件</div>
  3357.                                                </a>
  3358.                                            </li>
  3359.                                                                        </ul>
  3360.  
  3361.                                <div class="dl_wrap">
  3362.                                                                    </div>
  3363.  
  3364.                            </div>
  3365.                            
  3366.                            <div class="arrow"></div>
  3367.                        </div>
  3368.                        <!--<div class="arrow"></div>-->
  3369.                    </div>
  3370.                                </li>
  3371.                        
  3372.            <li data='29'
  3373.  
  3374.                        >
  3375.                <a title="" class=" ds_nav_text_color" href="https://www.stiga.com.tw/physical_store.php" target="_self" style="color:;background-color:;">
  3376.                    <span class="name_standard">經銷商</span>
  3377.                    <span class="name_hover">經銷商</span>
  3378.                </a>
  3379.  
  3380.                            </li>
  3381.                </ul>
  3382.  
  3383. </div>
  3384.  
  3385.  
  3386. <div id="id_master_catalog_collapse_wrap" class="collapse dark">
  3387.  
  3388.    <div id="id_master_catalog_collapse_mask"></div>
  3389.  
  3390.    <div id="id_master_catalog_collapse_close"><i class="fas fa-times-circle"></i></div>
  3391.  
  3392.    <!--<div class="catagory_logo"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_top_menu_1.jpeg?1652721395" alt=""></div>-->
  3393.  
  3394.    <div class="stage ms_main_menu">
  3395.        <dl>
  3396.            <dt>商品館別分類</dt>
  3397.                            <dd data='26' class="">
  3398.                    
  3399.                    <div class="icon"></div>                        
  3400.                        <a href="wc-45" target="_self" style="color:">
  3401.                            <span class="name_standard">關於STIGA</span>
  3402.                            <span class="name_hover">關於STIGA</span>
  3403.                        </a>
  3404.                                        
  3405.                </dd>
  3406.  
  3407.                                <dd data='27' class="">
  3408.                    
  3409.                    <div class="icon"></div>                        
  3410.                        <a href="wc-48" target="_self" style="color:">
  3411.                            <span class="name_standard">六角拍賽博6</span>
  3412.                            <span class="name_hover">Cybershape</span>
  3413.                        </a>
  3414.                                        
  3415.                </dd>
  3416.  
  3417.                                <dd data='23' class="has_sub">
  3418.                    
  3419.                    <div class="icon"></div>                        
  3420.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=23" target="_self" style="color:">
  3421.                            <span class="name_standard">桌球拍</span>
  3422.                            <span class="name_hover">桌球拍</span>
  3423.                        </a>
  3424.                                        
  3425.                </dd>
  3426.  
  3427.                                <dd data='31' class="">
  3428.                    
  3429.                    <div class="icon"></div>                        
  3430.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" style="color:">
  3431.                            <span class="name_standard">桌球檯</span>
  3432.                            <span class="name_hover">TABLE</span>
  3433.                        </a>
  3434.                                        
  3435.                </dd>
  3436.  
  3437.                                <dd data='32' class="">
  3438.                    
  3439.                    <div class="icon"></div>                        
  3440.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=32" target="_self" style="color:">
  3441.                            <span class="name_standard">球拍膠皮</span>
  3442.                            <span class="name_hover">球拍膠皮</span>
  3443.                        </a>
  3444.                                        
  3445.                </dd>
  3446.  
  3447.                                <dd data='33' class="has_sub">
  3448.                    
  3449.                    <div class="icon"></div>                        
  3450.                        <a href="https://www.stiga.com.tw/product_store?store_type_sn=33" target="_self" style="color:">
  3451.                            <span class="name_standard">其他用品配備</span>
  3452.                            <span class="name_hover">其他用品配備</span>
  3453.                        </a>
  3454.                                        
  3455.                </dd>
  3456.  
  3457.                                <dd data='29' class="">
  3458.                    
  3459.                    <div class="icon"></div>                        
  3460.                        <a href="https://www.stiga.com.tw/physical_store.php" target="_self" style="color:">
  3461.                            <span class="name_standard">經銷商</span>
  3462.                            <span class="name_hover">經銷商</span>
  3463.                        </a>
  3464.                                        
  3465.                </dd>
  3466.  
  3467.                        </dl>
  3468.    </div>
  3469.  
  3470.    <div class="stage ms_category_1 ms_category">
  3471.                    <div class="ms_category_item" data='23'>桌球拍                                <div class="ms_category_item_wrap">
  3472.                    <ul class="category_1" >
  3473.                        <li class="ms_catagory_item_list" data='37'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37" target="_self">六角拍賽博6</a></li><li class="ms_catagory_item_list" data='14'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14" target="_self">Defensive系列</a></li><li class="ms_catagory_item_list" data='15'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15" target="_self">VPS系列</a></li><li class="ms_catagory_item_list" data='16'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16" target="_self">Azalea系列</a></li><li class="ms_catagory_item_list" data='17'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17" target="_self">Ebenholz系列</a></li><li class="ms_catagory_item_list" data='24'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24" target="_self">Dynasty Carbon系列</a></li><li class="ms_catagory_item_list" data='26'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26" target="_self">Clipper系列</a></li><li class="ms_catagory_item_list" data='13'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13" target="_self">RoseWood系列</a></li><li class="ms_catagory_item_list" data='12'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12" target="_self">Carbanado系列</a></li><li class="ms_catagory_item_list" data='10'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10" target="_self">經典系列</a></li>                    </ul>
  3474.                    <div class="dl_wrap">
  3475.                                                    <dl>
  3476.                                <dt class="ms_catagory_item_list"><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31" target="">休閒系列</a></dt>
  3477.                                <dd class="ms_catagory_item_list"><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35" target="_self">STIGA 休閒型</a></dd><dd class="ms_catagory_item_list"><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34" target="_self">STIGA 戶外型</a></dd>                            </dl>
  3478.                                            </div>
  3479.                </div>
  3480.            </div>
  3481.                    <div class="ms_category_item" data='33'>其他用品配備                                <div class="ms_category_item_wrap">
  3482.                    <ul class="category_1" >
  3483.                        <li class="ms_catagory_item_list" data='27'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27" target="_self">桌球</a></li><li class="ms_catagory_item_list" data='19'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19" target="_self">拍袋&背包</a></li><li class="ms_catagory_item_list" data='20'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20" target="_self">桌球鞋</a></li><li class="ms_catagory_item_list" data='36'><a title="" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36" target="_self">配件</a></li>                    </ul>
  3484.                    <div class="dl_wrap">
  3485.                                            </div>
  3486.                </div>
  3487.            </div>
  3488.            </div>
  3489.  
  3490.    <!-- <div class="stage ms_catagory_1 ms_catagory">
  3491.        <dl class="" data='23'>
  3492.                <dt>桌球拍</dt>
  3493.                    <dd data='37'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=37'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>六角拍賽博6</a></dd><dd data='14'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=14'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Defensive系列</a></dd><dd data='15'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=15'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>VPS系列</a></dd><dd data='16'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=16'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Azalea系列</a></dd><dd data='17'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=17'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Ebenholz系列</a></dd><dd data='24'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=24'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Dynasty Carbon系列</a></dd><dd data='26'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=26'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Clipper系列</a></dd><dd data='13'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=13'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>RoseWood系列</a></dd><dd data='12'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=12'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>Carbanado系列</a></dd><dd data='10'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=10'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>經典系列</a></dd><dd data='31'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=31'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>休閒系列</a></dd>            </dl><dl class="" data='33'>
  3494.                <dt>其他用品配備</dt>
  3495.                    <dd data='27'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>桌球</a></dd><dd data='19'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>拍袋&背包</a></dd><dd data='20'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=20'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>桌球鞋</a></dd><dd data='36'><a href='https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>配件</a></dd>            </dl>    </div>
  3496.  
  3497.    <div class="stage ms_catagory_2 ms_catagory">
  3498.        <dl class="" data='31'>
  3499.                <dt>休閒系列</dt>
  3500.                    <dd data='35'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=35'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>STIGA 休閒型</a></dd><dd data='34'><a href='https://www.stiga.com.tw/product_category?store_type_sn=23&category_sn=34'><i class="fa fa-chevron-right" style="padding:0px 10px;"></i>STIGA 戶外型</a></dd>            </dl>    </div>
  3501.  
  3502.    <div class="stage ms_catagory_3 ms_catagory">
  3503.            </div> -->
  3504. </div>
  3505.            
  3506.                <div id="id_master_menu_catalog_logo" class="master_vision_index">
  3507.                    <a href="https://www.stiga.com.tw"><img src="https://pic.vcp.tw/upload/stiga/website_info/pic_logo_top_menu_1.jpeg?1652721395"  alt="STIGA | 瑞典國際乒乓球台灣代理商"></a>
  3508.                </div>
  3509.            
  3510.                <div id="id_master_menu_catalog_icon" class="master_vision_index">
  3511.                    <i class="fas fa-bars"></i>
  3512.                </div>
  3513.            </div>
  3514.        </div>
  3515.    </nav>
  3516.     <!--link rel="stylesheet" href="fs/all/css/template.css"-->
  3517. <div class="master_vision ad_overflow_video animation_scroll default_animation">
  3518.    <div class="video_wrap">
  3519.        <video class='video_autoplay' preload='auto' loop muted playsinline autoplay style='width:100%;'><source src='https://pic.vcp.tw/upload/stiga/master_vision/background_1.mp4?1672399391' type='video/mp4'>Your browser does not support HTML5 video.</video><div class='mask'></div>    </div>
  3520.  
  3521.    <div class="content_wrap left_bottom">
  3522.        <div class="title" style="color:#;">STIGA 桌球世界品牌</div>
  3523.        <div class="txt" style="color:#;">滿足您所有桌球的需求,輕鬆享受桌球樂趣</div>
  3524.        <div class="border_bottom" style="background-color:#"></div>
  3525.        <div class="description" style="color:#;"></div>
  3526.    </div>
  3527.            <div id="master_vision_scroll_down_button">
  3528.            <div>Scroll Down</div>
  3529.            <i class="fas fa-angle-double-down"></i>
  3530.            <div id="scroll_down_position"></div>
  3531.        </div>
  3532.    </div>    <script>
  3533.        $(function(){
  3534.            $("#master_vision_scroll_down_button").click(function(){
  3535.                to_scrollTo("scroll_down_position",600);
  3536.            })
  3537.        })
  3538.    </script>
  3539.  
  3540.  
  3541.            <div id="dlc_sn_108" class="content_module_wrap dlc_sn_108  " style=" padding-top:4%;padding-bottom:0%;">
  3542.                <div class="bg" style=""></div>
  3543.                <div class="content_module_inner triple_pic_average_space" style="">
  3544.                    <div class="content_wrap  " style="color:#;">
  3545.                        <div class="" >
  3546.                                        <div class="cm_title_wrap" style="border-bottom:0px solid">
  3547.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>全系列產品</span></h2>
  3548.                        
  3549.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>PRODUCTS</span></h3>
  3550.                                    </div>
  3551.                                    </div>
  3552.                    </div>
  3553.  
  3554.                    <div class="cm_pic cm_left  over_hidden" style="border-radius:none;">
  3555.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_108.png?1658716436'); background-size: cover;" href="https://www.stiga.com.tw/product_store?store_type_sn=23" target="_self" file_type="tw/product_store"></a>
  3556.  
  3557.                                            </div>
  3558.  
  3559.                    <div class="cm_pic cm_middle  over_hidden" style="border-radius:none;">
  3560.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_108.png?1658715468'); background-size: cover;" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=27" target="_self" file_type="tw/product_category"></a>
  3561.  
  3562.                                            </div>
  3563.                    
  3564.                    <div class="cm_pic cm_right  over_hidden" style="border-radius:none;">
  3565.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_3_108.png?1658803485'); background-size: cover;" href="https://www.stiga.com.tw/product_store?store_type_sn=32" target="_self" file_type="tw/product_store"></a>
  3566.  
  3567.                                            </div>
  3568.                </div>
  3569.            </div>
  3570.                    <script type="module">
  3571.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3572.    
  3573.            $(function(){
  3574.                getVideoSizeProportion("dlc_sn_108");
  3575.            })
  3576.        </script>
  3577.                    <div id="dlc_sn_111" class="content_module_wrap dlc_sn_111  " style=" padding-top:2%;padding-bottom:2%;">
  3578.                <div class="bg" style=""></div>
  3579.                <div class="content_module_inner triple_pic_average_space" style="">
  3580.                    <div class="content_wrap  hide" style="color:#;">
  3581.                        <div class="" >
  3582.                                                    </div>
  3583.                    </div>
  3584.  
  3585.                    <div class="cm_pic cm_left  over_hidden" style="border-radius:none;">
  3586.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_111.png?1658715400'); background-size: cover;" href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" file_type="tw/product_store"></a>
  3587.  
  3588.                                            </div>
  3589.  
  3590.                    <div class="cm_pic cm_middle  over_hidden" style="border-radius:none;">
  3591.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/bg_pic_111.png?1658803595'); background-size: cover;" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=19" target="_self" file_type="tw/product_category"></a>
  3592.  
  3593.                                            </div>
  3594.                    
  3595.                    <div class="cm_pic cm_right  over_hidden" style="border-radius:none;">
  3596.                        <a class="cm_img" style="background-image:url('https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_3_111.png?1658715243'); background-size: cover;" href="https://www.stiga.com.tw/product_category?store_type_sn=33&category_sn=36" target="_self" file_type="tw/product_category"></a>
  3597.  
  3598.                                            </div>
  3599.                </div>
  3600.            </div>
  3601.                    <script type="module">
  3602.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3603.    
  3604.            $(function(){
  3605.                getVideoSizeProportion("dlc_sn_111");
  3606.            })
  3607.        </script>
  3608.        <!-- 純文字 -->
  3609.            <div id="dlc_sn_110" class="content_module_wrap dlc_sn_110  " style=" padding-top:0%;padding-bottom:2%; ">
  3610.                <div class="bg" style=""></div>
  3611.                <div class="content_module_inner text_only " style="border-radius:none;">
  3612.                    <div class="content_wrap " style="">
  3613.                                    <div class="cm_title_wrap" style="border-bottom:0px solid">
  3614.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>熱賣商品</span></h2>
  3615.                        
  3616.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;"><span style='font-size:140%;font-weight:800;'>POPULAR</span></h3>
  3617.                                    </div>
  3618.                                </div>
  3619.                </div>
  3620.            </div>
  3621.                    <script type="module">
  3622.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3623.    
  3624.            $(function(){
  3625.                getVideoSizeProportion("dlc_sn_110");
  3626.            })
  3627.        </script>
  3628.        <!-- embed M -->
  3629.            <div id="dlc_sn_109" class="content_module_wrap embed_module dlc_sn_109 overflow " style=" padding-top:0%;">
  3630.                <div class="bg" style=""></div>
  3631.                        <div class="ad_product_a6 animation_scroll default_animation">
  3632.    
  3633.            <div class="a6_title ds_main_color txt" style="color:#; background-color:#; padding-left: 1em">熱賣產品</div>    
  3634.            <ul class="a6_slider a6_slider_sn_1_embed_109">
  3635.                                    <li class="a6_list_item ds_standard_bg_color">
  3636.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_37.jpg?1657705922')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=37')">
  3637.                                                    </div>
  3638.                        <div class="ds_product_promotion_color">
  3639.                            <div class="promote"></div>
  3640.                        </div>
  3641.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>六角賽博Cybershape</h2></div>
  3642.    
  3643.                        <div class="parameter_link">
  3644.                            
  3645.                        </div>
  3646.    
  3647.                        <div class="price">
  3648.                            <div class=" ds_product_price_color ds_product_price_size">
  3649.                                <span class='sale_price '>$10,000</span>                            </div>
  3650.                        </div>
  3651.  
  3652.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=37">直接購買</a></div></div>
  3653.                    </li>
  3654.                                        <li class="a6_list_item ds_standard_bg_color">
  3655.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_65.jpeg?1658396762')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=65')">
  3656.                                                    </div>
  3657.                        <div class="ds_product_promotion_color">
  3658.                            <div class="promote">控154  速63  長顆   硬20°</div>
  3659.                        </div>
  3660.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>桌球膠皮 STIGA HORIZONTAL 20</h2></div>
  3661.    
  3662.                        <div class="parameter_link">
  3663.                            <span style="background-color:#100cc0; color:#fff">硬度 20°</span><span style="background-color:#100cc0; color:#fff">控制 154</span>
  3664.                        </div>
  3665.    
  3666.                        <div class="price">
  3667.                            <div class=" ds_product_price_color ds_product_price_size">
  3668.                                <span class='sale_price '>$1,700</span>                            </div>
  3669.                        </div>
  3670.  
  3671.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=65">直接購買</a></div></div>
  3672.                    </li>
  3673.                                        <li class="a6_list_item ds_standard_bg_color">
  3674.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_69.jpeg?1658397645')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=69')">
  3675.                                                    </div>
  3676.                        <div class="ds_product_promotion_color">
  3677.                            <div class="promote"></div>
  3678.                        </div>
  3679.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>網架測量尺</h2></div>
  3680.    
  3681.                        <div class="parameter_link">
  3682.                            
  3683.                        </div>
  3684.    
  3685.                        <div class="price">
  3686.                            <div class=" ds_product_price_color ds_product_price_size">
  3687.                                <span class='sale_price '>$160</span>                            </div>
  3688.                        </div>
  3689.  
  3690.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=69">直接購買</a></div></div>
  3691.                    </li>
  3692.                                        <li class="a6_list_item ds_standard_bg_color">
  3693.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_52.jpg?1658390421')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=52')">
  3694.                                                    </div>
  3695.                        <div class="ds_product_promotion_color">
  3696.                            <div class="promote"></div>
  3697.                        </div>
  3698.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>CLIPPER CR WRB</h2></div>
  3699.    
  3700.                        <div class="parameter_link">
  3701.                            <span style="background-color:#100cc0; color:#fff">進攻型</span><span style="background-color:#100cc0; color:#fff">7層</span>
  3702.                        </div>
  3703.    
  3704.                        <div class="price">
  3705.                            <div class=" ds_product_price_color ds_product_price_size">
  3706.                                <span class='sale_price '>$3,000</span>                            </div>
  3707.                        </div>
  3708.  
  3709.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=52">直接購買</a></div></div>
  3710.                    </li>
  3711.                                        <li class="a6_list_item ds_standard_bg_color">
  3712.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_66.jpeg?1672391237')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=66')">
  3713.                                                    </div>
  3714.                        <div class="ds_product_promotion_color">
  3715.                            <div class="promote">控78   速156   旋134 硬47.5°</div>
  3716.                        </div>
  3717.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>桌球膠皮 STIGA DNA PRO M</h2></div>
  3718.    
  3719.                        <div class="parameter_link">
  3720.                            <span style="background-color:#100cc0; color:#fff">控制 78</span><span style="background-color:#100cc0; color:#fff">速度 156</span>
  3721.                        </div>
  3722.    
  3723.                        <div class="price">
  3724.                            <div class=" ds_product_price_color ds_product_price_size">
  3725.                                <span class='sale_price '>$2,200</span>                            </div>
  3726.                        </div>
  3727.  
  3728.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=66">直接購買</a></div></div>
  3729.                    </li>
  3730.                                        <li class="a6_list_item ds_standard_bg_color">
  3731.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_42.jpeg?1672392830')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=42')">
  3732.                                                    </div>
  3733.                        <div class="ds_product_promotion_color">
  3734.                            <div class="promote">許昕設計款(藍標)</div>
  3735.                        </div>
  3736.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>DYNASTY CARBON XU XIN EDITION</h2></div>
  3737.    
  3738.                        <div class="parameter_link">
  3739.                            <span style="background-color:#100cc0; color:#fff">進攻型+</span><span style="background-color:#100cc0; color:#fff">5層+2層</span>
  3740.                        </div>
  3741.    
  3742.                        <div class="price">
  3743.                            <div class=" ds_product_price_color ds_product_price_size">
  3744.                                <span class='sale_price '>$10,000</span>                            </div>
  3745.                        </div>
  3746.  
  3747.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=42">直接購買</a></div></div>
  3748.                    </li>
  3749.                                        <li class="a6_list_item ds_standard_bg_color">
  3750.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_43.jpeg?1658373586')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=43')">
  3751.                                                    </div>
  3752.                        <div class="ds_product_promotion_color">
  3753.                            <div class="promote">許昕黑標</div>
  3754.                        </div>
  3755.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>DYNASTY CARBON(許昕黑標)</h2></div>
  3756.    
  3757.                        <div class="parameter_link">
  3758.                            <span style="background-color:#100cc0; color:#fff">進攻型+</span><span style="background-color:#100cc0; color:#fff">5層+2層</span>
  3759.                        </div>
  3760.    
  3761.                        <div class="price">
  3762.                            <div class=" ds_product_price_color ds_product_price_size">
  3763.                                <span class='sale_price '>$8,800</span>                            </div>
  3764.                        </div>
  3765.  
  3766.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=43">直接購買</a></div></div>
  3767.                    </li>
  3768.                                        <li class="a6_list_item ds_standard_bg_color">
  3769.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_58.jpeg?1658393105')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=58')">
  3770.                                                    </div>
  3771.                        <div class="ds_product_promotion_color">
  3772.                            <div class="promote">ITTF認證國際比賽球</div>
  3773.                        </div>
  3774.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>STIGA 三星(ABS)塑料比賽球</h2></div>
  3775.    
  3776.                        <div class="parameter_link">
  3777.                            
  3778.                        </div>
  3779.    
  3780.                        <div class="price">
  3781.                            <div class=" ds_product_price_color ds_product_price_size">
  3782.                                <span class='sale_price '>$600</span>                            </div>
  3783.                        </div>
  3784.  
  3785.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=58">直接購買</a></div></div>
  3786.                    </li>
  3787.                                        <li class="a6_list_item ds_standard_bg_color">
  3788.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_70.jpeg?1658397749')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=70')">
  3789.                                                    </div>
  3790.                        <div class="ds_product_promotion_color">
  3791.                            <div class="promote"></div>
  3792.                        </div>
  3793.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>STIGA 裁判三色牌配件組</h2></div>
  3794.    
  3795.                        <div class="parameter_link">
  3796.                            
  3797.                        </div>
  3798.    
  3799.                        <div class="price">
  3800.                            <div class=" ds_product_price_color ds_product_price_size">
  3801.                                <span class='sale_price '>$650</span>                            </div>
  3802.                        </div>
  3803.  
  3804.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=70">直接購買</a></div></div>
  3805.                    </li>
  3806.                                        <li class="a6_list_item ds_standard_bg_color">
  3807.                        <div class="a6_item_pic" style="background-image:url('https://pic.vcp.tw/upload/stiga/product/pic_list_out_50.jpg?1658383122')" onclick="to_open_link('https://www.stiga.com.tw/product_detail.php?product_sn=50')">
  3808.                                                    </div>
  3809.                        <div class="ds_product_promotion_color">
  3810.                            <div class="promote">玫瑰木七夾板</div>
  3811.                        </div>
  3812.                        <div class="product_name ds_product_caption_color ds_product_caption_size"><h2>ROSEWOOD NCT VII 玫瑰七</h2></div>
  3813.    
  3814.                        <div class="parameter_link">
  3815.                            <span style="background-color:#100cc0; color:#fff">進攻型</span><span style="background-color:#100cc0; color:#fff">7層</span>
  3816.                        </div>
  3817.    
  3818.                        <div class="price">
  3819.                            <div class=" ds_product_price_color ds_product_price_size">
  3820.                                <span class='sale_price '>$6,600</span>                            </div>
  3821.                        </div>
  3822.  
  3823.                                                <div class="to_know "><div class="ds_product_CTA_bg_color ds_product_CTA_color"><a href="https://www.stiga.com.tw/product_detail.php?product_sn=50">直接購買</a></div></div>
  3824.                    </li>
  3825.                                </ul>
  3826.        </div>
  3827.    
  3828.        <script>
  3829.            $(".a6_slider_sn_1_embed_109").slick({
  3830.                autoplay: false,
  3831.                autoplaySpeed:5000,
  3832.                dots: true,
  3833.                speed: 700,
  3834.                slidesToShow: 5,
  3835.                slidesToScroll:5
  3836.            })
  3837.        </script>
  3838.                    </div>
  3839.                    <script type="module">
  3840.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3841.    
  3842.            $(function(){
  3843.                getVideoSizeProportion("dlc_sn_109");
  3844.            })
  3845.        </script>
  3846.                    <!-- 文繞圖 單圖 右圖左文 -->
  3847.            <div id="dlc_sn_94" class="content_module_wrap dlc_sn_94  " style=" padding-top:2%;padding-bottom:5%;">
  3848.                <div class="bg" style=""></div>
  3849.                <div class="content_module_inner text_wrap_single_left over_hidden" style="border-radius:none;">
  3850.                    <div class="content_wrap  animation_scroll fadeLeft  " style="">
  3851.                                    <div class="cm_title_wrap" style="border-bottom:1px solid">
  3852.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-weight:700;'>STIGA 專利六角球拍</span></h2>
  3853.                        
  3854.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;">瑞典19歲小將莫雷加德得分利器</h3>
  3855.                                    </div>
  3856.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style=" font-size:vw;">
  3857.                <br>六邊形球拍的重量跟STIGA的圓型球拍基本相同,而最佳擊球區域整體擴大到約1成。由於邊緣呈現一定角度,「不容易感覺到揮動球拍時的離心力,正手強攻時或許有違和感」,適合擅長前臺快攻和反手推擋的選手。                    <div class="cm_cta_btn_wrap">
  3858.                        <a class="cm_cta_btn ds_btn_cta" target="_self" href="https://www.stiga.com.tw/wc-48" style='color:#ffffff!important;background-color:#000000!important;' color='#ffffff,#' bg_color='#000000,#'>了解更多</a>
  3859.                    </div>
  3860.                                </div>
  3861.                                </div>
  3862.                    <a class="cm_pic animation_scroll fadeRight " style="" href="javascript:void(0)">
  3863.                        <img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_94.png?1672392502">
  3864.                                            </a>
  3865.                </div>
  3866.            </div>
  3867.                    <script type="module">
  3868.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3869.    
  3870.            $(function(){
  3871.                getVideoSizeProportion("dlc_sn_94");
  3872.            })
  3873.        </script>
  3874.                    <!-- 文繞影 左影右文-->
  3875.            <div id="dlc_sn_97" class="content_module_wrap dlc_sn_97  " style=" padding-top:2%;padding-bottom:5%;">
  3876.                <div class="bg" style=""></div>
  3877.                <div class="content_module_inner text_wrap_video_right over_hidden" style="border-radius:none;">
  3878.                    <div class="cm_video animation_scroll fadeRight ">
  3879.                                                    <video id="video" class="video_autoplay" loop muted playsinline autoplay>
  3880.                                <source src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/video_97.mp4?1672397090" type="video/mp4">
  3881.                                <!--source src="mov_bbb.ogg" type="video/ogg"-->
  3882.                                Your browser does not support HTML5 video.
  3883.                            </video>
  3884.  
  3885.                                                        
  3886.                                                            <div class="controler">
  3887.                                    <div class="btn-stop">play <i class="far fa-play-circle"></i></div>
  3888.                                    <div class="btn-volume">volume <i class="fas fa-times"></i></div>
  3889.                                </div>
  3890.                                                                        </div>
  3891.                    
  3892.                    <div class="content_wrap  animation_scroll fadeLeft  " style="">
  3893.                                    <div class="cm_title_wrap" style="border-bottom:1px solid">
  3894.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style=" font-size:vw;"><span style='font-weight:700;'>STIGA 獨家研發製成球拍</span></h2>
  3895.                        
  3896.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style=" font-size:vw;">柄式、重量、厚度</h3>
  3897.                                    </div>
  3898.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style=" font-size:vw;">
  3899.                <br>每一隻球拍STIGA考量選手的特性,不管是重量、柄式等等,使用獨特的板材黏和技術與乾燥處理,創造出一支支輕量化以及符合商家的優質球板。                    <div class="cm_cta_btn_wrap">
  3900.                        <a class="cm_cta_btn ds_btn_cta" target="_self" href="https://www.stiga.com.tw/product_store?store_type_sn=23" style='color:#ffffff!important;background-color:#000000!important;' color='#ffffff,#000000' bg_color='#000000,#ffffff'>立即購買</a>
  3901.                    </div>
  3902.                                </div>
  3903.                                </div>
  3904.                </div>
  3905.            </div>
  3906.                    <script type="module">
  3907.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3908.    
  3909.            $(function(){
  3910.                getVideoSizeProportion("dlc_sn_97");
  3911.            })
  3912.        </script>
  3913.                    <!-- 文繞圖 單圖 左圖右文 -->
  3914.            <div id="dlc_sn_20" class="content_module_wrap dlc_sn_20  " style="background-color: #ffffff; padding-top:5%;padding-bottom:5%;">
  3915.                <div class="bg" style=""></div>
  3916.                <div class="content_module_inner text_wrap_single_right over_hidden" style="border-radius:none;">
  3917.                    <a class="cm_pic animation_scroll fadeIn " href="https://www.stiga.com.tw/wc-45" target="_self" file_type="tw/wc-45">
  3918.                        <img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_20.png?1672391999">
  3919.                                            </a>
  3920.                    
  3921.                    <div class="content_wrap  animation_scroll fadeIn  " style="color:#ffffff;background-color: rgba(0,0,0,1);padding:2% 3%;">
  3922.                                    <div class="cm_title_wrap" style="border-bottom:0px solid">
  3923.                                        <h2 class="cm_title ds_text_caption_color ds_text_caption_size text_align_center" style="color:#ffffff; font-size:vw;">關於我們</h2>
  3924.                        
  3925.                        <h3 class="cm_subtitle ds_text_sub_caption_color ds_text_sub_caption_size text_align_center" style="color:#ffffff; font-size:vw;">BUILDING WORLD CHAMPIONS SINCE 1944</h3>
  3926.                                    </div>
  3927.                        <div class="cm_text_content ds_text_content_color ds_text_content_size text_align_center" style="color:#ffffff; font-size:vw;">
  3928.                STIGA 70多年來一直是乒乓球運動的世界領導者<br />
  3929. 台灣STIGA擁有優秀的國際團隊和精湛的STIGA製造技術<br />
  3930. 只為了提供給台灣消費者更好的選擇            </div>
  3931.                                </div>
  3932.                </div>
  3933.            </div>
  3934.                    <script type="module">
  3935.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  3936.    
  3937.            $(function(){
  3938.                getVideoSizeProportion("dlc_sn_20");
  3939.            })
  3940.        </script>
  3941.        <!-- 輪播圖 -->
  3942.            <div id="dlc_sn_21" class="content_module_wrap dlc_sn_21 overflow " style=" padding-bottom:0%;">
  3943.                <div class="bg" style=""></div>
  3944.                <div class="content_module_inner slide_show_standard">
  3945.                    <div class="content_wrap full_width animation_scroll fadeIn  hide" style="color:#ffffff;">
  3946.                                            </div>
  3947.                    <div class="container animation_scroll fadeIn  over_hidden" style="border-radius:none;">
  3948.                                                        <div class="item" style="">
  3949.                                    <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" file_type="tw/product_store">
  3950.                                        <div class="cm_pic cm_">
  3951.                                            <div class="cm_img"><img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_21.png?1672391700"></div>
  3952.                                        </div>
  3953.                                        <div class="cm_pic_content_wrap" style="">
  3954.                                                                                
  3955.                                        </div>
  3956.                                    </a>
  3957.                                </div>
  3958.                                                                <div class="item" style="">
  3959.                                    <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" file_type="tw/product_store">
  3960.                                        <div class="cm_pic cm_">
  3961.                                            <div class="cm_img"><img alt="" src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_21.png?1672391858"></div>
  3962.                                        </div>
  3963.                                        <div class="cm_pic_content_wrap" style="">
  3964.                                                                                
  3965.                                        </div>
  3966.                                    </a>
  3967.                                </div>
  3968.                                
  3969.                        <!--
  3970.                            <div class="item animation_scroll fadeIn ">
  3971.                                <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" file_type="tw/product_store" style="background-color:unset">
  3972.                                    <div class="cm_pic cm_1">
  3973.                                        <div class="cm_img"><img src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_1_21.png?1672391700"></div>
  3974.                                    </div>
  3975.                                    <div class="cm_pic_content_wrap">
  3976.                                                                            
  3977.                                    </div>
  3978.                                </a>
  3979.                            </div>
  3980.                            
  3981.                            <div class="item animation_scroll fadeIn ">
  3982.                                <a href="https://www.stiga.com.tw/product_store?store_type_sn=31" target="_self" file_type="tw/product_store" style="background-color:unset">
  3983.                                    <div class="cm_pic cm_2">
  3984.                                        <div class="cm_img"><img src="https://pic.vcp.tw/upload/stiga/dynamic_layout_content/pic_2_21.png?1672391858"></div>
  3985.                                    </div>
  3986.                                    <div class="cm_pic_content_wrap">
  3987.                                                                            
  3988.                                    </div>
  3989.                                </a>
  3990.                            </div>
  3991.  
  3992.                            <div class="item animation_scroll fadeIn ">
  3993.                                <a href="javascript:void(0)" style="background-color:unset">
  3994.                                    <div class="cm_pic cm_3">
  3995.                                        <div class="cm_img"><img src=""></div>
  3996.                                    </div>
  3997.                                    <div class="cm_pic_content_wrap">
  3998.                                                                            
  3999.                                    </div>
  4000.                                </a>
  4001.                            </div>
  4002.  
  4003.                            <div class="item animation_scroll fadeIn ">
  4004.                                <a href="javascript:void(0)" style="background-color:unset">
  4005.                                    <div class="cm_pic cm_4">
  4006.                                        <div class="cm_img"><img src=""></div>
  4007.                                    </div>
  4008.                                    <div class="cm_pic_content_wrap">
  4009.                                                                            
  4010.                                    </div>
  4011.                                </a>
  4012.                            </div>
  4013.  
  4014.                            <div class="item animation_scroll fadeIn ">
  4015.                                <a href="javascript:void(0)" style="background-color:unset">
  4016.                                    <div class="cm_pic cm_5">
  4017.                                        <div class="cm_img"><img src=""></div>
  4018.                                    </div>
  4019.                                    <div class="cm_pic_content_wrap">
  4020.                                                                            
  4021.                                    </div>
  4022.                                </a>
  4023.                            </div>
  4024.                        -->
  4025.                    </div>
  4026.                </div>
  4027.            </div>
  4028.            <script>
  4029.                $("#dlc_sn_21 .container").slick({
  4030.                autoplay: true,
  4031.                autoplaySpeed:5000,
  4032.                dots: true,
  4033.                speed: 700,
  4034.                slidesToShow: 1,
  4035.                slidesToScroll:1
  4036.            })
  4037.            </script>
  4038.                    <script type="module">
  4039.            import {getVideoSizeProportion} from "https://cdn.matrixec.com/js/dynamic_module.js";
  4040.    
  4041.            $(function(){
  4042.                getVideoSizeProportion("dlc_sn_21");
  4043.            })
  4044.        </script>
  4045.         <div class="div_middle_box clear">
  4046.  
  4047. <div class="div_middle_left_big">
  4048. </div>
  4049.  
  4050. <div class="div_middle_right_small">
  4051. </div>
  4052.  
  4053. </div>
  4054. <script type="application/ld+json" async>{"@context":"http:\/\/schema.org","@type":"Organization","legalName":"STIGA\u53f0\u7063\u7e3d\u4ee3\u7406","url":"https:\/\/www.stiga.com.tw","logo":"https:\/\/pic.vcp.tw\/upload\/stiga\/website_info\/pic_logo_1.jpeg?1672399823","email":"","telephone":"0222436346","address":{"@type":"PostalAddress","postalCode":"235","streetAddress":"\u65b0\u5317\u5e02\u4e2d\u548c\u5340\u4e2d\u5c71\u8def\u4e8c\u6bb5362-2\u865f2\u6a13"},"contactPoint":{"@type":"ContactPoint","telephone":"+886-2-2243-6346","contactType":"customer service","availableLanguage":"tw","areaServed":"tw"}}</script><script type="application/ld+json" async>{"@context":"http:\/\/schema.org","@type":"Website","name":"STIGA | \u745e\u5178\u570b\u969b\u4e52\u4e53\u7403\u53f0\u7063\u4ee3\u7406\u5546","alternateName":"STIGA","url":"https:\/\/www.stiga.com.tw","potentialAction":{"@type":"SearchAction","target":"https:\/\/www.stiga.com.tw\/product_search.php?product_keyword={search_term_string}","query-input":"required name=search_term_string"}}</script>        <div style="position: absolute; color: transparent;pointer-events:none;width:100%;overflow:hidden;"><h1>STIGA | 瑞典國際乒乓球台灣代理商</h1></div>
  4055.    <div id="id_div_footer_top" style="clear:both;height:0px;"></div>
  4056. <ul class="website_content_copyright_top new ds_footer_bg_color ds_footer_text_color "><li class="animation_scroll default_animation" style="transition-delay:0.0s">
  4057. <dl>
  4058. <dt style="color:#; background-color:#">
  4059. <a class='img' onclick='to_ajax_count_website_content(46)'><img alt='LOGO' src='https://pic.vcp.tw/upload/stiga/website_content/caption_pic_out_46.jpeg?1652777500'></a> </dt>
  4060. </dl>
  4061. </li><li class="animation_scroll default_animation" style="transition-delay:0.2s">
  4062. <dl>
  4063. <dt style="color:#; background-color:#">
  4064. <a style='color:#;' onclick=to_ajax_count_website_content(25) >聯絡我們</a> </dt>
  4065. <dd  style="background-color:#">
  4066. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(29) >客服聯繫:02-2243-6346</a> </dd>
  4067. <dd  style="background-color:#">
  4068. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(31) >公司地址:新北市中和區中山路二段362-2號2樓</a> </dd>
  4069. <dd  style="background-color:#">
  4070. <a style='color:#ffffff;' onclick=to_ajax_count_website_content(32) >營業時間:週一~週五 09:00-18:00</a> </dd>
  4071. <dd  style="background-color:#">
  4072. <a style='color:#;' onclick=to_ajax_count_website_content(50) >Copyright 2022 ©乒乓世界桌球用品有限公司</a> </dd>
  4073. </dl>
  4074. </li><li class="animation_scroll default_animation" style="transition-delay:0.4s">
  4075. <dl>
  4076. <dt style="color:#; background-color:#">
  4077. <a style='color:#;' onclick=to_ajax_count_website_content(26) >客服中心</a> </dt>
  4078. <dd  style="background-color:#">
  4079. <a style='color:#;' onclick=to_ajax_count_website_content(33) href='website_contact'  target='_self'>常見問題</a> </dd>
  4080. <dd  style="background-color:#">
  4081. <a style='color:#;' onclick=to_ajax_count_website_content(34) href='https://www.stiga.com.tw/website_faq.php?category_sn=4'  target='_self'>退換貨說明</a> </dd>
  4082. <dd  style="background-color:#">
  4083. <a style='color:;' onclick=to_ajax_count_website_content(35) href='website_contact'  target='_self'>聯繫我們</a> </dd>
  4084. <dd  style="background-color:#">
  4085. <a style='color:#;' onclick=to_ajax_count_website_content(36) href='website_faq.php?category_sn=3'  target='_self'>訂購流程說明</a> </dd>
  4086. </dl>
  4087. </li><li class="animation_scroll default_animation" style="transition-delay:0.6s">
  4088. <dl>
  4089. <dt style="color:#; background-color:#">
  4090. <a style='color:#;' onclick=to_ajax_count_website_content(28) >關注我們</a> </dt>
  4091. <dd class='inline' style="background-color:#">
  4092. <a class='img' onclick='to_ajax_count_website_content(41)'href='https://www.facebook.com/stigatabletennis'  target='_self'><img alt='FB' src='https://pic.vcp.tw/upload/new/website_content/caption_pic_out_41.png?1634204572'></a> </dd>
  4093. <dd class='inline' style="background-color:#">
  4094. <a class='img' onclick='to_ajax_count_website_content(42)'href='https://www.youtube.com/user/stigatabletennis1944'  target='_self'><img alt='YT' src='https://pic.vcp.tw/upload/new/website_content/caption_pic_out_42.png?1634204594'></a> </dd>
  4095. <dd class='inline' style="background-color:#">
  4096. <a class='img' onclick='to_ajax_count_website_content(44)'href='https://lin.ee/2GVUWi3'  target='_self'><img alt='line' src='https://pic.vcp.tw/upload/new/website_content/caption_pic_out_44.png?1634204626'></a> </dd>
  4097. </dl>
  4098. </li></ul>
  4099. <div class="footer_copyright_outside footer_copyright_outside_bg ds_main_text_color ds_main_bg_color">
  4100. <div class="footer_copyright"><div><div style="text-align: center;">Copyright(C) STIGA Taiwan All Rights Reserved.</div></div></div>
  4101. </div>
  4102.  
  4103. <div id="id_fixed_left_other_viewing" style="position:fixed;bottom:10px;left:2px;display:none;">
  4104. </div>
  4105.  
  4106. <div id="id_fixed_right_top" style="position:fixed;top:150px;right:0px;display:none;">
  4107. </div>
  4108.  
  4109. <div id="id_fixed_right_bottom_product_view_record" style="position:fixed;bottom:145px;right:50px;z-index:900">
  4110.  
  4111. <div class="right_bottom_share_link ds_btn_cta" onclick="to_show_share_link()" title="分享">
  4112. <i class="fa-solid fa-share-nodes"></i>
  4113. </div>
  4114. <div class="ds_main_color ds_standard_bg_color" style="border-radius: 10px;">
  4115. <div class="product_view_record_button" onclick="to_show_product_view_record()">
  4116. <div class="this_icon"><i class="fa fa-heart"></i></div>
  4117. <div class="caption">看商品</div>
  4118. <div class="count">0</div>
  4119. </div>
  4120. </div>
  4121. <div class="right_bottom_line" style="width: 50px;">
  4122. <a onclick="ga_track_event('url','contact_us','Line')" href="https://lin.ee/2GVUWi3" target="_blank" title="LINE 我們"><img style="width:100%" src="./fs/all/line_100rb.png?s=1722046188" border="0" align="absmiddle"></a>
  4123. </div>
  4124. </div>
  4125.  
  4126.  
  4127. <div id="id_fixed_left_bottom">
  4128.  
  4129.    <!-- line_point -->
  4130.        
  4131.     <!-- line直播提醒 -->
  4132.        
  4133. </div>
  4134.  
  4135. <div id="id_fixed_right_bottom" style="position:fixed;bottom:5px;right:0px;display:none;z-index:900">
  4136. <div class="scroll_top_button" onclick="to_scroll_top()">
  4137. <div class="this_icon"><i class="fa fa-chevron-up"></i></div>
  4138. </div>
  4139. </div>
  4140.  
  4141. <div id="id_fixed_left_watermark" style="position:fixed;top:150px;left:10px;">
  4142. </div>
  4143.  
  4144.  
  4145.  
  4146.  
  4147. <div class="share_link_panel close">
  4148.  
  4149.    <div class="mask" onclick="to_show_share_link()"></div>
  4150.  
  4151.    <div class="wrap">
  4152.        <div class="caption">分享頁面</div>
  4153.        <div class="notice"><span onclick='to_show_member_login_layer()'>您尚未登入,連結無邀請功能<span></div>
  4154.        <div class="share_link_content">
  4155.            <div class='qrcode'><img src='https://api.qrserver.com/v1/create-qr-code/?size=300x300&margin=15&data=https%3A%2F%2Fliff.line.me%2F1657662956-ljewX6qm%2Findex.php%3Futm_source%3Dm2%26utm_medium%3Dguest'></div>
  4156.            <div class="btn_wrap">  
  4157.                <!-- line 分享 -->
  4158.                <div class="btn line_icon" onclick="share_with_friend()" title="line分享">
  4159.                    <div><i class="fab fa-line"></i></div>
  4160.                </div>
  4161.                                                    <div id="share_short_url_btn" onclick="to_check_short_code('https://www.stiga.com.tw/', '/index.php')" class="btn copy_btn" data-clipboard-text="https://www.stiga.com.tw/mgm/yLGiX9" title="複製分享鏈結">
  4162.                        <div><i class="fa-solid fa-link"></i></div>
  4163.                    </div>
  4164.                            </div>
  4165.        </div>
  4166.    </div>
  4167. </div>
  4168.  
  4169. <script>
  4170.    if (document.getElementById('fbShareBtn')) {
  4171.  
  4172.        document.getElementById('fbShareBtn').onclick = function() {
  4173.  
  4174.            FB.ui({
  4175.                display: 'popup',
  4176.                method: 'share',
  4177.                href: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  4178.  
  4179.            }, function(response) {
  4180.                window.close();
  4181.            });
  4182.        }
  4183.    }
  4184.  
  4185.    if (document.getElementById('messengerShareBtn')) {
  4186.  
  4187.        document.getElementById('messengerShareBtn').onclick = function() {
  4188.            FB.ui({
  4189.                method: 'send',
  4190.                link: 'https://liff.line.me/1657662956-ljewX6qm/index.php?utm_source=m2&utm_medium=guest',
  4191.                display: 'popup'
  4192.            }, function(response) {});
  4193.        }
  4194.    }
  4195.  
  4196.    function to_show_share_link() {
  4197.        $(".share_link_panel").toggleClass("close");
  4198.        $(".footer_cus_btn").toggleClass("blur");
  4199.    }
  4200.  
  4201.    function to_check_short_code(short_url_source, php_self) {
  4202.  
  4203.        $("#share_short_url_btn div").toggleClass('fa-spin');
  4204.        $("#share_short_url_btn div i").toggleClass('fa-link fa-spinner');
  4205.  
  4206.        $.ajax({
  4207. type: 'POST',
  4208. url: './ajax_website_module_api.php',
  4209. data: {
  4210. 'module_type': 'to_check_short_code',
  4211. 'short_url_source': short_url_source,
  4212. 'php_self': php_self,
  4213. },
  4214. success: function(res) {
  4215.  
  4216.                to_show_share_link();
  4217.  
  4218.                let res_obj = JSON.parse(res);
  4219.  
  4220.                const Toast = Swal.mixin({
  4221.                    toast: true,
  4222.                    position: 'top-end',
  4223.                    showConfirmButton: false,
  4224.                    timer: 1500,
  4225.                    timerProgressBar: true,
  4226.                    didOpen: (toast) => {
  4227.                        toast.addEventListener('mouseenter', Swal.stopTimer)
  4228.                        toast.addEventListener('mouseleave', Swal.resumeTimer)
  4229.                    }
  4230.                })
  4231.  
  4232.                Toast.fire({
  4233.                    icon: res_obj.status,
  4234.                    title: res_obj.msg
  4235.                })
  4236.  
  4237. },
  4238. error: function(err) {
  4239.                console.log(err);
  4240. },
  4241. complete: function() {
  4242.                
  4243.                $("#share_short_url_btn div").toggleClass('fa-spin');
  4244.                $("#share_short_url_btn div i").toggleClass('fa-link fa-spinner');
  4245. }
  4246. });
  4247.    }
  4248. </script>
  4249.  
  4250.  
  4251. <script language="javascript">
  4252.  
  4253. var this_client_width = document.documentElement.clientWidth;
  4254.  
  4255. if(this_client_width > 1100){
  4256.  
  4257. document.getElementById("id_fixed_right_top").style.right="50px";
  4258. document.getElementById("id_fixed_right_bottom_product_view_record").style.right="50px";
  4259. document.getElementById("id_fixed_right_bottom").style.right="50px";
  4260. document.getElementById("id_fixed_left_other_viewing").style.left="50px";
  4261. /*
  4262. document.getElementById("id_fixed_right_top").style.right=(((this_client_width-1180)/2)-60)+'px';
  4263. document.getElementById("id_fixed_right_bottom_product_view_record").style.right=(((this_client_width-1180)/2)-60)+'px';
  4264. document.getElementById("id_fixed_right_bottom").style.right=(((this_client_width-1180)/2)-60)+'px';
  4265. document.getElementById("id_fixed_left_other_viewing").style.left=(((this_client_width-1180)/2)-80)+'px';
  4266. */
  4267.  
  4268. }else{
  4269.  
  4270. document.getElementById("id_fixed_right_top").style.right="20px";
  4271. document.getElementById("id_fixed_right_bottom_product_view_record").style.right="20px";
  4272. document.getElementById("id_fixed_right_bottom").style.right="20px";
  4273. }
  4274.  
  4275. if(navigator.userAgent.search("MSIE") > -1){
  4276.  
  4277. var ie_version = parseFloat(navigator.userAgent.match(/MSIE (\d\.*\d*)/i)[1]);
  4278.  
  4279. if(ie_version < 8){
  4280.  
  4281. show_layer_alert("很抱歉,IE 瀏覽器須在8.0以上才能順暢使用本站<BR>建議您也可使用 <a href='http://www.google.com.tw/chrome/index.html' target='_blank'>Chrome</a> 或 <a href='http://moztw.org/' target='_blank'>Firefox</a> <BR>感謝您的體諒與支持!");
  4282.  
  4283. }
  4284.  
  4285. }
  4286.  
  4287. function to_show_viewing_product(){
  4288.  
  4289. document.getElementById("id_fixed_left_other_viewing").style.display="";
  4290.  
  4291. $('#carouselv').jsCarousel({ onthumbnailclick: function(src) { alert(src); }, autoscroll: true, masked: false, itemstodisplay: 3, orientation: 'v' });
  4292. }
  4293. </script>
  4294.  
  4295.  
  4296.  
  4297. </div name="div_body">
  4298.  
  4299. </body>
  4300. </html>
  4301.  
  4302. <!-- https://b1.luckybaby.tw/
  4303. liff.state=%2Fblog
  4304. code=JWja3rkTCcQxW6YHN5qh
  4305. state=xGFS4bQEjiI8
  4306. liffClientId=1657001010
  4307. liffRedirectUri=https%3A%2F%2Fb1.luckybaby.tw%2F%3Fliff.state%3D%252Fblog -->
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda