Team:Heidelberg/Templates/Footer-Start

From 2013.igem.org

(Difference between revisions)
Line 42: Line 42:
                 });
                 });
-
var clock = $('.your-clock').FlipClock();
 
jamboree = new Date(2013, 10, 11, 16);
jamboree = new Date(2013, 10, 11, 16);
rightNow = new Date();
rightNow = new Date();
-
clock.setTime((jamboree-rightNow)/1000);
+
secsTillJamboree = (jamboree-rightNow)/1000);
-
clock.setCountdown(true);
+
 
 +
 
 +
var clock = $('.your-clock').FlipClip(secsTillJamboree, {
 +
clockFace: 'DailyCounter',
 +
countdown: true
 +
});
 +
 
             });
             });

Revision as of 18:29, 3 October 2013