// history.scrollRestoration = 'manual'; var wd = {}; $(function() { wd.body = $("body"); if (isFrontEnv()) { wd.body.addClass("wd"); wd.common(); wd.rightFloat(); wd.index(); setTimeout(function() { wd.body.addClass("wd-show"); }, 500); } else { wd.body.addClass("make"); } }); wd.common = function() { $("#c_portalResPublic_codeContainer-16070566318610199 .wd-item").hover(function() { $(this).find(".wd-sub").stop(true, false).slideDown(); }, function() { $(this).find(".wd-sub").stop(true, false).slideUp(); }); }; wd.index = function() { if(!$("#c_portalResEbizads_banner-15889873499571493").length) { this.sub(); } $("#c_portalResEbizads_banner-16070567160096073 .lv-slider .slide-inner").each(function() { if($(this).attr("data-href")) { $(this).click(function() { location.href = $(this).attr("data-href"); }); } }); // header $("#c_portalResnav_main-15732848872754102 .navLi").addClass("wd--nav"); $("#c_portalResPublic_codeContainer-15732848869219091 .lv_toptel").addClass("wd--header-tel"); var _sa = wd.scroll_ani(); _sa.add(".c_portalResProduct_category-01001 .swiper-slide"); _sa.add("#w_grid-1588924454533"); _sa.add("#c_portalResPublic_codeContainer-15947155556412602 .about-num li"); _sa.add("#w_grid-1588928899806"); _sa.add("#c_portalResPublic_codeContainer-15889333947206863"); _sa.add("#c_portalResNews_list-16070567669426361 .wd-20201204115448 .wd-item"); _sa.init(); }; wd.sub = function() { $("#c_portalResnav_main-15966817969545034 .navLi").addClass("wd--nav"); $("#c_portalResPublic_codeContainer-15966817969431981 .lv_toptel").addClass("wd--nav"); $("#c_portalResProduct_detail-15791661402201381 .d_description").each(function() { $(this).find("p").each(function() { if($(this).children().length == 0 && $(this).get(0).childNodes[0].nodeType == 3 && $.trim($(this).text()) == "") { $(this).remove(); } }); }); $(".c_portalResProduct_detail-01001 .d_DescriptionBigbox table").each(function() { $(this).wrap("