Team:Tsinghua/leftbar

From 2010.igem.org

(Difference between revisions)
 
(90 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<div id="left_bar">
+
<div id="right_bar">
-
<div class="left_gadget">
+
-
<p>Visitor Locations</p>
+
-
<a href="http://www3.clustrmaps.com/user/19fbb75c"><img src="http://www3.clustrmaps.com/stats/maps-no_clusters/2010.igem.org-Team-Tsinghua-thumb.jpg" alt="Locations of visitors to this page" />
+
-
</a>
+
-
</div>
+
<div class="left_gadget">
<div class="left_gadget">
-
<p>Follow us on</p>
+
<div class="countdown">
-
<div class="link_ball">
+
<div id="counttitle">
-
<a href="http://www.facebook.com/pages/Tsinghua-iGEM/145908955419937" title="Tsinghua iGEM Team 2010 Facebook" target=_blank><img src="https://static.igem.org/mediawiki/2010/c/c8/Facebook-32x32.png" class="fill_img" /></a></div>  
+
Until Jamboree</div>
-
 
+
<div class="countback">
-
<div class="link_ball">
+
<p class="countstatic" id="pday"> <span class="countdyna" id="sday"></span> days</p>
-
<a href="http://twitter.com/Tsinghua_iGEM" title="Tsinghua iGEM Team 2010 Twitter" target=_blank><img src="https://static.igem.org/mediawiki/2010/7/7e/Twitter-32x32.png" class="fill_img" /></a></div>  
+
<p class="countstatic" id="phour"><span class="countdyna" id="shour"></span> hours</p>
-
 
+
<p class="countstatic" id="pmin"> <span class="countdyna" id="smin"></span> minutes</p>
-
<div class="link_ball">
+
<p class="countstatic" id="psec"> <span class="countdyna" id="ssec"></span> seconds</p>
-
<a href="http://www.youtube.com/user/TsinghuaiGEM" title="Tsinghua iGEM Team 2010 YouTube" target=_blank><img src="https://static.igem.org/mediawiki/2010/3/38/Youtube-32x32.png" class="fill_img" /></a></div>  
+
</div>
-
 
+
-
<div class="link_ball">
+
-
<a href="http://cn.linkedin.com/pub/tsinghua-igem-thu/23/317/573" title="Tsinghua iGEM Team 2010 LinkedIn" target=_blank><img src="https://static.igem.org/mediawiki/2010/2/22/Linkedin-32x32.png" /></a></div>  
+
-
+
-
<div class="link_ball">
+
-
<a href="#" title="Tsinghua iGEM Team 2010 RSS" target=_blank><img src="https://static.igem.org/mediawiki/2010/e/e7/Rss-32x32.png" /></a></div>  
+
-
<br />
+
</div>
</div>
-
 
-
<div class="left_gadget">
 
-
<p id="firstline">Until the Jamboree</p>
 
-
<p><span id="pretimes" class="countdown"></span></p>
 
-
<span id="times" class="countdown"></span>
 
<script type="text/javascript">
<script type="text/javascript">
var now = new Date();
var now = new Date();
function createtime(){
function createtime(){
   
   
-
var grt= new Date("11/11/2010 20:00:00");
+
var grt= new Date("11/5/2010 8:00:00");
now.setTime(now.getTime()+250);
now.setTime(now.getTime()+250);
days = (grt - now) / 1000 / 60 / 60 / 24;
days = (grt - now) / 1000 / 60 / 60 / 24;
Line 46: Line 29:
seconds = (grt - now) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
seconds = (grt - now) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
snum = Math.round(seconds);
snum = Math.round(seconds);
-
 
-
var showtext = " "
 
-
if(grt>=now)
 
-
{
 
-
    if(dnum>0)
 
-
    {
 
-
        showtext = dnum+" Days ";
 
-
    }
 
-
    if(hnum>0)
 
-
    {
 
-
        showtext = showtext + String(hnum) + " Hours ";
 
-
    }
 
-
    if(showtext.length > 15)
 
-
    {
 
-
        document.getElementById("pretimes").style.display = "block";
 
-
        document.getElementById("pretimes").innerHTML = showtext;   
 
-
        showtext = "";
 
-
    }
 
-
    else
 
-
    {
 
-
        document.getElementById("pretimes").style.display = "none";
 
-
    }
 
-
    if(mnum>0)
 
-
    {
 
-
        showtext = showtext + String(mnum) + " Minutes ";
 
-
    }
 
-
    if(showtext.length > 25)
 
-
    {
 
-
        document.getElementById("pretimes").style.display = "block";
 
-
        document.getElementById("pretimes").innerHTML = showtext;   
 
-
        showtext = "";
 
-
    }
 
-
    if(snum>0)
+
 
-
    {
+
if(days>0)
-
        showtext = showtext + String(snum) + " Seconds ";
+
{
-
     }
+
    document.getElementById("sday").innerHTML = String(dnum);
-
     document.getElementById("times").innerHTML = showtext;
+
    document.getElementById("shour").innerHTML = hnum;
 +
    document.getElementById("smin").innerHTML = mnum;
 +
    document.getElementById("ssec").innerHTML = snum;
 +
}
 +
else if(dnum>=-3)
 +
{
 +
    daytext = new Array("First", "Second", "Third", "Fourth", "Fifth");
 +
    document.getElementById("counttitle").innerHTML = "Jamboree Going On";
 +
    document.getElementById("pday").innerHTML = "<span class=countdyna>" + daytext[0-dnum] + " Day</span>";
 +
     document.getElementById("phour").innerHTML = "Tsinghua Bioers,";
 +
     document.getElementById("pmin").innerHTML = "Cheer up!";
 +
    document.getElementById("psec").style.display = "none";
}
}
else
else
{
{
-
        document.getElementById("firstline").innerHTML = "Jamboree!";
+
    document.getElementById("counttitle").innerHTML = "iGEM 2010";
-
        document.getElementById("firstline").style.color = "#F33";
+
    document.getElementById("pday").style.display = "none";
 +
    document.getElementById("phour").innerHTML = "Tsinghua Bioers";
 +
    document.getElementById("pmin").innerText = "  Are the";
 +
    document.getElementById("psec").innerHTML = "<span class=countdyna>BEST!</span>";
}
}
-
 
-
 
}
}
 +
var getd;
var getd;
if(getd==null)
if(getd==null)
Line 98: Line 62:
     getd = setInterval("createtime()",250);
     getd = setInterval("createtime()",250);
}
}
 +
