Difference between revisions of "Widget:Language"

From UnderWiki
Jump to navigation Jump to search
(Created page with "<noinclude> This widget inserts a language picker. </noinclude><includeonly> <script> var a_en = document.getElementById("title_en"); var a_es = document.getElementById("t...")
 
Line 2: Line 2:
 
This widget inserts a language picker.
 
This widget inserts a language picker.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
<style>
 +
#oLang {
 +
    border-color: #666;
 +
    color: #c1c1c1;
 +
    background-color: #4c4c4c;
 +
}
 +
</style>
 
<script>
 
<script>
 
   var a_en = document.getElementById("title_en");
 
   var a_en = document.getElementById("title_en");
Line 172: Line 179:
  
 
<select id="oLang" onchange="changeLanguage()">
 
<select id="oLang" onchange="changeLanguage()">
<option value="en">EN - English</option>
+
<option value="en" selected>EN - English</option>
 
<option value="es">ES - Español</option>
 
<option value="es">ES - Español</option>
 
<option value="fr">FR - Français</option>
 
<option value="fr">FR - Français</option>

Revision as of 09:14, 17 March 2019

This widget inserts a language picker.