Template:Kyoto/countdown
From 2013.igem.org
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<a id="kyoto_alert" target="_blank" href="https://2013.igem.org/Team:Kyoto/TimeLimit">count down</a> | <a id="kyoto_alert" target="_blank" href="https://2013.igem.org/Team:Kyoto/TimeLimit">count down</a> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#kyoto_alert { | #kyoto_alert { | ||
position: fixed; | position: fixed; | ||
Line 38: | Line 32: | ||
time = (freeze - time)/1000; | time = (freeze - time)/1000; | ||
if (time < 1 * 3600) { | if (time < 1 * 3600) { | ||
- | |||
countdown.style.color = "#f00"; | countdown.style.color = "#f00"; | ||
} else if (time < 24 * 3600) { | } else if (time < 24 * 3600) { |