</script>
</script>
</div>
</div>
 +
 +
<div class="left_gadget" style="display: none">
 +
<a href="http://www.easycounter.com/">
 +
<img src="http://www.easycounter.com/counter.php?guxiang"
 +
border="0" alt="Free Hit Counters"></a>
 +
</div>
 +
 +
<div class="left_gadget">
 +
<h2>Follow us on</h2>
 +
<div class="link_ball">
 +
<a href="http://www.facebook.com/pages/Tsinghua-iGEM/145908955419937" title="Tsinghua iGEM Team 2010 Facebook" target=_blank><img src="https://static.igem.org/mediawiki/2010/c/c8/Facebook-32x32.png" class="fill_img" /></a></div>
 +
 +
<div class="link_ball">
 +
<a href="http://twitter.com/Tsinghua_iGEM" title="Tsinghua iGEM Team 2010 Twitter" target=_blank><img src="https://static.igem.org/mediawiki/2010/7/7e/Twitter-32x32.png" class="fill_img" /></a></div>
 +
 +
<div class="link_ball">
 +
<a href="http://www.youtube.com/user/TsinghuaiGEM" title="Tsinghua iGEM Team 2010 YouTube" target=_blank><img src="https://static.igem.org/mediawiki/2010/3/38/Youtube-32x32.png" class="fill_img" /></a></div>
 +
 +
<div class="link_ball">
 +
<a href="http://cn.linkedin.com/pub/tsinghua-igem-thu/23/317/573" title="Tsinghua iGEM Team 2010 LinkedIn" target=_blank><img src="https://static.igem.org/mediawiki/2010/2/22/Linkedin-32x32.png" /></a></div>
 +
 +
<div class="link_ball">
 +
<a href="#" title="Tsinghua iGEM Team 2010 RSS" target=_blank><img src="https://static.igem.org/mediawiki/2010/e/e7/Rss-32x32.png" /></a></div>
 +
<br />
 +
</div>
 +
 +
 +
<div class="left_gadget">
 +
<h2>Visitor Locations</h2>
 +
<a href="http://www3.clustrmaps.com/user/19fbb75c" target=blank><img src="http://www3.clustrmaps.com/stats/maps-no_clusters/2010.igem.org-Team-Tsinghua-thumb.jpg" width=100% />
 +
</a>
 +
</div>
 +
 +
<div class="left_gadget">
 +
<h2>Join the conversation</h2>
 +
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
 +
<script>
 +
new TWTR.Widget({
 +
  version: 2,
 +
  type: 'profile',
 +
  rpp: 8,
 +
  interval: 8000,
 +
  width: 210,
 +
  height: 300,
 +
  theme: {
 +
    shell: {
 +
      background: '#99A',
 +
      color: '#ffffff'
 +
    },
 +
    tweets: {
 +
      background: '#668',
 +
      color: '#ffffff',
 +
      links: '#E83'
 +
    }
 +
  },
 +
  features: {
 +
    scrollbar: true,
 +
    loop: true,
 +
    live: true,
 +
    hashtags: true,
 +
    timestamp: true,
 +
    avatars: true,
 +
    behavior: 'default'
 +
  }
 +
}).render().setUser('Tsinghua_iGEM').start();
 +
</script>
 +
</div>
 +
 +
<div class="left_gadget" style="display: none">
 +
<embed src="http://www.8box.com/feed/000000_s_207318_/mini.swf" type="application/x-shockwave-flash" wmode="transparent" width="160" height="32"></embed>
 +
</div>
 +
</div>
</div>
</html>
</html>

Latest revision as of 16:09, 21 October 2010

Until Jamboree

days

hours

minutes

seconds

Follow us on


Visitor Locations

Join the conversation