본문 바로가기
IT/JavaScript

[JavaScript] Switch language button

by 프론트엔드 지식백과 2020. 12. 31.

codepen.io/JFeremy/post/switch-language-button-js

 

Switch language button JS

switch language Script to change language in website with button. You only need a button to choose language and add "id" in balise to inform...

codepen.io

 

자바스크립트를 이용하여 버튼을 눌렀을 때 특정 언어로 바꾸기

 

- 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