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 bf0a7e9

Browse files
Moved languageMenu Code from the en/00-01.html file
Removed the code implemented in the en/00-01.html file to the footer section of _layouts for Jekyll usage across all pages.
1 parent 3515cf3 commit bf0a7e9

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

‎en/00-01.html

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,3 @@
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="../en/00-01.html" value="EN_00_01">English</option>
25-
<option id = "Deutsch" href="../de/00-01.html" value="DE_00_01" >Deutsch</option>
26-
<option id = "Svenska" href="../sv/00-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 = getLanguageMenu.options[getLanguageMenu.selectedIndex].getAttribute('href');
34-
window.location.assign(getLanguageHref);
35-
36-
}
37-
</script>
38-
<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
39-
<script>
40-
$(document).ready(function(){
41-
$("select").each(function(){
42-
$(this).val($(this).find('option[selected]').val());
43-
});
44-
});
45-
</script>

0 commit comments

Comments
(0)

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