Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 47bdae4

Browse files
[WIP] -- Adding Language menu for en 00-01 html
Adding drop down menu option to change languages
1 parent 3bc1dd5 commit 47bdae4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎en/00-01.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,21 @@
1717
You can always go back and forth between the steps of the tutorial using the
1818
circles on the top of the page.
1919
</p>
20+
21+
22+
<select id="languageMenu" onchange="changeLanguage()">
23+
24+
<option id = "English" selected href="en00円-01.html" value="EN_00_01">English</option>
25+
<option id = "Deutsch" href="de00円-01.html" value="DE_00_01" >Deutsch</option>
26+
<option id = "Svenska" href="sv00円-01.html" value="SV_00_01">Svenska</option>
27+
28+
</select>
29+
30+
<script>
31+
function changeLanguage() {
32+
var getLanguageMenu = document.getElementById('languageMenu');
33+
var getLanguageHref = x.options[x.selectedIndex].getAttribute('href');
34+
//window.location.assign(getHref);
35+
console.log(getLanguageHref)
36+
}
37+
</script>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /