File tree 1 file changed +0
-26
lines changed
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 17
17
You can always go back and forth between the steps of the tutorial using the
18
18
circles on the top of the page.
19
19
</ 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 >
You can’t perform that action at this time.
0 commit comments