Team:Heidelberg/Templates/Footer-Start
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) |
m |
||
Line 40: | Line 40: | ||
'container' : 'body', | 'container' : 'body', | ||
}); | }); | ||
+ | // hide all individual language boxes then pull up the first ("english") | ||
+ | $("div.wc_Translation").hide(); | ||
+ | $("div.english").show(); | ||
$(".lang input[name='langOptions']").change(function(e){ | $(".lang input[name='langOptions']").change(function(e){ | ||
var chosenLang = $(e.delegateTarget).attr("value"); | var chosenLang = $(e.delegateTarget).attr("value"); | ||
jQuery("#languageTexts div").hide(); | jQuery("#languageTexts div").hide(); | ||
jQuery(chosenLang).show(); | jQuery(chosenLang).show(); | ||
- | }); | + | }); |
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 22:56, 26 October 2013