codepen.io/JFeremy/post/switch-language-button-js
자바스크립트를 이용하여 버튼을 눌렀을 때 특정 언어로 바꾸기
- Script to change language in website with button.
- You only need a button to choose language and add "id" in balise to inform about it.
- It's better if you initialise the second language in "display: none" within style sheet.
728x90
'IT > JavaScript' 카테고리의 다른 글
[JavaScript] 렌더링 트리(Critical Rendering Tree) (0) | 2021.01.03 |
---|---|
[JavaScript] clientX/Y, pageX/Y, MouseEvent (0) | 2021.01.01 |
[JavaScript] document.querySelector (1) | 2021.01.01 |
[JavaScript] 객체 기본 (0) | 2020.12.31 |
[JavaScript / 생활코딩] Ajax (0) | 2020.12.31 |