Multi Languages
How do I make an multi languages?
What is a multi languages? How do you make a multi languages? This script and codes were developed by Ma Luong on 31 January 2023, Tuesday.
Multi Languages - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Multi Languages</title>
</head>
<body> <button id="en">English</button>
<button id="vi">Tiếng Việt</button>
<ul class="menu en"> <li class="menu-item-home">Home</li> <li class="menu-item-product">Products</li> <li class="menu-item-contact">Contact Us</li>
</ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Multi Languages - Script Codes JS Codes
$(document).ready(function(){ $("#vi").click(function(){ $(".menu").removeClass("en").addClass("vi"); $(".vi .menu-item-home").html("Trang chủ"); $(".vi .menu-item-product").html("Sản phẩm"); $(".vi .menu-item-contact").html("Liên hệ"); }); $("#en").click(function(){ $(".menu").removeClass("vi").addClass("en"); $(".en .menu-item-home").html("Homepage"); $(".en .menu-item-product").html("Products"); $(".en .menu-item-contact").html("Contact Us"); })
});
Developer | Ma Luong |
Username | maluong |
Uploaded | January 31, 2023 |
Rating | 3 |
Size | 1,665 Kb |
Views | 4,048 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Mobile Grids | 1,963 Kb |
Css basic intro | 1,485 Kb |
BxSlider Test | 2,157 Kb |
A Pen by Ma Luong | 2,491 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Infractions - Attitude | Kylie_Joseph | 7,672 Kb |
Side Sliding Menu CSS | EduardL | 4,388 Kb |
Price | Catcode | 2,623 Kb |
A Pen by Alexandru Pora | Axpro | 1,615 Kb |
RequestAnimationFrame | Martin-banks | 2,541 Kb |
IE flex collapse bug fix | Rowno | 2,678 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
Materializecss input form | Jasonchan | 1,443 Kb |
Growing Root - Scroll control - CANVAS | Cjonasw | 2,342 Kb |
Transition | Shayhowe | 1,632 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!