Team:Heidelberg/Templates/Footer-Start
From 2013.igem.org
(Difference between revisions)
Nils.kurzawa (Talk | contribs) |
m |
||
(One intermediate revision not shown) | |||
Line 11: | Line 11: | ||
var $this = $(this); | var $this = $(this); | ||
$this.find('img.circle').stop().animate({ | $this.find('img.circle').stop().animate({ | ||
- | 'width' :' | + | 'width' :'350px', |
- | 'height' :' | + | 'height' :'350px', |
'top' :'-25px', | 'top' :'-25px', | ||
'left' :'-25px', | 'left' :'-25px', | ||
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