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