CINXE.COM

삼성전자 지속가능경영

<!DOCTYPE html> <html lang="ko"> <head> <title>삼성전자 지속가능경영</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="title" content="삼성전자 지속가능경영"> <meta name="keywords" content="삼성전자, 지속가능경영"> <meta name="description" content="지속가능한 미래를 위한 삼성전자의 다양한 활동을 만나보세요."> <meta property="search:image" content="https://www.samsung.com/sec/sustainability/assets/img/sns/logo_default_image.jpg"> <meta property="og:site_name" content="삼성전자 지속가능경영"> <meta property="og:type" content="website"> <meta property="og:url" content="https://www.samsung.com/sec/sustainability/main"> <meta property="og:title" content="삼성전자 지속가능경영"> <meta property="og:description" content="지속가능한 미래를 위한 삼성전자의 다양한 활동을 만나보세요."> <meta property="og:image" content="https://www.samsung.com/sec/sustainability/assets/img/sns/logo_default_image.jpg"> <meta property="twitter:card" content="Summary"> <meta property="twitter:site" content="@SamsungSustainability"> <meta property="twitter:title" content="삼성전자 지속가능경영"> <meta property="twitter:description" content="지속가능한 미래를 위한 삼성전자의 다양한 활동을 만나보세요."> <meta property="twitter:url" content="https://www.samsung.com/sec/sustainability/main"> <meta property="twitter:image" content="https://www.samsung.com/sec/sustainability/assets/img/sns/logo_default_image.jpg"> <meta charset="UTF-8"> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Expires" content="0"/> <meta http-equiv="Cache-Control" content="no-cache"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="google-site-verification" content="q0DkowY2kcrjh5iaAE4cx2ZoJuYSU_sj1U9rFqkBr7o" /> <link rel="shortcut icon" href="/sec/sustainability/assets/img/favicon.png"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/sec/sustainability/assets/css/style.css"> <link rel="stylesheet" href="/sec/sustainability/assets/css/swiper-bundle.min.css" /><!-- swiper 전용 css --> <script src="/sec/sustainability/assets/js/swiper-bundle.min.js"></script><!-- swiper js --> <!-- <script src="/sec/sustainability/assets/js/lottie-player.js"></script>&lt;!&ndash; Lottie JS import &ndash;&gt;--> <script src="/sec/sustainability/assets/js/lottie-player.js"></script><!-- Lottie JS import --> <script src="/sec/sustainability/assets/js/interaction.js"></script><!-- 실제 사용하는 js --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-FB5KF1XKN5"></script> <script> const gtagConfig="G-FB5KF1XKN5"; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', gtagConfig); const isShowXTCPopup = function() { let name = "IS_SHOW_XTC"; let matches = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); return !matches; // matches 가 null 이면 true 리턴 } const loadXTCPopup = function() { if(isShowXTCPopup()){ if(document.location.href.endsWith("main") || document.location.href.endsWith("main/") || document.location.href.endsWith("sustainability/") ) { interaction.popupCall(this,'/sec/sustainability/contact/popup/recycle-at-home', XTPPopupCallback); } } } const setXTCCookie = function(expiredDate){ let date = new Date(); date.setDate(date.getDate() + expiredDate); date.setHours(0, 0, 0, 0); document.cookie = 'IS_SHOW_XTC=Y;' + 'expires=' +date.toUTCString()+ ";"+ "path=/;" } const XTPPopupCallback = function() { const layer = document.querySelector('.this-layer'); const xtpPopup = layer.closest('.popup'); const closeBtns = document.querySelectorAll('.recycle-close'); const noShowBtn = document.querySelector('.popup-btn-cookie'); closeBtns.forEach(function(closeBtn){ closeBtn.addEventListener('click', () => { layer.remove(); xtpPopup.remove(); document.body.classList.remove('stop'); setXTCCookie(0) }); }) noShowBtn.addEventListener('click', () => { layer.remove(); xtpPopup.remove(); document.body.classList.remove('stop'); setXTCCookie(1) }); xtpPopup.classList.add("recycle-popup"); } loadXTCPopup() </script> <script>(window.BOOMR_mq=window.BOOMR_mq||[]).push(["addVar",{"rua.upush":"false","rua.cpush":"false","rua.upre":"false","rua.cpre":"false","rua.uprl":"false","rua.cprl":"false","rua.cprf":"false","rua.trans":"","rua.cook":"false","rua.ims":"false","rua.ufprl":"false","rua.cfprl":"false","rua.isuxp":"false","rua.texp":"norulematch","rua.ceh":"false","rua.ueh":"false","rua.ieh.st":"0"}]);</script> <script>!function(){function o(n,i){if(n&&i)for(var r in i)i.hasOwnProperty(r)&&(void 0===n[r]?n[r]=i[r]:n[r].constructor===Object&&i[r].constructor===Object?o(n[r],i[r]):n[r]=i[r])}try{var n=decodeURIComponent("%7B%20%22request_client_hints%22%3A%20true%20%7D");if(n.length>0&&window.JSON&&"function"==typeof window.JSON.parse){var i=JSON.parse(n);void 0!==window.BOOMR_config?o(window.BOOMR_config,i):window.BOOMR_config=i}}catch(r){window.console&&"function"==typeof window.console.error&&console.error("mPulse: Could not parse configuration",r)}}();</script> <script>!function(a){var e="https://s.go-mpulse.net/boomerang/",t="addEventListener";if("False"=="True")a.BOOMR_config=a.BOOMR_config||{},a.BOOMR_config.PageParams=a.BOOMR_config.PageParams||{},a.BOOMR_config.PageParams.pci=!0,e="https://s2.go-mpulse.net/boomerang/";if(window.BOOMR_API_key="VRZKC-5BSTD-4EWS3-R2J59-B8GYB",function(){function n(e){a.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}if(!a.BOOMR||!a.BOOMR.version&&!a.BOOMR.snippetExecuted){a.BOOMR=a.BOOMR||{},a.BOOMR.snippetExecuted=!0;var i,_,o,r=document.createElement("iframe");if(a[t])a[t]("load",n,!1);else if(a.attachEvent)a.attachEvent("onload",n);r.src="javascript:void(0)",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="width:0;height:0;border:0;display:none;",o=document.getElementsByTagName("script")[0],o.parentNode.insertBefore(r,o);try{_=r.contentWindow.document}catch(O){i=document.domain,r.src="javascript:var d=document.open();d.domain='"+i+"';void(0);",_=r.contentWindow.document}_.open()._l=function(){var a=this.createElement("script");if(i)this.domain=i;a.id="boomr-if-as",a.src=e+"VRZKC-5BSTD-4EWS3-R2J59-B8GYB",BOOMR_lstart=(new Date).getTime(),this.body.appendChild(a)},_.write("<bo"+'dy onload="document._l();">'),_.close()}}(),"".length>0)if(a&&"performance"in a&&a.performance&&"function"==typeof a.performance.setResourceTimingBufferSize)a.performance.setResourceTimingBufferSize();!function(){if(BOOMR=a.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.AK){var e=""=="true"?1:0,t="",n="bdpnbeqxz62dgz2b6yma-f-04dbd3e89-clientnsv4-s.akamaihd.net",i="false"=="true"?2:1,_={"ak.v":"39","ak.cp":"1438013","ak.ai":parseInt("293013",10),"ak.ol":"0","ak.cr":6,"ak.ipv":4,"ak.proto":"http/1.1","ak.rid":"92cc48f","ak.r":45578,"ak.a2":e,"ak.m":"x","ak.n":"essl","ak.bpcip":"8.222.208.0","ak.cport":60020,"ak.gh":"23.52.171.213","ak.quicv":"","ak.tlsv":"tls1.2","ak.0rtt":"","ak.0rtt.ed":"","ak.csrc":"-","ak.acc":"bbr","ak.t":"1732376088","ak.ak":"hOBiQwZUYzCg5VSAfCLimQ==Ws8V+mjr2GAk/u61gkC8GguPINERoGu7QdFApXkxpV82eQrh7fvf9cwmbFrgk8pYoSSuVwIK7UUq5Zdcp2FkbIpVoVY3kYR/U7wGeqrcHAoPXiqhqxOxdLQR3ZRqJoS77hPZ1JBeoiRJEIjy+vsHTB00qKSv7RlswUw62zSGbkNx3jZYZ/MaBaOOHH0+pgEcb5PJz0MevI1p/29hsUVm/urubUMkxwbUn6IzzDOdjwV+lcVU7AxBrjTpzvQY5/ixb8uzaoRZx0YHLKPj7oU1f70wixQZKVOlV+7vtc913D9aylht+/yQxIFTDmOJFlHFwn6fpWy9PX/jDiiPphvM3Q46RxaROg+ty+0xRDVRW/ckFRauaLBi+YZjiNR85ViK/FZ3rKamQlJys+4P2q9Uw7QEc1Dr7ZNgieJq3auGc+M=","ak.pv":"3677","ak.dpoabenc":"","ak.tf":i};if(""!==t)_["ak.ruds"]=t;var o={i:!1,av:function(e){var t="http.initiator";if(e&&(!e[t]||"spa_hard"===e[t]))_["ak.feo"]=void 0!==a.aFeoApplied?1:0,BOOMR.addVar(_)},rv:function(){var a=["ak.bpcip","ak.cport","ak.cr","ak.csrc","ak.gh","ak.ipv","ak.m","ak.n","ak.ol","ak.proto","ak.quicv","ak.tlsv","ak.0rtt","ak.0rtt.ed","ak.r","ak.acc","ak.t","ak.tf"];BOOMR.removeVar(a)}};BOOMR.plugins.AK={akVars:_,akDNSPreFetchDomain:n,init:function(){if(!o.i){var a=BOOMR.subscribe;a("before_beacon",o.av,null,null),a("onbeacon",o.rv,null,null),o.i=!0}return this},is_complete:function(){return!0}}}}()}(window);</script></head> <body> <!-- skip navigation --> <div class="skip-navigation"> <ul> <li> <a href="#contents">본문으로 이동</a> </li> <!-- <li>--> <!-- <a href="javascript:void(0);">접근성 도움말로 이동</a>--> <!-- </li>--> </ul> </div> <header> <!-- pc header --> <div class="header-area pc-only"> <div> <h1> <a href="/sec/sustainability/main"><img src="/sec/sustainability/assets/img/common/logo.png" alt="SAMSUNG" /></a> </h1> <div class="navi-area"> <ul class="navi"> <li class="menu planet-menu"> <a href="javascript:void(0);">Planet</a> <div class="sub"> <div class="menu-area"> <ul> <li> <a href="/sec/sustainability/planet/environmental-strategy">환경경영 전략</a> </li> <li> <a href="/sec/sustainability/planet/climate-action">기후행동</a> <ul> <li> <a href="/sec/sustainability/planet/climate-action#anchor1">온실가스 직접 배출 감축</a> </li> <li> <a href="/sec/sustainability/planet/climate-action#anchor2">재생에너지 확대</a> </li> <li> <a href="/sec/sustainability/planet/climate-action#anchor3">밸류체인 탄소감축</a> </li> </ul> </li> <li> <a href="/sec/sustainability/planet/circular-economy">자원순환</a> <ul> <li> <a href="/sec/sustainability/planet/circular-economy#anchor1">자원순환형 소재</a> </li> <li> <a href="/sec/sustainability/planet/circular-economy#anchor2">제품 수명 연장</a> </li> <li> <a href="/sec/sustainability/planet/circular-economy#anchor3">폐전자제품 회수·재활용</a> </li> </ul> </li> <li> <a href="/sec/sustainability/planet/business-ecosystem">친환경 기술 혁신</a> <!-- [24.06] 6월 업데이트 수정 --> <ul> <li> <a href="/sec/sustainability/planet/business-ecosystem#anchor1">탄소포집 & 미세먼지 연구</a> </li> <li> <a href="/sec/sustainability/planet/business-ecosystem#anchor2">친환경 과제 발굴</a> <!-- [24.06] 6월 업데이트 수정 --> </li> </ul> </li> <li> <a href="/sec/sustainability/planet/sustainable-operations">지속가능한 운영</a> <ul> <li> <a href="/sec/sustainability/planet/sustainable-operations#anchor1">사업장 폐기물 관리</a> </li> <li> <a href="/sec/sustainability/planet/sustainable-operations#anchor2">수자원 보호 &amp; 대기오염 최소화</a> </li> <li> <a href="/sec/sustainability/planet/sustainable-operations#anchor3">화학물질 관리</a> </li> </ul> </li> </ul> </div> </div> </li> <li class="menu people-menu"> <a href="javascript:void(0);">People</a> <div class="sub"> <div class="menu-area"> <ul> <li> <a href="/sec/sustainability/people/human-rights">인권</a> <ul> <li> <a href="/sec/sustainability/people/human-rights#anchor1">인권 존중 약속</a> </li> <li> <a href="/sec/sustainability/people/human-rights#anchor2">안전보건</a> </li> <li> <a href="/sec/sustainability/people/human-rights#anchor3">조직문화</a> </li> <li> <a href="/sec/sustainability/people/human-rights#anchor4">인재양성</a> </li> </ul> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion">다양성, 형평성, 포용성</a> <ul> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor1">정책과 현황</a> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor2">ERG 활동</a> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor3">이니셔티브</a> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor4">수상 및 인증</a> </li> </ul> </li> <li> <a href="/sec/sustainability/people/tech-for-all">모두를 위한 기술</a> <ul> <li> <a href="/sec/sustainability/people/tech-for-all#anchor1">접근성</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor2">개인정보보호</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor3">보안</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor4">AI 윤리</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor5">오픈 이노베이션</a> </li> </ul> </li> <li> <a href="/sec/sustainability/people/supply-chain">공급망</a> <ul> <li> <a href="/sec/sustainability/people/supply-chain#anchor1">협력회사 운영·관리</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor5">ESG 점검과 교육</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor2">상생협력 활동</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor3">협력회사 근로환경·기후변화 대응 관리</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor4">책임광물</a> </li> </ul> </li> <li> <a href="/sec/sustainability/people/empowering-communities">지역사회</a> <ul> <li> <a href="/sec/sustainability/people/empowering-communities#anchor1">사회공헌</a> </li> <li> <a href="/sec/sustainability/people/empowering-communities#anchor2">중소기업 & 스타트업 지원</a> </li> </ul> </li> </ul> </div> </div> </li> <li class="menu principle-menu"> <a href="javascript:void(0);">Principle</a> <div class="sub"> <div class="menu-area"> <ul> <li> <a href="/sec/sustainability/principle/leadership-message">리더십 메시지</a> </li> <li> <a href="/sec/sustainability/principle/corporate-governance">기업지배구조</a> </li> <li> <a href="/sec/sustainability/principle/compliance-ethics">준법과 윤리경영</a> </li> </ul> </div> </div> </li> <li class="menu focus-menu"> <a href="javascript:void(0);">Focus</a> <div class="sub"> <div class="menu-area"> <ul> <li> <a href="/sec/sustainability/focus/products/sustainability-in-our-products">지속가능한 제품</a> <ul> <li> <a href="/sec/sustainability/focus/products/mobile">모바일</a> </li> <li> <a href="/sec/sustainability/focus/products/tv-av-displays">TV, 오디오 & 디스플레이</a> </li> <li> <a href="/sec/sustainability/focus/products/home-appliances">가전</a> </li> <li> <a href="/sec/sustainability/focus/products/semiconductors">반도체</a> </li> </ul> </li> <li> <a href="/sec/sustainability/focus/news-video">뉴스 &amp; 비디오</a> </li> <li> <a href="/sec/sustainability/focus/story/feature-story">스토리</a> </li> </ul> </div> </div> </li> <li class="menu digital-menu"> <a href="javascript:void(0);">Digital Library</a> <div class="sub"> <div class="menu-area"> <ul> <li> <a href="/sec/sustainability/digital-library/sustainability-report">지속가능경영보고서</a> </li> <li> <a href="/sec/sustainability/digital-library/esg-data">ESG 데이터</a> </li> <li> <a href="/sec/sustainability/digital-library/policy-document">정책 &amp; 문서</a> </li> <li> <a href="/sec/sustainability/digital-library/awards-recognition">대외평가 &amp; 수상</a> </li> </ul> </div> </div> </li> </ul> </div> <div class="gnb-dimmed"></div> </div> <div> <ul class="util"> <li> <a href="javascript:void(0);"><img src="/sec/sustainability/assets/img/pc/common/mdi/search.png" alt="검색" /></a> </li> <li class="language"> <a href="javascript:void(0);" title="언어선택 열기"><img src="/sec/sustainability/assets/img/pc/common/mdi/language.png" alt="global" /> <span>KR</span></a> <ul> <li class="current"> <a href="javascript:void(0);">KR</a> </li> <li> <a href="javascript:goLanguagePage(this);">EN</a> </li> </ul> </li> </ul> </div> </div> <!-- mobile header --> <div class="header-area mo-only"> <div class="header-basic"> <div> <h1> <a href="/sec/sustainability/main"><img src="/sec/sustainability/assets/img/common/logo.png" alt="SAMSUNG" /></a> </h1> </div> <div> <ul class="util"> <li> <a href="javascript:void(0);"><img src="/sec/sustainability/assets/img/pc/common/mdi/search.png" alt="검색" /></a> </li> <li class="all-menu"> <a href="javascript:void(0);" role="button"><img src="/sec/sustainability/assets/img/mo/common/mdi/all-menu.png" alt="전체메뉴" /></a> </li> </ul> </div> </div> <div class="main-menu-aside" tabindex="0"> <!-- 230322 접근성 수정 1차 --> <div class="menu-layer-top"> <button type="button" class="btn-back"> <span class="blind">뒤로가기</span> </button> <div class="search-area wide"> <button type="button" class="btn-search" onclick="onMobileMenuSearch()"> <span class="blind">검색</span> </button> <!-- 230324 접근성 수정 1차 - label 태그 추가 --> <label for="menu-search-word"><span class="blind">검색어 입력</span></label> <input type="text" id="menu-search-word" name="menu-search-word" title="검색어를 입력하세요." /> <!-- // 230324 접근성 수정 1차 - label 태그 추가 --> </div> <button type="button" class="btn-close"> <span class="blind">전체메뉴 닫기</span> </button> </div> <div class="menu-area"> <ul> <li> <a href="javascript:void(0);">Planet</a> </li> <li> <a href="javascript:void(0);">People</a> </li> <li> <a href="javascript:void(0);">Principle</a> </li> <li> <a href="javascript:void(0);">Focus</a> </li> <li> <a href="javascript:void(0);">Digital Library</a> </li> </ul> </div> <div class="sub-list"> <div class="planet-menu-area"> <strong>Planet</strong> <ul> <li> <a href="/sec/sustainability/planet/environmental-strategy">환경경영 전략</a> </li> <li class="menu-group"> <a href="/sec/sustainability/planet/climate-action" class="special">기후행동</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/planet/climate-action#anchor1">온실가스 직접 배출 감축</a> </li> <li> <a href="/sec/sustainability/planet/climate-action#anchor2">재생에너지 확대</a> </li> <li> <a href="/sec/sustainability/planet/climate-action#anchor3">밸류체인 탄소감축</a> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/planet/circular-economy" class="special">자원순환</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/planet/circular-economy#anchor1">자원순환형 소재</a> </li> <li> <a href="/sec/sustainability/planet/circular-economy#anchor2">제품 수명 연장</a> </li> <li> <a href="/sec/sustainability/planet/circular-economy#anchor3">폐전자제품 회수·재활용</a> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/planet/business-ecosystem" class="special">친환경 기술 혁신</a> <!-- [24.06] 6월 업데이트 수정 --> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/planet/business-ecosystem#anchor1">탄소포집 &amp; 미세먼지 연구</a> </li> <li> <a href="/sec/sustainability/planet/business-ecosystem#anchor2">친환경 과제 발굴</a> <!-- [24.06] 6월 업데이트 수정 --> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/planet/sustainable-operations" class="special">지속가능한 운영</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/planet/sustainable-operations#anchor1">사업장 폐기물 관리</a> </li> <li> <a href="/sec/sustainability/planet/sustainable-operations#anchor2">수자원 보호 &amp; 대기오염 최소화</a> </li> <li> <a href="/sec/sustainability/planet/sustainable-operations#anchor3">화학물질 관리</a> </li> </ul> </li> </ul> </div> <div class="people-menu-area"> <strong>People</strong> <ul> <li class="menu-group"> <a href="/sec/sustainability/people/human-rights" class="special">인권</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/people/human-rights#anchor1">인권 존중 약속</a> </li> <li> <a href="/sec/sustainability/people/human-rights#anchor2">안전보건</a> </li> <li> <a href="/sec/sustainability/people/human-rights#anchor3">조직문화</a> </li> <li> <a href="/sec/sustainability/people/human-rights#anchor4">인재양성</a> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/people/diversity-inclusion" class="special">다양성, 형평성, 포용성</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor1">정책과 현황</a> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor2">ERG 활동</a> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor3">이니셔티브</a> </li> <li> <a href="/sec/sustainability/people/diversity-inclusion#anchor4">수상 및 인증</a> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/people/tech-for-all" class="special">모두를 위한 기술</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/people/tech-for-all#anchor1">접근성</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor2">개인정보보호</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor3">보안</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor4">AI윤리</a> </li> <li> <a href="/sec/sustainability/people/tech-for-all#anchor5">오픈 이노베이션</a> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/people/supply-chain" class="special">공급망</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/people/supply-chain#anchor1">협력회사 운영·관리</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor5">ESG 점검과 교육</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor2">상생협력 활동</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor3">협력회사 근로환경·기후변화 대응 관리</a> </li> <li> <a href="/sec/sustainability/people/supply-chain#anchor4">책임광물</a> </li> </ul> </li> <li class="menu-group"> <a href="/sec/sustainability/people/empowering-communities" class="special">지역사회</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/people/empowering-communities#anchor1">사회공헌</a> </li> <li> <a href="/sec/sustainability/people/empowering-communities#anchor2">중소기업 &amp; 스타트업 지원</a> </li> </ul> </li> </ul> </div> <div class="principle-menu"> <strong>Principle</strong> <ul> <li> <a href="/sec/sustainability/principle/leadership-message">리더십 메시지</a> </li> <li> <a href="/sec/sustainability/principle/corporate-governance">기업지배구조</a> </li> <li> <a href="/sec/sustainability/principle/compliance-ethics">준법과 윤리경영</a> </li> </ul> </div> <div class="focus-menu"> <strong>Focus</strong> <ul> <li class="menu-group"> <a href="/sec/sustainability/focus/products/sustainability-in-our-products" class="special">지속가능한 제품</a> <button type="button"> <span class="blind">서브메뉴 열기</span> <!-- 접근성 수정 1차 --> </button> <ul> <li> <a href="/sec/sustainability/focus/products/mobile">모바일</a> </li> <li> <a href="/sec/sustainability/focus/products/tv-av-displays">TV, 오디오 & 디스플레이</a> </li> <li> <a href="/sec/sustainability/focus/products/home-appliances">가전</a> </li> <li> <a href="/sec/sustainability/focus/products/semiconductors">반도체</a> </li> </ul> </li> <li> <a href="/sec/sustainability/focus/news-video">뉴스 &amp; 비디오</a> </li> <li> <a href="/sec/sustainability/focus/story/feature-story">스토리</a> </li> </ul> </div> <div class="digital-menu"> <strong>Digital Library</strong> <ul> <li> <a href="/sec/sustainability/digital-library/sustainability-report">지속가능경영보고서</a> </li> <li> <a href="/sec/sustainability/digital-library/esg-data">ESG 데이터</a> </li> <li> <a href="/sec/sustainability/digital-library/policy-document">정책 &amp; 문서</a> </li> <li> <a href="/sec/sustainability/digital-library/awards-recognition">대외평가 &amp; 수상</a> </li> </ul> </div> </div> <div class="language"> <a href="javascript:void(0);" title="언어선택 열기"><img src="/sec/sustainability/assets/img/pc/common/mdi/language.png" alt="global" /></a> <span>KR</span> <ul> <li class="current"> <a href="javascript:void(0);">KR</a> </li> <li> <a href="javascript:goLanguagePage(this);">EN</a> </li> </ul> </div> </div> </div> </header> <script> let LOCALE_ID = "sec"; const menuSearchWordField = document.querySelector('#menu-search-word'); menuSearchWordField.addEventListener('keyup', function (event) { if (event.key == 'Enter'){ onMobileMenuSearch(); } }); const onMobileMenuSearch = function(e){ // alert(menuSearchWordField.value); location.href="/"+LOCALE_ID+"/sustainability/search/search-result?keyword="+menuSearchWordField.value; } </script> <main id="contents" class="main"> <!-- 접근성 수정 1차 - blind 수정 --> <h2 class="blind ft-1">메인콘텐츠</h2> <!-- // 접근성 수정 1차 - blind 수정 --> <section class="section-top"> <div class="text-area"> <span class="sub-title font-samsung-ssb pc-only">Our Journey Towards A Sustainable Future</span> <span class="sub-title font-samsung-ssb mo-only">Our Journey <br>Towards a <br>Sustainable Future</span> <span class="sub-text home">지속가능한 미래를 위한 <br class="mo-only">삼성전자의 여정</span> </div> <video class="video" style="width: 100%;height:100%;object-fit: cover" muted loop autoplay playsinline> <source src="/sec/sustainability/assets/video/Home.mp4" type="video/mp4"> </video> </section> <section class="section-bottom"> <div class="top-area"> <div class="text-area"> <h3> <img class="pc-only" src="/sec/sustainability/assets/img/pc/home/mdi/img_text01.png" alt="Changes Start from Small Steps"> <img class="mo-only" src="/sec/sustainability/assets/img/mo/home/mdi/img_text01.png" alt="Changes Start from Small Steps"> </h3><!-- [24.08.14][HJR] 수정 --> <div class="text"> <span>삼성전자 지속가능경영의 지향점 중 하나는 <br>혁신성과 지속가능성을 동시에 갖춘 제품을 세상에 <br class="mo-only">선보이고, <br class="pc-only">고객이 일상에서 더 나은 미래를 만들어 가는 <br class="mo-only">여정에 동참할 수 있도록 하는 것입니다.</span> <span class="font-samsung-bold">변화는 한 순간에 일어나지 않습니다. <br>매일의 작은 실천이 모여 지속가능한 삶을 이루는 것. <br>이것이 우리가 꿈꾸는 지속가능성입니다.</span> </div> </div> </div> <!-- 221209 수정 --> <div class="category-area"> <div class="pc-only"> <!-- 로티영역 --> <!-- 221216 수정 --> <div class="lottie-area lottie-bg"> <lottie-player src="/sec/sustainability/assets/new-lottie/Home/Home_PC_KR_Content_O.json" background="transparent" speed="1" style="width: 100%; height: 100%;"></lottie-player> <div class="description"> <p class="blind"> Planet 더 나은 세상,더 나은 지구를 꿈꿉니다 삼성전자는 사람과 자연을 존중하며 인류의 삶과 지구환경 보전에 기여한다는 녹색경영 이념을 지키고 있습니다. 고객에게 친환경 가치를 제공하고 지속가능한 미래를 선도하기 위해 노력합니다. </p> <!-- 230324 접근성 수정 1차 - ios a태그 포커스 수정 --> <a href="/sec/sustainability/planet/environmental-strategy" class="btn1" title="Planet 자세히 보기" tabindex="0"></a> <!-- // 230324 접근성 수정 1차 - ios a태그 포커스 수정 --> <p class="blind"> People 사회적 책임을 다하며 미래로 함께 나아갑니다 삼성전자는 인류의 더 나은 삶을 위해 사회적 책임을 다하고자 합니다. 핵심가치인 '인재제일'과 '상생추구'를 위해 기술과 자원을 미래 세대 및 사회와 함께 나누며 모두를 위한 디지털 라이프 스타일을 지향합니다. </p> <!-- 230324 접근성 수정 1차 - ios a태그 포커스 수정 --> <a href="/sec/sustainability/people/human-rights" class="btn2" title="People 자세히 보기" tabindex="0"></a> <!-- // 230324 접근성 수정 1차 - ios a태그 포커스 수정 --> <p class="blind"> Principle 지속가능한 미래를 위해 책임경영을 실천합니다 삼성전자는 준법과 윤리 경영 원칙에 기반하여 투명하고 깨끗한 조직문화를 만들기 위해 노력하고 있습니다. 또한 지속가능성을 사업과 제품에 충실히 반영하기 위해 지속가능경영 추진체계를 견고히 하고 있습니다. </p> <!-- 230324 접근성 수정 1차 - ios a태그 포커스 수정 --> <a href="/sec/sustainability/principle/compliance-ethics" class="btn3" title="Principle 자세히 보기" tabindex="0"></a> <!-- // 230324 접근성 수정 1차 - ios a태그 포커스 수정 --> </div> <!-- // 221216 수정 --> <!-- // 로티영역 --> </div> </div> <div class="mo-only"> <!-- [24.08.14][HJR] lottie → description → lottie.. 순서로 변경 --> <div class="lottie-area lottie-bg"> <lottie-player src="/sec/sustainability/assets/new-lottie/Home/Home_01_MO_KR_Content_O.json" background="transparent" speed="1" style="width: 100%; height: 100%;"></lottie-player> <div class="description lottie-desc-01"> <p class="blind"> Planet 더 나은 세상,더 나은 지구를 꿈꿉니다 삼성전자는 사람과 자연을 존중하며 인류의 삶과 지구환경 보전에 기여한다는 녹색경영 이념을 지키고 있습니다. 고객에게 친환경 가치를 제공하고 지속가능한 미래를 선도하기 위해 노력합니다. </p> <a href="/sec/sustainability/planet/environmental-strategy" class="btn1"><span class="blind">Planet 자세히 보기</span></a> </div> <lottie-player src="/sec/sustainability/assets/new-lottie/Home/Home_02_MO_KR_Content_O.json" background="transparent" speed="1" style="width: 100%; height: 100%;"></lottie-player> <div class="description lottie-desc-02"> <p class="blind"> People 사회적 책임을 다하며 미래로 함께 나아갑니다 삼성전자는 인류의 더 나은 삶을 위해 사회적 책임을 다하고자 합니다. 핵심가치인 '인재제일'과 '상생추구'를 위해 기술과 자원을 미래 세대 및 사회와 함께 나누며 모두를 위한 디지털 라이프 스타일을 지향합니다. </p> <a href="/sec/sustainability/people/human-rights" class="btn2"><span class="blind">People 자세히 보기</span></a> </div> <lottie-player src="/sec/sustainability/assets/new-lottie/Home/Home_03_MO_KR_Content_O.json" background="transparent" speed="1" style="width: 100%; height: 100%;"></lottie-player> <div class="description lottie-desc-03"> <!--<p class="blind"> Planet 더 나은 세상,더 나은 지구를 꿈꿉니다 삼성전자는 사람과 자연을 존중하며 인류의 삶과 지구환경 보전에 기여한다는 녹색경영 이념을 지키고 있습니다. 고객에게 친환경 가치를 제공하고 지속가능한 미래를 선도하기 위해 노력합니다. </p> <a href="/sec/sustainability/planet/environmental-strategy" class="btn1"><span class="blind wd-ht-auto">Planet 자세히 보기</span></a> <p class="blind"> People 사회적 책임을 다하며 미래로 함께 나아갑니다 삼성전자는 인류의 더 나은 삶을 위해 사회적 책임을 다하고자 합니다. 핵심가치인 '인재제일'과 '상생추구'를 위해 기술과 자원을 미래 세대 및 사회와 함께 나누며 모두를 위한 디지털 라이프 스타일을 지향합니다. </p> <a href="/sec/sustainability/people/human-rights" class="btn2"><span class="blind">People 자세히 보기</span></a>--> <!-- // 230321 접근성 수정 1차 - ios a태그 포커스 수정 --> <p class="blind"> Principle 지속가능한 미래를 위해 책임경영을 실천합니다. 삼성전자는 준법과 윤리 경영 원칙에 기반하여 투명하고 깨끗한 조직문화를 만들기 위해 노력하고 있습니다. 또한 지속가능성을 사업과 제품에 충실히 반영하기 위해 지속가능경영 추진체계를 견고히 하고 있습니다. </p> <!-- 230321 접근성 수정 1차 - ios a태그 포커스 수정 --> <a href="/sec/sustainability/principle/compliance-ethics" class="btn3"><span class="blind wd-ht-auto">Principle 자세히 보기</span></a> <!-- // 230321 접근성 수정 1차 - ios a태그 포커스 수정 --> </div> </div> </div> </div> <!-- // 221209 수정 --> <div class="slide-area" id="anchor-news"> <h3 class="font-samsung-ssb">News &amp; Story</h3> <div class="carousel-slide-wrap pc-only"><!-- pc slide --> <ul class="carousel-list"> <li class="slide carousel-item-2" role="group" data-index="1"><!-- 첫번째 슬라이드엔 carousel-item-2 --> <div class="slide-content"> <div class="image-area"> <img src="https://img.kr.news.samsung.com/kr/wp-content/uploads/2024/10/FIPS_TH.png" role="img" aria-hidden="true" alt="삼성전자, 美 국립표준기술연구소 암호 모듈 보안 인증 획득… 안전성 입증" style="" /> </div> <div class="text-area"> <span class="text">삼성전자, 美 국립표준기술연구소 암호 모듈 보안 인증 획득… 안전성 입증</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-%e7%be%8e-%ea%b5%ad%eb%a6%bd%ed%91%9c%ec%a4%80%ea%b8%b0%ec%88%a0%ec%97%b0%ea%b5%ac%ec%86%8c-%ec%95%94%ed%98%b8-%eb%aa%a8%eb%93%88-%eb%b3%b4%ec%95%88-%ec%9d%b8" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide carousel-item-3" role="group" data-index="2"><!-- 두번째 슬라이드엔 carousel-item-3 --> <div class="slide-content"> <div class="image-area"> <img src="https://img.kr.news.samsung.com/kr/wp-content/uploads/2024/10/TH_241024_Global-Goals.png" role="img" alt="삼성전자, ‘지속가능발전목표(Global Goals)’를 향한 5년간의 발자취 공개" /> </div> <div class="text-area"> <span class="text">삼성전자, ‘지속가능발전목표(Global Goals)’를 향한 5년간의 발자취 공개</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-%ec%a7%80%ec%86%8d%ea%b0%80%eb%8a%a5%eb%b0%9c%ec%a0%84%eb%aa%a9%ed%91%9cglobal-goals%eb%a5%bc-%ed%96%a5%ed%95%9c-5%eb%85%84%ea%b0%84%ec%9d%98" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide wating-item" role="group" data-index="3"> <div class="slide-content"> <div class="image-area"> <img src="https://img.kr.news.samsung.com/kr/wp-content/uploads/2024/10/Interbrand_thumb.jpg" role="img" alt="삼성전자, 브랜드가치 사상 첫 1천억 달러 돌파…5년 연속 세계 5위" /> </div> <div class="text-area"> <span class="text">삼성전자, 브랜드가치 사상 첫 1천억 달러 돌파…5년 연속 세계 5위</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-%eb%b8%8c%eb%9e%9c%eb%93%9c%ea%b0%80%ec%b9%98-%ec%82%ac%ec%83%81-%ec%b2%ab-1%ec%b2%9c%ec%96%b5-%eb%8b%ac%eb%9f%ac-%eb%8f%8c%ed%8c%8c5%eb%85%84-%ec%97%b0" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide wating-item" role="group" data-index="4"> <div class="slide-content"> <div class="image-area"> <img src="/sec/sustainability/media/aa/71f6f9fc0b4558b6b33d7f4a0fd252" role="img" alt="삼성전자, ‘유럽 이해관계자 포럼‘ 개최" /> </div> <div class="text-area"> <span class="text">삼성전자, ‘유럽 이해관계자 포럼‘ 개최</span> <a href="/sec/sustainability/focus/news-detail/AZBygYmqKAIALYOd" target="_self" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide wating-item" role="group" data-index="5"> <div class="slide-content"> <div class="image-area"> <img src="/sec/sustainability/media/7c/f4110bad444459b728286b9a0052c1" role="img" alt="삼성전자 ‘2024년 지속가능경영 보고서’ 발간" /> </div> <div class="text-area"> <span class="text">삼성전자 ‘2024년 지속가능경영 보고서’ 발간</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-2024%eb%85%84-%ec%a7%80%ec%86%8d%ea%b0%80%eb%8a%a5%ea%b2%bd%ec%98%81%eb%b3%b4%ea%b3%a0%ec%84%9c-%eb%b0%9c%ea%b0%84" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide carousel-item-1" role="group" data-index="10"><!-- 마지막 슬라이드엔 carousel-item-1 --> <div class="slide-content"> <div class="image-area"> <img src="https://img.youtube.com/vi/_vHylhx_TKo/maxresdefault.jpg" role="img" alt="Actor Suk-hoon Kim visiting Samsung Electronics" /> </div> <div class="text-area"> <span class="text">“쓰레기 줍던 내가 이 세계에선 삼성 VIP..?!” | ♻️세계 환경의 날 기념♻️ | 나의 쓰레기 아저씨 EP.43</span> <a href="javascript:void(0)" onclick="videoCallVideo(this, 1);" data-url="&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/_vHylhx_TKo?si=K8HwQEQ0yQl_fM89&quot; title=&quot;YouTube video player&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;" title="“쓰레기 줍던 내가 이 세계에선 삼성 VIP..?!” | ♻️세계 환경의 날 기념♻️ | 나의 쓰레기 아저씨 EP.43" data-date="2024.06.05" class="btn btn-round play">지금 시청하기</a> </div> </div> </li> </ul> <!-- 221209 pc indicator 추가 --> <div class="pc-indicator"></div> <button type="button" class="btn-prev"><span class="blind">이전 슬라이드</span></button> <button type="button" class="btn-next"><span class="blind">다음 슬라이드</span></button> </div> <div class="carousel-slide-wrap swiper mo-only"><!-- mo slide --> <ul class="carousel-list swiper-wrapper"> <li class="slide swiper-slide" role="group" > <div class="slide-content"> <div class="image-area"> <img src="https://img.kr.news.samsung.com/kr/wp-content/uploads/2024/10/FIPS_TH.png" role="img" aria-hidden="true" alt="삼성전자, 美 국립표준기술연구소 암호 모듈 보안 인증 획득… 안전성 입증" /> </div> <div class="text-area"> <span class="text">삼성전자, 美 국립표준기술연구소 암호 모듈 보안 인증 획득… 안전성 입증</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-%e7%be%8e-%ea%b5%ad%eb%a6%bd%ed%91%9c%ec%a4%80%ea%b8%b0%ec%88%a0%ec%97%b0%ea%b5%ac%ec%86%8c-%ec%95%94%ed%98%b8-%eb%aa%a8%eb%93%88-%eb%b3%b4%ec%95%88-%ec%9d%b8" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide swiper-slide" role="group" > <div class="slide-content"> <div class="image-area"> <img src="https://img.kr.news.samsung.com/kr/wp-content/uploads/2024/10/TH_241024_Global-Goals.png" role="img" aria-hidden="true" alt="삼성전자, ‘지속가능발전목표(Global Goals)’를 향한 5년간의 발자취 공개" /> </div> <div class="text-area"> <span class="text">삼성전자, ‘지속가능발전목표(Global Goals)’를 향한 5년간의 발자취 공개</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-%ec%a7%80%ec%86%8d%ea%b0%80%eb%8a%a5%eb%b0%9c%ec%a0%84%eb%aa%a9%ed%91%9cglobal-goals%eb%a5%bc-%ed%96%a5%ed%95%9c-5%eb%85%84%ea%b0%84%ec%9d%98" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide swiper-slide" role="group" > <div class="slide-content"> <div class="image-area"> <img src="https://img.kr.news.samsung.com/kr/wp-content/uploads/2024/10/Interbrand_thumb.jpg" role="img" aria-hidden="true" alt="삼성전자, 브랜드가치 사상 첫 1천억 달러 돌파…5년 연속 세계 5위" /> </div> <div class="text-area"> <span class="text">삼성전자, 브랜드가치 사상 첫 1천억 달러 돌파…5년 연속 세계 5위</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-%eb%b8%8c%eb%9e%9c%eb%93%9c%ea%b0%80%ec%b9%98-%ec%82%ac%ec%83%81-%ec%b2%ab-1%ec%b2%9c%ec%96%b5-%eb%8b%ac%eb%9f%ac-%eb%8f%8c%ed%8c%8c5%eb%85%84-%ec%97%b0" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide swiper-slide" role="group" > <div class="slide-content"> <div class="image-area"> <img src="/sec/sustainability/media/aa/71f6f9fc0b4558b6b33d7f4a0fd252" role="img" aria-hidden="true" alt="삼성전자, ‘유럽 이해관계자 포럼‘ 개최" /> </div> <div class="text-area"> <span class="text">삼성전자, ‘유럽 이해관계자 포럼‘ 개최</span> <a href="/sec/sustainability/focus/news-detail/AZBygYmqKAIALYOd" target="_self" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide swiper-slide" role="group" > <div class="slide-content"> <div class="image-area"> <img src="/sec/sustainability/media/7c/f4110bad444459b728286b9a0052c1" role="img" aria-hidden="true" alt="삼성전자 ‘2024년 지속가능경영 보고서’ 발간" /> </div> <div class="text-area"> <span class="text">삼성전자 ‘2024년 지속가능경영 보고서’ 발간</span> <a href="https://news.samsung.com/kr/%ec%82%bc%ec%84%b1%ec%a0%84%ec%9e%90-2024%eb%85%84-%ec%a7%80%ec%86%8d%ea%b0%80%eb%8a%a5%ea%b2%bd%ec%98%81%eb%b3%b4%ea%b3%a0%ec%84%9c-%eb%b0%9c%ea%b0%84" target="_blank" class="btn btn-round play" >자세히 보기</a> </div> </div> </li> <li class="slide swiper-slide" role="group" > <div class="slide-content"> <div class="image-area"> <img src="https://img.youtube.com/vi/_vHylhx_TKo/maxresdefault.jpg" role="img" aria-hidden="true" alt="Actor Suk-hoon Kim visiting Samsung Electronics" /> </div> <div class="text-area"> <span class="text">“쓰레기 줍던 내가 이 세계에선 삼성 VIP..?!” | ♻️세계 환경의 날 기념♻️ | 나의 쓰레기 아저씨 EP.43</span> <a href="javascript:void(0)" onclick="videoCallVideo(this, 1);" data-url="&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/_vHylhx_TKo?si=K8HwQEQ0yQl_fM89&quot; title=&quot;YouTube video player&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; allowfullscreen&gt;&lt;/iframe&gt;" title="“쓰레기 줍던 내가 이 세계에선 삼성 VIP..?!” | ♻️세계 환경의 날 기념♻️ | 나의 쓰레기 아저씨 EP.43" data-date="2024.06.05" class="btn btn-round play">지금 시청하기</a> </div> </div> </li> </ul> <div class="indicator"></div> </div> </div> <div class="library-area"> <h3 class="font-samsung-ssb">Digital Library</h3> <!-- <div> <ul class="library-list"> <li> <div class="ratio-image"> <img src="/sec/sustainability/assets/img/pc/home/mdi/img_library01.png" alt="" style="" /> </div> <div class="text-area"> <span class="font-samsung-bold">2020년 지속가능경영보고서</span> <a href="javascript:void(0);" class="btn btn-icon download white">다운로드</a> </div> </li> <li> <div class="ratio-image"> <img src="/sec/sustainability/assets/img/pc/home/mdi/img_library02.png" alt="" style="" /> </div> <div class="text-area"> <span class="font-samsung-bold">2021년 지속가능경영보고서</span> <a href="javascript:void(0);" class="btn btn-icon download white">다운로드</a> </div> </li> <li> <div class="ratio-image"> <img src="/sec/sustainability/assets/img/pc/home/mdi/img_library03.png" role="img" alt="" style="" /> </div> <div class="text-area"> <span class="font-samsung-bold">2022년 지속가능경영보고서</span> <a href="javascript:void(0);" class="btn btn-icon download white">다운로드</a> </div> </li> </ul> <div class="indicator"> <a href="javascript:void(0);" class="active"><span class="blind">1</span></a> <a href="javascript:void(0);"><span class="blind">2</span></a> <a href="javascript:void(0);"><span class="blind">3</span></a> <a href="javascript:void(0);"><span class="blind">4</span></a> <a href="javascript:void(0);"><span class="blind">5</span></a> </div> </div> --> <div class="box-slide-wrap swiper"> <ul class="box-slide-list swiper-wrapper"> <!-- [24.06.25][HJR] 수정 / 보고서 링크 업데이트 (28일 오후 5시 반영) --> <li class="swiper-slide"> <div class="ratio-image"> <img src="/sec/sustainability/assets/img/pc/home/mdi/img_library04.png" alt="samsung a journey towards a sustainable future 2024" class="pc-only"/> <img src="/sec/sustainability/assets/img/mo/home/mdi/img_library04.png" alt="samsung a journey towards a sustainable future 2024" class="mo-only"/> </div> <div class="text-area"> <span class="font-samsung-bold">2024년 지속가능경영보고서</span> <a href="/sec/sustainability/media/pdf/Samsung_Electronics_Sustainability_Report_2024_KOR.pdf" target="_blank" title="새창열림" class="btn btn-icon download white">다운로드</a> </div> </li> <li class="swiper-slide"> <div class="ratio-image"> <img src="/sec/sustainability/assets/img/pc/home/mdi/home_global_human_rights_principles_ko.png" alt="삼성전자 인권 기본 원칙" class="pc-only"/> <img src="/sec/sustainability/assets/img/mo/home/mdi/home_global_human_rights_principles_ko.png" alt="삼성전자 인권 기본 원칙" class="mo-only"/> </div> <div class="text-area"> <span class="font-samsung-bold">인권 기본 원칙</span> <a href="/sec/sustainability/policy-file/AYZO1PUaCKQALYN7/삼성전자 인권 기본 원칙.pdf" class="btn btn-icon download white">다운로드</a> </div> </li> </ul> <div class="indicator white"></div> </div> </div> </section> </main> <footer> <section class="share-group"> <span class="text">페이지 공유하기</span> <span class="sns"> <!-- 230322 웹접근성 수정 1차 --> <a href="javascript:void(0);" class="btn-facebook" title="페이스북 새창 열림"></a> <a href="javascript:void(0);" class="btn-insta" title="LinkedIn 새창 열림"></a> <a href="javascript:void(0);" class="btn-twitter" title="트위터 새창 열림"></a> <a href="javascript:void(0);" class="btn-url" title="URL 복사하기"></a> <!-- // 230322 웹접근성 수정 1차 --> </span> </section> <script> window.addEventListener('load', function() { const facebook = document.querySelectorAll('.btn-facebook'); facebook.forEach((item, index) => { item.addEventListener('click', (e) => { let sendUrl = window.location.href; // 전달할 URL window.open("https://www.facebook.com/sharer/sharer.php?u=" + sendUrl); }); }); const linkedIn = document.querySelectorAll('.btn-insta'); linkedIn.forEach((item, index) => { item.addEventListener('click', (e) => { let sendText = document.title; // 전달할 텍스트 let sendUrl = window.location.href; // 전달할 URL window.open("https://linkedin.com/shareArticle?mini=true&title=" + encodeURI(sendText) + "&url=" + sendUrl + "&source=" + window.location.hostname); }) }); const twitter = document.querySelectorAll('.btn-twitter'); twitter.forEach((item, index) => { item.addEventListener('click', (e) => { let sendText = document.title; // 전달할 텍스트 let sendUrl = window.location.href; // 전달할 URL window.open("https://twitter.com/intent/tweet?text=" + encodeURI(sendText) + "&url=" + sendUrl); }); }); const alertUrlCallBack = function () { } const shareUrl = document.querySelectorAll('.btn-url'); shareUrl.forEach((item, index) => { item.addEventListener('click', (e) => { let copyUrl = window.location.href; // URL if (typeof (navigator.clipboard) == 'undefined') { let textArea = document.createElement("textarea"); textArea.value = copyUrl; textArea.style.position = "fixed"; //avoid scrolling to bottom document.body.appendChild(textArea); textArea.focus(); textArea.select(); try { let successful = document.execCommand('copy'); let msg = successful ? 'successful' : 'unsuccessful'; interaction.alertCall({ mainText: "링크가 복사되었습니다. <br>원하는 곳에 붙여넣기 해주세요.", subText: "", doneCallback: alertUrlCallBack, closeCallback: alertUrlCallBack, cbTarget: item, // 접근성 수정 1차 } ) } catch (err) { console.log(err); } document.body.removeChild(textArea) } else { navigator.clipboard.writeText(copyUrl).then(function () { interaction.alertCall({ mainText: "링크가 복사되었습니다. <br>원하는 곳에 붙여넣기 해주세요.", subText: "", doneCallback: alertUrlCallBack, closeCallback: alertUrlCallBack, cbTarget: item, // 접근성 수정 1차 } ) }, function (err) { console.log("err link clipboard " + copyUrl); }) } }); }); }); </script> <div class="footer-area"> <div class="page-depth"> <span>Home</span> </div> <div class="links-area"> <div class="menu-area"> <ul> <li> <span class="menu-tit-pc">Planet</span> <a href="javascript:void(0);" role="button" class="menu-tit-mo">Planet <span class="blind">서브메뉴 열기</span></a> <!-- 접근성 수정 1차 --> <ul> <li><a href="/sec/sustainability/planet/environmental-strategy">환경경영전략</a></li> <li><a href="/sec/sustainability/planet/climate-action">기후행동</a></li> <li><a href="/sec/sustainability/planet/circular-economy">자원순환</a></li> <li><a href="/sec/sustainability/planet/business-ecosystem">친환경 기술 혁신</a></li> <!-- [24.06] 6월 업데이트 수정 --> <li><a href="/sec/sustainability/planet/sustainable-operations">지속가능한 운영</a></li> </ul> </li> <li> <span class="menu-tit-pc">People</span> <a href="javascript:void(0);" role="button" class="menu-tit-mo">People <span class="blind">서브메뉴 열기</span></a> <!-- 접근성 수정 1차 --> <ul> <li><a href="/sec/sustainability/people/human-rights">인권</a></li> <li><a href="/sec/sustainability/people/diversity-inclusion">다양성, 형평성, 포용성</a></li> <li><a href="/sec/sustainability/people/tech-for-all">모두를 위한 기술</a></li> <li><a href="/sec/sustainability/people/supply-chain">공급망</a></li> <li><a href="/sec/sustainability/people/empowering-communities">지역사회</a></li> </ul> </li> <li> <span class="menu-tit-pc">Principle</span> <a href="javascript:void(0);" role="button" class="menu-tit-mo">Principle <span class="blind">서브메뉴 열기</span></a> <!-- 접근성 수정 1차 --> <ul> <li><a href="/sec/sustainability/principle/leadership-message">리더십 메시지</a></li> <li><a href="/sec/sustainability/principle/corporate-governance">기업지배구조</a></li> <li><a href="/sec/sustainability/principle/compliance-ethics">준법과 윤리경영</a></li> </ul> </li> <li> <span class="menu-tit-pc">Focus</span> <a href="javascript:void(0);" role="button" class="menu-tit-mo">Focus <span class="blind">서브메뉴 열기</span></a> <!-- 접근성 수정 1차 --> <ul> <li><a href="/sec/sustainability/focus/products/sustainability-in-our-products">지속가능한 제품</a></li> <li><a href="/sec/sustainability/focus/news-video">뉴스 &amp; 비디오</a></li> <li><a href="/sec/sustainability/focus/story/feature-story">스토리</a></li> </ul> </li> <li> <span class="menu-tit-pc">Digital Library</span> <a href="javascript:void(0);" role="button" class="menu-tit-mo">Digital Library <span class="blind">서브메뉴 열기</span></a> <!-- 접근성 수정 1차 --> <ul> <li><a href="/sec/sustainability/digital-library/sustainability-report">지속가능경영보고서</a></li> <li><a href="/sec/sustainability/digital-library/esg-data">ESG 데이터</a></li> <li><a href="/sec/sustainability/digital-library/policy-document">정책 &amp; 문서</a></li> <li><a href="/sec/sustainability/digital-library/awards-recognition">대외평가 &amp; 수상</a></li> </ul> </li> </ul> </div> <div class="quick-area"> <!-- //230518 문의하기 주석처리 --> <!-- <div>--> <!-- <strong>문의 사항이 있으신가요?</strong>--> <!-- <div class="cs-info">--> <!-- <p>양식에 맞춰 이름과 이메일 주소, 문의 사항을 입력해주시면, 빠른 시일 내에 작성해주신 이메일로 답변드리겠습니다.</p>--> <!-- <a href="javascript:void(0)" id="contactLearnMore" onclick="interaction.popupCall(this,'/sec/sustainability/contact/popup/contact', contactCallback)">자세히 보기</a>--> <!-- </div>--> <!-- </div>--> <!-- 230518 문의하기 주석처리// --> <div> <!-- 접근성 수정 1차 - span, button 태그 추가--> <span class="menu-tit-pc">Family Site</span> <button class="menu-tit-mo"><strong>Family Site<span class="blind">내용 열기</span></strong></button> <!-- // 접근성 수정 1차 - span, button 태그 추가--> <ul> <li> <a href="https://www.samsung.com/" target="_blank" title="새창열림">Samsung.com</a> </li> <li> <a href="https://semiconductor.samsung.com/" target="_blank" title="새창열림">Samsung Semiconductor</a> </li> </ul> </div> <!-- //#0050 23.04.18 웹접근성 인증마크 삽입 --> <div class="web-mark"> <img class="pc-img" src="/sec/sustainability/assets/img/pc/common/mdi/WA_Mark_PC.png" alt="과학기술정보통신부 WEB ACCESSIBILITY 마크(웹 접근성 품질인증 마크)"> <img class="mo-img" src="/sec/sustainability/assets/img/mo/common/mdi/WA_Mark_MO.png" alt="과학기술정보통신부 WEB ACCESSIBILITY 마크(웹 접근성 품질인증 마크)"> </div> <!-- #0050 23.04.18 웹접근성 인증마크 삽입// --> </div> </div> <div class="copyright"> <!-- <label for="languageSelect" class="blind">언어선택</label>--> <!-- <select id="languageSelect" onchange="goLanguagePage(this)">--> <!-- <option value="sec">한국어</option>--> <!-- <option value="global">English</option>--> <!-- </select>--> <div class="language"> <a href="javascript:void(0);" title="언어선택 열기"> <span>한국어</span> </a> <ul> <li class="current"> <a href="javascript:void(0);" title="선택됨">한국어</a> </li> <li> <a href="javascript:goLanguagePage(this);">English</a> </li> </ul> </div> <div> <ul> <li> <!-- <a href="/sec/sustainability/people/tech-for-all#anchor1" title="툴팁 열림">Accessbility Help <span class="circle">?</span></a> --> <a href="javascript:void(0);" title="Userway 실행하기" class="accessbility-tooltip-opener">Accessbility Help</a> <!-- [접근성] 툴팁 팝업 숨김처리 --> <!--<a href="javascript:void(0);" title="툴팁 열림" class="accessbility-tooltip-opener">Accessbility Help<span class="circle">?</span></a>--> <!--<div class="accessbility-tooltip" style="display: none;"> <p> 버튼을 클릭하여 접근성 옵션을<br /> 활성화 해 보세요. </p> &lt;!&ndash;<button type="button" class="go-accessbility">접근성 메뉴</button> <button type="button" class="tooltip-close"> <span class="blind">닫기</span> </button>&ndash;&gt; </div>--> </li> <!-- <li>--> <!-- <a href="javascript:void(0);" onclick="interaction.popupCall(this,'/sec/sustainability/contact/popup/contact-cookies')">Cookies</a>--> <!-- </li>--> <li> <a href="/sec/sustainability/contact/privacy" class="privacy">개인정보처리방침</a> </li> <li> <a href="javascript:void(0);" onclick="interaction.popupCall(this,'/sec/sustainability/contact/popup/forward-looking-statement')">Forward-Looking Statement</a> </li> </ul> </div> <p>Copyright &copy; 1995-2023 Samsung. All Rights Reserved.</p> </div> </div> <button type="button" class="go-to-top"> <span class="blind">맨 위로</span> </button> <!-- header, footer javascript --> <script type="text/javascript"> // pc header const wideHeader = document.querySelector('header .pc-only'); const headingTitle = wideHeader.querySelector('h1 > a'); const menus = wideHeader.querySelectorAll('.navi > li'); const anchor = wideHeader.querySelectorAll('.navi > li > a'); const subs = wideHeader.querySelectorAll('.sub'); const gnbDimmed = document.querySelector('.gnb-dimmed'); const ev = { on: function(index) { [...menus].map((m, i) => { const a = m.children[0]; if (index === i) { a.classList.add('on'); a.nextElementSibling.style.display = 'block'; } else { a.classList.remove('on'); a.nextElementSibling.style.display = 'none'; } }); gnbDimmed.style.display = 'block'; }, off: function(e) { e.target.children[0].classList.remove('on'); e.target.children[0].nextElementSibling.style.display = 'none'; gnbDimmed.style.display = 'none'; }, clear: function() { [...anchor].map((a, i) => { a.classList.remove('on') }); [...subs].map((s, i) => { s.style.display = 'none' }); gnbDimmed.style.display = 'none'; } }; menus.forEach((item, index) => { item.addEventListener('mouseover', (e) => { ev.on(index) }); item.addEventListener('mouseleave', (e) => { ev.off(e) }); }); anchor.forEach((item, index) => { item.addEventListener('focus', (e) => { ev.on(index) }); }); const utilBtns = document.querySelectorAll('.util > li > a'); utilBtns.forEach((item, index) => { item.addEventListener('focus', (e) => { if (index === 0) { ev.clear() } }); }); headingTitle.addEventListener('focus', (e) => { ev.clear(); }); // 221214 header language button // 240319 접근성 수정 const language = document.querySelectorAll('.language > a'); language.forEach((item, index) => { const languageLayer = item.closest('.language').querySelector('ul'); item.addEventListener('click', (e) => { // 240402 접근성 - img, span 동작 통일 //const my = e.target.nodeName === 'IMG' ? e.target.closest('a') : e.target; const my = e.target.nodeName === 'IMG' || e.target.nodeName === 'SPAN' ? e.target.closest('a') : e.target; if (my.classList.contains('open')) { languageLayer.style.display = 'none'; my.classList.remove('open'); my.closest('a').title = '언어선택 열기'; language.focus(); } else { languageLayer.style.display = 'block'; my.classList.add('open'); my.closest('a').title = '언어선택 닫기'; } }); }); const thisLanguage = document.querySelectorAll('header .language .current > a'); thisLanguage.forEach((item, index) => { const languageLayer = item.closest('.language').querySelector('ul'); const languageBtn = item.closest('.header-area').querySelector('.language > a'); item.addEventListener('click', (e) => { languageLayer.style.display = 'none'; languageBtn.classList.remove('open'); languageBtn.closest('a').title = '언어선택 열기'; languageBtn.focus(); }); item.title = '선택됨'; }); //240402 footer 동작 추가 const thisLanguage02 = document.querySelectorAll('footer .language .current > a'); thisLanguage02.forEach((item, index) => { const languageLayer02 = item.closest('.language').querySelector('ul'); const languageBtn02 = item.closest('.copyright').querySelector('.language > a'); item.addEventListener('click', (e) => { languageLayer02.style.display = 'none'; languageBtn02.classList.remove('open'); languageBtn02.closest('a').title = '언어선택 열기'; languageBtn02.focus(); }); }); //240319 추가 const links = document.querySelectorAll('.language ul li:last-child a'); links.forEach(function(link) { link.addEventListener('focusout', function(event) { const grandparent = event.target.parentElement.parentElement; grandparent.style.display = 'none'; const previousLink = event.target.parentElement.parentElement.previousElementSibling; previousLink.classList.remove('open'); previousLink.closest('a').title = '언어선택 열기'; }); }); // mobile header const allMenu = document.querySelector('.all-menu > a'); const menuLayer = document.querySelector('.main-menu-aside'); const searchArea = menuLayer.querySelector('.search-area'); allMenu.addEventListener('click', () => { document.body.classList.add('stop'); searchArea.classList.add('wide'); menuLayer.style.display = 'block'; }); const mainArea = menuLayer.querySelector('.menu-area'); const mainMenu = menuLayer.querySelectorAll('.menu-area a'); const subList = menuLayer.querySelector('.sub-list'); const subLayer = menuLayer.querySelectorAll('.sub-list > div'); const backBtn = menuLayer.querySelector('.btn-back'); const languageBox = menuLayer.querySelector('.language'); mainMenu.forEach((item, index) => { item.addEventListener('click', () => { mainArea.style.display = 'none'; subList.style.display = 'block'; searchArea.classList.remove('wide'); backBtn.style.display = 'inline-block'; [...subLayer].map((d, i) => { i === index ? d.style.display = 'block' : d.style.display = 'none'; }); languageBox.style.display = 'none'; backBtn.focus(); // 230322 접근성 수정 1차 }); }); const groupMenu = menuLayer.querySelectorAll('.sub-list > div > ul > li.menu-group > a'); const groupSubMenu = menuLayer.querySelectorAll('.sub-list > div > ul > li.menu-group > ul > li > a'); const subUl = menuLayer.querySelectorAll('.sub-list > div > ul > li.menu-group > ul'); const groupMenuBtns = menuLayer.querySelectorAll('.sub-list > div > ul > li.menu-group > button'); groupSubMenu.forEach((item, index) => { item.addEventListener('click', (e) => { // console.log("index = " + index + ", " + item); document.body.classList.remove('stop'); }); }); groupMenu.forEach((item, index) => { item.addEventListener('click', (e) => { if (e.target.classList.contains('open') && !e.target.classList.contains('special')) { e.target.classList.remove('open'); e.target.nextElementSibling.style.display = 'none'; } else if (!e.target.classList.contains('open') && !e.target.classList.contains('special')) { [...groupMenu].map((m, i) => { index === i ? m.classList.add('open') : m.classList.remove('open'); }); [...subUl].map((u, i) => { index === i ? u.style.display = 'block' : u.style.display = 'none'; }); [...groupMenuBtns].map((btn, i) => { btn.classList.remove('open') }); } }); }); groupMenuBtns.forEach((item, index) => { item.addEventListener('click', (e) => { if (e.target.classList.contains('open')) { e.target.classList.remove('open'); e.target.nextElementSibling.style.display = 'none'; e.target.firstElementChild.innerText = '서브메뉴 열기'; // 접근성 수정 1차 } else if (!e.target.classList.contains('open') && !e.target.classList.contains('special')) { [...groupMenu].map((m, i) => { m.classList.remove('open'); i === index ? m.closest('li').querySelector('.blind').innerText = '서브메뉴 닫기' : m.closest('li').querySelector('.blind').innerText = '서브메뉴 열기'; // 접근성 수정 1차 }); [...subUl].map((u, i) => { u.style.display = 'none' }); [...groupMenuBtns].map((btn, i) => { btn.classList.remove('open') }); e.target.classList.add('open'); e.target.nextElementSibling.style.display = 'block'; } }); }); const menuBack = document.querySelector('.header-area .btn-back'); menuBack.addEventListener('click', (e) => { [...groupMenu].map((m, i) => { m.classList.remove('open'); }); [...subUl].map((u, i) => { u.style.display = 'none'; }); [...subLayer].map((d, i) => { d.style.display = 'none'; }); subList.style.display = 'none'; languageBox.style.display = 'block'; mainArea.style.display = 'block'; searchArea.classList.add('wide'); menuBack.style.display = 'none'; }); const menuClose = document.querySelector('.menu-layer-top .btn-close'); menuClose.addEventListener('click', (e) => { document.body.classList.remove('stop'); [...groupMenu].map((m, i) => { m.classList.remove('open'); }); [...subUl].map((u, i) => { u.style.display = 'none'; }); [...subLayer].map((d, i) => { d.style.display = 'none'; }); subList.style.display = 'none'; languageBox.style.display = 'block'; mainArea.style.display = 'block'; searchArea.classList.add('wide'); menuBack.style.display = 'none'; menuLayer.style.display = 'none'; allMenu.focus(); // 접근성 수정 1차 }); // footer // footer menu const footerMenu = document.querySelectorAll('footer .menu-area > ul > li > a'); const footerMenuGroup = document.querySelectorAll('footer .menu-area > ul > li'); footerMenu.forEach((btn, index) => { btn.addEventListener('click', (e) => { if (!e.target.closest('li').classList.contains('active')) { [...footerMenuGroup].map((item, i) => { // 접근성 수정 1차 if (index === i) { item.classList.add('active'); item.querySelector('.blind').innerText = '서브메뉴 닫기'; } else { item.classList.remove('active'); item.querySelector('.blind').innerText = '서브메뉴 열기'; } }); } else { e.target.closest('li').classList.remove('active'); e.target.firstElementChild.innerText = '서브메뉴 열기'; // 접근성 수정 1차 } }); }); // footer quick links // 접근성 수정 1차 - 선택자 strong -> button 수정 - 열림 닫힘 추가 시작 const quickBtn = document.querySelectorAll('.quick-area > div > button'); quickBtn.forEach((item, index) => { item.addEventListener('click', (e) => { if (!item.classList.contains('on')) { item.classList.add('on'); e.target.children[0].querySelector('.blind').innerText = '내용 닫기'; } else { item.classList.remove('on'); e.target.children[0].querySelector('.blind').innerText = '내용 열기'; } }); }); // 접근성 수정 1차 - 선택자 strong -> button 수정, 열림 닫힘 추가 끝 // footer accessbility tooltip /*const accessbilityOpenBtn = document.querySelector('.accessbility-tooltip-opener'); const accessbilityTooltip = document.querySelector('.accessbility-tooltip'); accessbilityOpenBtn.addEventListener('mouseover', () => { accessbilityTooltip.style.display = 'block'; }); accessbilityOpenBtn.addEventListener('focus', () => { accessbilityTooltip.style.display = 'block'; }); accessbilityOpenBtn.addEventListener('mouseout', () => { accessbilityTooltip.style.display = 'none'; }); accessbilityOpenBtn.addEventListener('focusout', () => { accessbilityTooltip.style.display = 'none'; }); accessbilityOpenBtn.addEventListener('blur', () => { accessbilityTooltip.style.display = 'none'; }); accessbilityOpenBtn.addEventListener('click', () => { accessbilityTooltip.style.display = 'none'; });*/ // const tooltipClose = accessbilityTooltip.querySelector('.tooltip-close'); // tooltipClose.addEventListener('click', () => { // accessbilityTooltip.style.display = 'none'; // }); // go to top const gotoTop = document.querySelector('.go-to-top'); window.addEventListener('scroll', () => { if (window.scrollY > 100) { gotoTop.style.display = 'block'; } else { gotoTop.style.display = 'none'; } }); gotoTop.addEventListener('click', () => { window.scrollTo(0, 0); }); //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> const goLanguagePage = function(e){ let LOCALE_ID = 'sec'; //sec; let LOCATION_PATHNAME = window.location.pathname; let LOCATION_PATHNAME_TARGET_LANG = '/global'+LOCATION_PATHNAME.substring(LOCALE_ID.length+1); if(LOCATION_PATHNAME.startsWith('/'+LOCALE_ID+'/sustainability/focus/news-video')){ LOCATION_PATHNAME_TARGET_LANG='/global/sustainability/focus/news-video' } else if(LOCATION_PATHNAME.startsWith('/'+LOCALE_ID+'/sustainability/search/search-result')){ const url = new URL(window.location.href); const urlParams = url.searchParams; const keyword = urlParams.get('keyword'); const entries = urlParams.entries(); let searchParam = ""; for(const entry of entries) { if(entry[0] !='page' && entry[0] !='sort' && entry[0] !='keyword'){ searchParam+="&"+entry[0]+"="+entry[1]; } } LOCATION_PATHNAME_TARGET_LANG='/global/sustainability/search/search-result?keyword='+encodeURIComponent(keyword)+searchParam; } else if(LOCATION_PATHNAME.startsWith('/'+LOCALE_ID+'/sustainability/focus/news-detail/')){ LOCATION_PATHNAME_TARGET_LANG='/global/sustainability/focus/news-video' } else if(LOCATION_PATHNAME === '/'+LOCALE_ID+'/sustainability' || LOCATION_PATHNAME === '/'+LOCALE_ID+'/sustainability/' ){ LOCATION_PATHNAME_TARGET_LANG='/global/sustainability/main'; } else { let LOCATION_HASH1 = window.location.hash.substring(1); if(LOCATION_HASH1 != ''){ LOCATION_PATHNAME_TARGET_LANG = LOCATION_PATHNAME_TARGET_LANG + "#"+LOCATION_HASH1; } } // console.log("LOCALE_ID ", LOCALE_ID); // console.log("LOCATION_PATHNAME ", LOCATION_PATHNAME); // console.log("LOCATION_PATHNAME_TARGET_LANG ", LOCATION_PATHNAME_TARGET_LANG); window.location.href=LOCATION_PATHNAME_TARGET_LANG; } // contact us alert const receiptAlert = function () { const layer = document.querySelector('.this-layer'); const popup = layer.closest('.popup'); layer.remove(); const alertHtml = `<div class="alert-area" tabindex="0"><div class="alert-area-wrap"><div><strong>문의 접수가 완료되었습니다.</strong><p>빠른 시일 내에 작성해주신 이메일로 답변드리겠습니다.</p><button class="btn black receipt-done" type="button">확인</button></div></div><button class="popup-close black receipt-close" type="button"><span class="blind">알림 닫기</span></button></div>`; popup.innerHTML = alertHtml; const receiptDone = popup.querySelector('.receipt-done'); const receiptClose = popup.querySelector('.receipt-close'); receiptDone.addEventListener('click', () => { popup.remove(); document.body.classList.remove('stop'); }); receiptClose.addEventListener('click', () => { popup.remove(); document.body.classList.remove('stop'); }); } // 동의서 보기 콜백 const infoCallback = function () { console.log('동의서보기') } // contact 콜백 const contactCallback = function () { // select box const layer = document.querySelector('.this-layer'); const allEl = layer.querySelectorAll('*'); const selectBoxs = layer.querySelectorAll('.select-list'); allEl.forEach((item, index) => { item.addEventListener('click', (e) => { if (e.target.tagName !== 'BUTTON' && e.target.tagName !== 'A') { [...selectBoxs].map((b, i) => { b.style.display = 'none' }); } }); }); const selectBtns = document.querySelectorAll('.popup-area .btn-select'); selectBtns.forEach((btn, idx) => { btn.addEventListener('click', (e) => { e.target.nextElementSibling.style.display = 'block'; }); }); const optionBtn1 = document.querySelectorAll('.popup-area #contactFormContinentId a'); optionBtn1.forEach((opt, idx) => { opt.addEventListener('click', (e) => { const myTxt = e.target.innerText; document.querySelector('#contactFormContinent').value=myTxt; const myArea = e.target.closest('.select-list'); const myGroup = myArea.querySelectorAll('li'); myArea.previousElementSibling.innerText = myTxt; getLocations(e.target); myArea.style.display = 'none'; }); }); const optionBtn3 = document.querySelectorAll('.popup-area #contactFormCategoryId a'); optionBtn3.forEach((opt, idx) => { opt.addEventListener('click', (e) => { const myTxt = e.target.innerText; document.querySelector('#contactFormCategory').value=myTxt; const myArea = e.target.closest('.select-list'); const myGroup = myArea.querySelectorAll('li'); myArea.previousElementSibling.innerText = myTxt; myArea.style.display = 'none'; }); }); const contactFormCountryButton = document.querySelector('.popup-area #contactFormCountryButton'); const contactFormCountryId = document.querySelector('.popup-area #contactFormCountryId'); const contactFormCountryButtonHtml = contactFormCountryButton.innerHTML; const getLocations = function (e) { contactFormCountryButton.innerHTML=contactFormCountryButtonHtml; const xmLHttpRequest = new XMLHttpRequest(); xmLHttpRequest.onreadystatechange = function () { if (this.readyState === 4 && this.status === 200) { if (this.responseText != '') { const obj = JSON.parse(this.responseText); const contactLocationUl = contactFormCountryId.querySelector("ul"); obj.forEach((result, index) => { let li = "" + "<li><a href=\"javascript:void(0);\" >" + result['label'] + "</a></li>"; contactLocationUl.insertAdjacentHTML("afterbegin", li); contactLocationUl.querySelector("a").addEventListener('click', (e) => { const myTxt = e.target.innerText; const myArea = e.target.closest('.select-list'); document.querySelector('#contactFormCountry').value=myTxt; myArea.previousElementSibling.innerText = myTxt; myArea.style.display = 'none'; }); }); } } }; xmLHttpRequest.open('GET', "/sec/sustainability/contact/popup/contact-code?parentCode="+ e.getAttribute('data-code'), false); xmLHttpRequest.send(); } //// contact us send // start const alertCallBack = function (){ } const contactBtn = document.querySelector(".popup-area .contact-btn"); let contactBtnCnt = 0; contactBtn.addEventListener('click', function(e) { if(contactBtnCnt>0){return;} const contactForm = document.querySelector(".popup-area #contactForm"); if(contactForm.continent.value == ''){ interaction.alertCall({ mainText:contactForm.continent.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:document.getElementById("contactFormContinentId"), } ) return false; } if(contactForm.country.value == ''){ interaction.alertCall({ mainText:contactForm.country.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:document.getElementById("contactFormCountryId"), } ) return false; } if(contactForm.category.value == ''){ interaction.alertCall({ mainText:contactForm.category.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:document.getElementById("contactFormCategoryId"), } ) return false; } if(contactForm.company.value == ''){ interaction.alertCall({ mainText:contactForm.company.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:contactForm.company, } ) return false; } if(contactForm.name.value == ''){ interaction.alertCall({ mainText:contactForm.name.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:contactForm.name, } ) return false; } if(contactForm.email.value == ''){ interaction.alertCall({ mainText:contactForm.email.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:contactForm.email, } ) return false; } if(contactForm.title.value == ''){ interaction.alertCall({ mainText:contactForm.title.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:contactForm.title, } ) return false; } if(contactForm.content.value == ''){ interaction.alertCall({ mainText:contactForm.content.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:contactForm.content, } ) return false; } if(!contactForm.allap1.checked){ interaction.alertCall({ mainText:contactForm.allap1.placeholder, subText:'', doneCallback:alertCallBack, closeCallback:alertCallBack, cbTarget:contactForm.allap1, } ) return false; } // e.preventDefault(); let data = new FormData(contactForm); contactBtnCnt++; const xmLHttpRequest = new XMLHttpRequest(); xmLHttpRequest.onreadystatechange = function () { if (this.readyState === 4 && this.status === 200) { if (this.responseText != '') { const obj = JSON.parse(this.responseText); console.log(obj); if(obj['result'] == "ok"){ receiptAlert(); // document.body.classList.remove('stop'); } } } }; xmLHttpRequest.open('POST', "/sec/sustainability/contact/popup/contact-send", false); xmLHttpRequest.setRequestHeader(document.getElementById("_csrf_header").getAttribute('content'), document.getElementById("_csrf").getAttribute('content')) xmLHttpRequest.send(data); return false; }); //// contact us send end // } </script> </footer> <!-- 팝업 관련 --> <script> window.addEventListener('load', function() { //팝업 레이어 동작 let popupId = window.location.hash.substring(1) if (popupId != '' && popupId != 'news-filter-area' && popupId != 'contactLearnMore' && popupId.indexOf("anchor") == -1 ) { let popupUrl = '/sec/sustainability/popup/popup_doc/' + popupId; console.log('popupUrl -> ' + popupUrl); let obj = document.getElementById(popupId); interaction.popupCall(obj, popupUrl, popupId); } }); // 팝업 아코디언 & 접근성 const popup = document.querySelector('.popup') if (popup) { const aBtns2 = document.querySelectorAll('.btn-accordion'); const aBoxs2 = document.querySelectorAll('.accordion-content-list'); aBtns2.forEach((btn, index) => { btn.addEventListener('click', (e) => { const myBox = e.target.closest('.list-box-layout').nextElementSibling; if(e.target.classList.contains('active')) { e.target.classList.remove('active'); myBox.classList.remove('active'); e.target.querySelector('.blind').innerText = '열기'; } else { [...aBtns2].map((b, i) => { // 접근성 수정 1차 if (i === index) { b.classList.add('active'); b.querySelector('.blind').innerText = '닫기'; } else { b.classList.remove('active'); b.querySelector('.blind').innerText = '열기'; } }); [...aBoxs2].map((b, i) => { i === index ? b.classList.add('active') : b.classList.remove('active'); }); e.target.querySelector('.blind > span').innerText = '닫기'; } }); }); } </script> <script> const userwayDataAccount="rEcm9PopfA"; (function(d){var s = d.createElement("script");s.setAttribute("data-account", userwayDataAccount);s.setAttribute("src", "https://cdn.userway.org/widget.js");(d.body || d.head).appendChild(s);})(document) </script> <div class="search full-search-area"><!--240319 tabindex="0" 삭제--> <div class="full-popup pc-only off"> <div class="search-box-wrap" tabindex="0"><!--240319 구조추가 tabindex="0" --> <div class="form-box search-box"> <label for="search_input_pc" class="blind">통합 검색</label> <input type="text" id="search_input_pc" placeholder=""> <button type="button" class="btn-search" id="search_button_pc"> <span class="blind">검색하기</span> </button> <button type="button" class="btn-clear"> <span class="blind">텍스트 삭제</span> </button> </div> <!-- 입력 전 히스토리 & 추천검색어 레이어 s --> <div data-id="keyword_history" class="search-layer" style="display: block;"> <div class="col-2"> <div class="history"> <strong>검색 히스토리</strong> <ul class="history-list" id="pc-history-list"> </ul> </div> <div class="recommand"> <strong>추천 검색어</strong> <ul class="recom-list" id="pc-recomm-ul"> </ul> </div> </div> <div class="btn-area"> <button type="button" class="btn btn-all-delete">검색 히스토리 전체 삭제</button> <button type="button" class="btn btn-layer-close">닫기</button> </div> </div> <!-- // 입력 전 히스토리 & 추천검색어 레이어 e --> <!-- 입력 후 자동검색 레이어 s --> <div data-id="keyword_auto" class="search-layer auto"> <div class="auto-keyword"> <ul id="pc-keyword-auto-ul"> </ul> </div> </div> <!-- // 입력 후 자동검색 레이어 e --> </div> <!-- yb 접근성 이슈로 인해 --> <button type="button" class="btn-popup-close" hidden="hidden"> <span class="blind">검색 팝업창 닫기</span> </button> </div> <!-- only pc e --> <!-- only mobile s --> <div class="full-page mo-only off"> <div class="top"> <!-- 접근성 수정 1차 - a태그 수정 --> <a href="javascript:void(0);" class="btn btn-back" title="이전페이지로 돌아가기" tabindex="0"></a> <!-- // 접근성 수정 1차 - a태그 수정 --> <div class="form-box search-box"> <label for="search_input_mobile" class="blind">통합 검색</label> <input type="text" id="search_input_mobile" placeholder=""> <button type="button" class="btn-search" id="search_button_mobile" > <span class="blind">검색하기</span> </button> <button type="button" class="btn-clear"> <span class="blind">텍스트 삭제</span> </button> </div> </div> <!-- 입력 전 히스토리 & 추천검색어 레이어 s --> <div data-id="keyword_history" class="search-layer" style="display: block"> <div class="history"> <strong>검색 히스토리</strong> <ul class="history-list" id="mo-history-list"> </ul> <button type="button" class="btn btn-all-delete">전체 삭제</button> </div> <div class="recommand"> <strong>추천 검색어</strong> <ul class="recom-list" id="mo-recomm-ul"> </ul> </div> </div> <!-- // 입력 전 히스토리 & 추천검색어 레이어 e --> <!-- 입력 후 자동검색 레이어 s --> <div data-id="keyword_auto" class="search-layer auto" style="display:block"> <div class="auto-keyword"> <ul id="mo-keyword-auto-ul"> </ul> </div> </div> <!-- // 입력 후 자동검색 레이어 e --> <!-- 접근성 수정 1차 - 태그 제거 --> <!-- <button type="button" class="btn-popup-close">--> <!-- <span class="blind">검색 팝업창 닫기</span>--> <!-- </button>--> <!-- // 접근성 수정 1차 - 태그 제거 --> </div> <!-- only mobile e --> </div> <script> window.addEventListener('load', function() { let localeIdForSearchPopup = "sec"; // 검색창 열기 const searchBtn = document.querySelector('.pc-only .util > li:first-child > a'); if (searchBtn) { searchBtn.addEventListener('click', function() { const searchPopup = document.querySelector('.full-popup'); const pcSearchBoxWrap = document.querySelector('.pc-only .search-box-wrap');//240319 const searchMoPopup = document.querySelector('.full-page'); const recommendList = document.querySelector('.recom-list'); //const fullSearchArea = document.querySelector('.full-search-area'); // 검색 시 tab focus 기능 추가 //fullSearchArea.focus();//240319 searchPopup.classList.remove('off'); pcSearchBoxWrap.focus();//240319 레이어팝업에 포커스 searchMoPopup.classList.remove('off'); if(recommendList.childElementCount == 0){ getSearchRecommendAsync(); } getSearchHistory(); loopFocus(searchPopup); // 240419 검색팝업 포커스 루프 추가 }); } // 검색팝업 포커스 루프 function loopFocus(tgPopup) { const tgFirstEl = tgPopup.querySelector('.form-box.search-box input'); const tgLastEl = tgPopup.querySelector('.btn-layer-close'); // [24.04.26] 접근성, 마지막 포커스 변경 tgPopup.addEventListener('keydown', function (event) { if (event.key === 'Tab') { if (event.shiftKey) { if (document.activeElement === tgFirstEl) { event.preventDefault(); tgLastEl.focus(); } } else { if (document.activeElement === tgLastEl) { event.preventDefault(); tgFirstEl.focus(); } } } }); } // 검색창 열기 모바일 const moSearchBtn = document.querySelector('.mo-only .util > li:first-child > a'); if (moSearchBtn) { moSearchBtn.addEventListener('click', function() { const searchPopup = document.querySelector('.full-popup'); const searchMoPopup = document.querySelector('.full-page'); const recommendList = document.querySelector('.recom-list'); const fullSearchArea = document.querySelector('.full-search-area');// 검색 시 tab focus 기능 추가 fullSearchArea.setAttribute('tabindex', '0');//240319 추가 fullSearchArea.focus(); searchPopup.classList.remove('off'); searchMoPopup.classList.remove('off'); if(recommendList.childElementCount == 0){ getSearchRecommendAsync(); } getSearchHistory(); disablePageFocus(); // [24.04.25] Android search popup focus 추가 }); } // [24.04.25] Android search popup focus 추가 function disablePageFocus() { document.querySelector("#contents").setAttribute("aria-hidden", "true"); document.querySelector("footer").setAttribute("aria-hidden", "true"); document.querySelector("header").setAttribute("aria-hidden", "true"); } function enablePageFocus() { document.querySelector("#contents").setAttribute("aria-hidden", "false"); document.querySelector("footer").setAttribute("aria-hidden", "false"); document.querySelector("header").setAttribute("aria-hidden", "false"); } // page 내부 javascript start const pcLayers = document.querySelectorAll('.pc-only .search-layer'); const moLayers = document.querySelectorAll('.mo-only .search-layer'); //검색어 히스토리 레이어 닫기 const keywordClose = document.querySelector('.btn-layer-close'); keywordClose.addEventListener('click', function() { pcLayers.forEach((layer, index) => { document.querySelector('.full-popup').classList.add('off'); }); searchBtn.focus(); }); // 검색 자동완성 보이기/감추기 (pc) const searchFieldPc = document.getElementById('search_input_pc'); // console.log("search_input_pc " + searchFieldPc.value); // Throttle let timer; function throttle(callbackFn, timeout) { if(!timer) { timer = setTimeout(() => { timer = null; callbackFn(); }, timeout); } } searchFieldPc.addEventListener("keyup", function() { // console.log("event!!"); throttle(() => { const clearBtn = this.closest('.search-box').querySelector('.btn-clear'); if (this.value !== '') { pcLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'block'; } else { layer.style.display = 'none'; } }); clearBtn.style.display = 'block'; } else { pcLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'none'; } else { layer.style.display = 'block'; } }); clearBtn.style.display = 'none'; } if(this.value != '') { console.log("API call"); getSearchResultAsync(this.value); } }, 500); }); // 검색 자동완성 보이기/감추기 (mobile) const searchFieldMobile = document.getElementById('search_input_mobile'); searchFieldMobile.addEventListener("keyup", function() { throttle(() => { const clearBtn = this.closest('.search-box').querySelector('.btn-clear'); if (this.value !== '') { moLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'block'; } else { layer.style.display = 'none'; } }); clearBtn.style.display = 'block'; } else { moLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'none'; } else { layer.style.display = 'block'; } }); clearBtn.style.display = 'none'; } if(this.value != '') { console.log("API call"); getSearchResultAsync(this.value); } }, 500); }); // 검색창 닫기 수정 const closeBtn = document.querySelector('.full-popup.pc-only .btn-layer-close'); // [24.04.26] 접근성 const searchPopup = document.querySelector('.full-popup'); const closeMoBtn = document.querySelector('.search .btn-back'); const searchMoPopup = document.querySelector('.full-page'); // pc closeBtn.addEventListener('click', () => { searchPopup.classList.add('off'); searchMoPopup.classList.add('off'); searchBtn.focus(); }); // mobile closeMoBtn.addEventListener('click', () => { searchPopup.classList.add('off'); searchMoPopup.classList.add('off'); moSearchBtn.focus(); enablePageFocus(); // [24.04.25] Android search popup focus 추가 }); //추천검색어 가져오기 const getSearchRecommendAsync = function(){ console.log("getSearchRecommendAsync"); const pcReUl = document.getElementById('pc-recomm-ul'); const moReUl = document.getElementById('mo-recomm-ul'); const xmLHttpRequest = new XMLHttpRequest(); xmLHttpRequest.onreadystatechange = function () { if (this.readyState === 4 && this.status === 200) { if(this.responseText != ''){ const obj = JSON.parse(this.responseText); obj.forEach((result, index) => { console.log(" recommend " + result['label']); if(index < 6){ if(index == 0){//검색 필드에 1번째 searchFieldPc.setAttribute("placeholder", result['label']); searchFieldMobile.setAttribute("placeholder", result['label']); }else{ let li="" + "<li><button style='cursor: pointer' type='button' data-word='"+ result['label'] +"'>" + result['label'] + "</button></li>"; pcReUl.insertAdjacentHTML("afterbegin", li); moReUl.insertAdjacentHTML("afterbegin", li); } } }); } //한번씩만 호출하도록 순서 변경 pcReUl.childNodes.forEach((li, index) => { if(index > 4) return; li.firstChild.addEventListener('click',function(event) { let data = ""; if(event.target.getAttribute('data-word')!= undefined){ data = event.target.getAttribute('data-word'); }else{ data = event.target.children[0].getAttribute('data-word'); } setSearchCookie(data); location.href="/"+localeIdForSearchPopup+"/sustainability/search/search-result?keyword="+encodeURIComponent(data); }); li.firstChild.addEventListener('keyup',function(event) { if (event.key == 'Enter') { let data = ""; if (event.target.getAttribute('data-word') != undefined) { data = event.target.getAttribute('data-word'); } else { data = event.target.children[0].getAttribute('data-word'); } setSearchCookie(data); location.href = "/" + localeIdForSearchPopup + "/sustainability/search/search-result?keyword=" + encodeURIComponent(data); } }); }); moReUl.childNodes.forEach((li, index) => { if(index > 4) return; li.firstChild.addEventListener('click',function(event) { let data = ""; if(event.target.getAttribute('data-word')!= undefined){ data = event.target.getAttribute('data-word'); }else{ data = event.target.children[0].getAttribute('data-word'); } setSearchCookie(data); location.href="/"+localeIdForSearchPopup+"/sustainability/search/search-result?keyword="+encodeURIComponent(data); }); li.firstChild.addEventListener('keyup',function(event) { if (event.key == 'Enter') { let data = ""; if (event.target.getAttribute('data-word') != undefined) { data = event.target.getAttribute('data-word'); } else { data = event.target.children[0].getAttribute('data-word'); } setSearchCookie(data); location.href = "/" + localeIdForSearchPopup + "/sustainability/search/search-result?keyword=" + encodeURIComponent(data); } }); }); } }; xmLHttpRequest.open('GET', "/sec/sustainability/search/search-recommend-async", false); xmLHttpRequest.send(); } const searchCookieName = "keywordHistory"; const setSearchCookie = function(value) { if(value==''){ return; } let todayDate = new Date(); todayDate.setDate(todayDate.getDate() + 9999); let searchCookie = getSearchCookie(); if( searchCookie==undefined){ searchCookie=""; } let hists = searchCookie.split(","); let findValueCnt=0; hists.forEach((result, index) => { if( result == value ){ findValueCnt++; } }); if(findValueCnt==0){ console.log(hists.length); if(searchCookie==""){ searchCookie = value; }else{ // 쿠키에 5개 차있으면 가장 오래된것 삭제하여 항상 5개 유지 if(hists.length == 5){ const removeTarget = hists[0]; removeSearchCookie(removeTarget); searchCookie = getSearchCookie(); } searchCookie = searchCookie + "," + value; } } document.cookie = searchCookieName+"=" + encodeURIComponent(searchCookie) + "; path=/; expires=" + todayDate + ";" } const removeSearchCookie = function(value) { if(value==''){return;} let todayDate = new Date(); todayDate.setDate(todayDate.getDate() + 9999); let searchCookie = getSearchCookie(); if( searchCookie==undefined){searchCookie="";} let hists = searchCookie.split(","); let newSearchCookie=""; hists.forEach((result, index) => { // if(index < 8){ if( result != value ){ if(newSearchCookie == ""){ if(result != ''){newSearchCookie=result;} }else{newSearchCookie=newSearchCookie+ "," +result;} } // } }); document.cookie = searchCookieName+"=" + newSearchCookie + "; path=/; expires=" + todayDate + ";" } const removeAllSearchCookie = function() { document.cookie = searchCookieName+"=; path=/; expires=-1;" } const getSearchCookie = function() { let name = searchCookieName; let matches = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); return matches ? decodeURIComponent(matches[1]) : undefined; } const getSearchHistory = function() { console.log("getSearchHistory"); const pcHistoryList = document.getElementById("pc-history-list"); const moHistoryList = document.getElementById("mo-history-list"); let searchCookie = getSearchCookie(); if( searchCookie==undefined){ searchCookie=""; } pcHistoryList.innerHTML=""; moHistoryList.innerHTML=""; let hists = searchCookie.split(","); hists.forEach((result, index) => { if(result!='' && index < 5){ let li="" + "<li><button style='cursor: pointer' type='button' data-word='"+ result +"'>" + result + "</button>" + " <button type=\"button\" class=\"btn-del\" data-word=\""+ result +"\">\n" + " <span class=\"blind\">삭제</span>\n" + " </button>" + "</li>"; pcHistoryList.insertAdjacentHTML("afterbegin", li); moHistoryList.insertAdjacentHTML("afterbegin", li); } }); //한번씩만 호출하도록 순서 변경 pcHistoryList.childNodes.forEach((child, index) => { child.firstChild.addEventListener('click',function(event) { // console.log("PC = " + event.target.getAttribute('data-word')); // setSearchCookie(event.target.getAttribute('data-word')); location.href="/"+localeIdForSearchPopup+"/sustainability/search/search-result?keyword="+encodeURIComponent(event.target.getAttribute('data-word')); }); child.firstChild.addEventListener('keyup',function(event) { // console.log("PC_keyup = " + event.target.getAttribute('data-word')); if (event.key == 'Enter') { location.href = "/" + localeIdForSearchPopup + "/sustainability/search/search-result?keyword=" + encodeURIComponent(event.target.getAttribute('data-word')); } }); child.lastChild.addEventListener('click',function(event) { removeSearchCookie(event.target.getAttribute('data-word') ); event.target.parentElement.remove(); }); }); moHistoryList.childNodes.forEach((child, index) => { child.firstChild.addEventListener('click',function(event) { // setSearchCookie(event.target.getAttribute('data-word')); location.href="/"+localeIdForSearchPopup+"/sustainability/search/search-result?keyword="+encodeURIComponent(event.target.getAttribute('data-word')); }); child.firstChild.addEventListener('keyup',function(event) { // setSearchCookie(event.target.getAttribute('data-word')); if (event.key == 'Enter') { location.href = "/" + localeIdForSearchPopup + "/sustainability/search/search-result?keyword=" + encodeURIComponent(event.target.getAttribute('data-word')); } }); child.lastChild.addEventListener('click',function(event) { removeSearchCookie(event.target.getAttribute('data-word') ); event.target.parentElement.remove(); }); }); } //검색팝업 async 호출 const getSearchResultAsync = function(keywords){ console.log("1) 호출 = " + keywords); const pcKeyAutoUl = document.getElementById('pc-keyword-auto-ul'); const moKeyAutoUl = document.getElementById('mo-keyword-auto-ul'); const xmLHttpRequest = new XMLHttpRequest(); xmLHttpRequest.onreadystatechange = function () { if (this.readyState === 4 && this.status === 200) { console.log("2) 응답 = " + keywords) pcLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'block'; } }); if(this.responseText != ''){ const obj = JSON.parse(this.responseText); pcLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_history') { layer.style.display = 'none'; } }); moLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_history') { layer.style.display = 'none'; } }); pcKeyAutoUl.innerHTML = ''; moKeyAutoUl.innerHTML = ''; obj.forEach((result, index) => { // console.log(" index.count " + index) if(index <= 9){ // let li="" + // "<li style='cursor: pointer' data-url='"+ result['url'] +"'>" // + result['title'] + // "</li>"; let li="" + "<li><a href='" + result['url'] + "'>" + result['title'] + "</a></li>"; pcKeyAutoUl.insertAdjacentHTML("afterbegin", li); pcKeyAutoUl.childNodes.forEach((li, index) => { li.addEventListener('click',function(event) { console.log(event.currentTarget.getAttribute('data-url')); location.href=event.currentTarget.getAttribute('data-url'); }); }); moKeyAutoUl.insertAdjacentHTML("afterbegin", li); moKeyAutoUl.childNodes.forEach((li, index) => { li.addEventListener('click',function(event) { console.log(event.currentTarget.getAttribute('data-url')); location.href=event.currentTarget.getAttribute('data-url'); }); }); } }); } } }; xmLHttpRequest.open('GET', "/"+localeIdForSearchPopup+"/sustainability/search/search-result-async?keyword="+encodeURIComponent(keywords), true); xmLHttpRequest.send(); } //PC 텍스트 삭제 버튼 const pcClearBtn = document.querySelector('.pc-only .search-box .btn-clear'); pcClearBtn.addEventListener('click', () => { searchFieldPc.value=""; pcLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'none'; } }); pcClearBtn.style.display = 'none'; pcLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_history') { layer.style.display = 'block'; } }); }); //모바일 텍스트 삭제 버튼 const moClearBtn = document.querySelector('.mo-only .search-box .btn-clear'); moClearBtn.addEventListener('click', () => { searchFieldMobile.value=""; moLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_auto') { layer.style.display = 'none'; } }); moClearBtn.style.display = 'none'; moLayers.forEach((layer, index) => { if (layer.dataset.id === 'keyword_history') { layer.style.display = 'block'; } }); }); const goSearchResult = function(objSearchFiled){ let keywords = objSearchFiled.value; if(keywords == ''){ keywords=objSearchFiled.getAttribute("placeholder"); } setSearchCookie(keywords); location.href="/"+localeIdForSearchPopup+"/sustainability/search/search-result?keyword="+encodeURIComponent(keywords); } if(searchFieldPc){ searchFieldPc.addEventListener('keyup', function (event) { if (event.key == 'Enter'){ goSearchResult(searchFieldPc); } }); } if(searchFieldMobile){ searchFieldMobile.addEventListener('keyup', function (event) { if (event.key == 'Enter'){ goSearchResult(searchFieldMobile); } }); } const pcSearchButton = document.getElementById('search_button_pc'); const moSearchButton = document.getElementById('search_button_mobile'); if(pcSearchButton){ pcSearchButton.addEventListener('click', function (event) { goSearchResult(searchFieldPc); }); } if(moSearchButton){ moSearchButton.addEventListener('click',function (event) { goSearchResult(searchFieldMobile); }); } const pcBtnAllDelete = document.querySelector('.pc-only .search-layer .btn-all-delete'); pcBtnAllDelete.addEventListener('click',function() { const pcHistoryList = document.getElementById("pc-history-list"); const moHistoryList = document.getElementById("mo-history-list"); removeAllSearchCookie(); pcHistoryList.innerHTML=""; moHistoryList.innerHTML=""; }); const moBtnAllDelete = document.querySelector('.mo-only .search-layer .btn-all-delete'); moBtnAllDelete.addEventListener('click',function() { const pcHistoryList = document.getElementById("pc-history-list"); const moHistoryList = document.getElementById("mo-history-list"); removeAllSearchCookie(); pcHistoryList.innerHTML=""; moHistoryList.innerHTML=""; }); }); </script> <script type="text/javascript"> // page 내부 javascript start let winW = window.innerWidth; let boxSwiper = undefined; function initSwiper() { if (winW < 535 && boxSwiper == undefined) { boxSwiper = new Swiper(".box-slide-wrap", { slidesPerView: 'auto', centeredSlides: true, pagination: { el: '.box-slide-wrap .indicator', // [24.07.22][HJR] 수정 clickable: true, }, //a11y: false, // [24.07.22] 퍼블에 없는 코드 → STG 주석 처리 요청, 사용시 모바일 인디케이터 접근 불가 }); document.querySelector(".box-slide-wrap .swiper-wrapper").style.display = "flex" } else if (winW >= 535 && boxSwiper != undefined) { boxSwiper.destroy(); boxSwiper = undefined; document.querySelector(".box-slide-wrap .swiper-wrapper").style.display = "block" } let listLi = document.querySelectorAll(".pc-only .carousel-list > li"); listLi.forEach( (item) => { if(item.className=='slide carousel-item-2'){ // console.log(item.querySelector(".slide-content .text-area").innerHTML); item.querySelector(".slide-content .text-area").style.display="block"; }else{ item.querySelector(".slide-content .text-area").style.display="none"; } }) } initSwiper(); window.addEventListener('resize', function() { winW = window.innerWidth; initSwiper(); }); // news & story carousel // 221209 carousel indicator 추가 const carouselArea = document.querySelector('.carousel-slide-wrap.pc-only'); const carousel = carouselArea.querySelectorAll('.carousel-list > li'); const dataLength = carousel.length; let stopStatus = true; const next = carouselArea.querySelector('.btn-next'); const prev = carouselArea.querySelector('.btn-prev'); const carouselIndicator = carouselArea.querySelector('.pc-indicator'); for (let i = 0; i < carousel.length; i++) { const span = document.createElement('span'); if (i === 0) span.classList.add('active'); carouselIndicator.appendChild(span); } const carouselAction = { indicator: function (activeIndex) { const indicators = carouselIndicator.querySelectorAll('span'); [...indicators].map((s, i) => { i === activeIndex ? s.classList.add('active') : s.classList.remove('active'); }); // let listLi = document.querySelectorAll(".pc-only .carousel-list > li"); // setTimeout(() => // listLi.forEach( (item) => { // if (item.className=='slide carousel-item-2') { // item.querySelector(".slide-content .text-area").style.display = "block"; // } else { // item.querySelector(".slide-content .text-area").style.display = "none"; // } // }) // ,500); }, next: function () { if (stopStatus) { stopStatus = false; const leftLi = carouselArea.querySelector('.carousel-item-1'); const centerLi = carouselArea.querySelector('.carousel-item-2'); const rightLi = carouselArea.querySelector('.carousel-item-3'); const nextEl = rightLi.nextElementSibling ?? carousel[0]; leftLi.classList.add('left-to-off'); centerLi.classList.add('center-to-left'); rightLi.classList.add('right-to-center'); leftLi.classList.remove('carousel-item-1'); leftLi.classList.remove('left-to-off'); leftLi.classList.add('wating-item'); centerLi.classList.remove('carousel-item-2'); centerLi.classList.remove('center-to-left'); centerLi.classList.add('carousel-item-1'); rightLi.classList.remove('carousel-item-3'); rightLi.classList.remove('right-to-center'); rightLi.classList.add('carousel-item-2'); nextEl.classList.add('off-to-right'); nextEl.classList.remove('wating-item'); nextEl.classList.remove('off-to-right'); nextEl.classList.add('carousel-item-3'); // const activeSlide = document.querySelector('.carousel-item-2'); // carouselAction.indicator(+activeSlide.attributes['data-index'].value - 1); stopStatus = true; } }, prev: function () { if (stopStatus) { stopStatus = false; const leftLi = carouselArea.querySelector('.carousel-item-1'); const centerLi = carouselArea.querySelector('.carousel-item-2'); const rightLi = carouselArea.querySelector('.carousel-item-3'); const prevEl = leftLi.previousElementSibling ?? carousel[dataLength - 1]; leftLi.classList.add('left-to-center'); centerLi.classList.add('center-to-right'); rightLi.classList.add('right-to-off'); leftLi.classList.remove('carousel-item-1'); leftLi.classList.remove('left-to-center'); leftLi.classList.add('carousel-item-2'); centerLi.classList.remove('carousel-item-2'); centerLi.classList.remove('center-to-right'); centerLi.classList.add('carousel-item-3'); rightLi.classList.remove('carousel-item-3'); rightLi.classList.remove('right-to-off'); rightLi.classList.add('wating-item'); prevEl.classList.add('off-to-left'); prevEl.classList.remove('wating-item'); prevEl.classList.remove('off-to-left'); prevEl.classList.add('carousel-item-1'); // const activeSlide = document.querySelector('.carousel-item-2'); // carouselAction.indicator(+activeSlide.attributes['data-index'].value - 1); stopStatus = true; } }, }; next.addEventListener('click', carouselAction.next, false); prev.addEventListener('click', carouselAction.prev, false); // news & story carousel mobile const videoSwiper = new Swiper('.carousel-slide-wrap.mo-only', { slidesPerView: 'auto', centeredSlides: true, pagination: { el: '.carousel-slide-wrap.mo-only .indicator', // [24.07.22][HJR] 수정 clickable: true, }, //a11y: false, // [24.07.22] 퍼블에 없는 코드 → STG 주석 처리 요청, 사용시 모바일 인디케이터 접근 불가 }); </script> <!-- video popup area --> <div class="popup-focus-video" id="videoLayerVideo" style="display: none;"> <div class="popup-area" tabindex="0"> <div class="popup-video-area"> <button class="popup-video-close" type="button"><span class="blind">팝업 닫기</span></button> <div class="popup-video"> <div class="popup-video-ratio"> </div> <div class="popup-video-text-box"> <h3 class="popup-video-title"></h3> <div class="popup-video-date"></div> </div> </div> </div> </div> </div> <script> const setAttributesVideo = function(el, attrs) { for(let key in attrs) { el.setAttribute(key, attrs[key]); } } const videoCallVideo = (e, type) => { const layer = document.getElementById('videoLayerVideo'); const ratio = layer.querySelector('.popup-video-ratio'); const videoTitle = layer.querySelector('.popup-video-title'); const videoDate = layer.querySelector('.popup-video-date'); videoTitle.innerHTML=e.getAttribute('title'); videoDate.innerHTML=e.getAttribute('data-date'); let video; if(type==0){ video = document.createElement('video'); setAttributesVideo(video, { 'src': e.getAttribute('data-url'), 'controls':'', 'muted':'' ,'preload': 'metadata'}); ratio.appendChild(video); }else{ ratio.innerHTML= e.getAttribute('data-url'); } layer.style.display = 'block'; const close = layer.querySelector('.popup-video-close'); close.addEventListener('click', () => { layer.style.display = 'none'; ratio.innerHTML=""; videoTitle.innerHTML=""; videoDate.innerHTML=""; e.focus(); }); } </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10