blueisland Posted September 21, 2021 Share Posted September 21, 2021 I have a very simple dropdown box for two language selection (EN/FR) which I got from W3Schools. It works fine but what I want is that when the language is selected it becomes the default choice for visitors unless they choose otherwise. I assume this must involve a cookie but how do I code for this? I am using straight html, no CMS. Is it possible? Thanks for any help <div class="dropdown"> <button class="dropbtn">EN</button> <div class="dropdown-content"> <a href="https://websitename/fr/page.html">Français</a> </div></div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now