Team:Heidelberg/Templates/Footer-Start

From 2013.igem.org

(Difference between revisions)
m
 
(16 intermediate revisions not shown)
Line 4: Line 4:
<script src="https://2013.igem.org/Team:Heidelberg/Templates/holderjs?action=raw&ctype=text/javascript"></script>
<script src="https://2013.igem.org/Team:Heidelberg/Templates/holderjs?action=raw&ctype=text/javascript"></script>
<script src="https://2013.igem.org/Team:Heidelberg/Templates/easing-js?action=raw&ctype=text/javascript"></script>
<script src="https://2013.igem.org/Team:Heidelberg/Templates/easing-js?action=raw&ctype=text/javascript"></script>
-
<script src="https://2013.igem.org/Team:Heidelberg/Templates/prefixfree-js?action=raw&ctype=text/javascript"></script>
 
-
<script src="https://2013.igem.org/Team:Heidelberg/Templates/flipclock-js?action=raw&ctype=text/javascript"></script>
 
<script type="text/javascript">
<script type="text/javascript">
$(function() {
$(function() {
 +
                 $('#nav > div').hover(
                 $('#nav > div').hover(
                 function () {
                 function () {
                     var $this = $(this);
                     var $this = $(this);
-
                     $this.find('img').stop().animate({
+
                     $this.find('img.circle').stop().animate({
-
                         'width'    :'250px',
+
                         'width'    :'350px',
-
                         'height'    :'250px',
+
                         'height'    :'350px',
                         'top'      :'-25px',
                         'top'      :'-25px',
                         'left'      :'-25px',
                         'left'      :'-25px',
Line 26: 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 41: Line 40:
                     'container' : 'body',
                     'container' : 'body',
                 });
                 });
-
 
+
            // hide all individual language boxes then pull up the first ("english")
-
var clock = $('.your-clock').FlipClock();
+
            $("div.wc_Translation").hide();
-
 
+
            $("div.english").show();
-
jamboree = new Date(2013, 10, 11, 16);
+
            $(".lang input[name='langOptions']").change(function(e){
-
rightNow = new Date();
+
                var chosenLang = $(e.delegateTarget).attr("value");
-
 
+
                jQuery("#languageTexts div").hide();
-
clock.setTime((jamboree-rightNow)/1000);
+
                jQuery(chosenLang).show();
 +
              });
             });
             });
-
 
-
clock.setCountdown(true);
 
</script>
</script>
</html>
</html>

Latest revision as of 22:56, 26 October 2013