Team:Northwestern/Templates/twitter

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<div style="float:right; text-align:center;">
+
<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
-
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
+
<script src="http://twitter.com/statuses/user_timeline/iGEM_NU.json?callback=twitterCallback2&count=4" type="text/javascript"></script>
-
<script>
+
 
-
new TWTR.Widget({
+
<style type="text/css">
-
  version: 2,
+
#twitter {
-
  type: 'profile',
+
-webkit-border-radius: 5px;
-
  rpp: 4,
+
-moz-border-radius: 5px;
-
  interval: 6000,
+
border-radius: 5px;
-
  width: 250,
+
width:430px;
-
  height: 300,
+
border:1px solid #c9c9c9;
-
  theme: {
+
}
-
    shell: {
+
#twitter_t {
-
      background: 'url(https://static.igem.org/mediawiki/2011/e/e9/NUbanner_new2.jpg)',
+
width:405px;
-
      color: '#000000'
+
height: 44px;
-
    },
+
background:#c68aeb url(https://static.igem.org/mediawiki/2011/9/93/Background_texture.jpg);
-
    tweets: {
+
color:#fff;
-
      background: '#000000',
+
text-shadow:.5px .5px #333;
-
      color: '#ffffff',
+
font-size:18px;
-
      links: '#4eb816'
+
font-family:Candara;
-
    }
+
padding-top:20px;
-
  },
+
padding-left:25px;
-
  features: {
+
}
-
    scrollbar: false,
+
#twitter_m {
-
    loop: false,
+
width: 400px;
-
    live: false,
+
padding: 0 15px;
-
    hashtags: true,
+
background:#f7effc;
-
    timestamp: true,
+
}
-
    avatars: false,
+
#twitter_container {
-
    behavior: 'all'
+
min-height:45px;
-
  }
+
height:auto !important;
-
}).render().setUser('iGEM_NU').start();
+
height:40px;
 +
padding-bottom:5px;
 +
padding-top:5px;
 +
}
 +
#twitter_update_list {
 +
width: 413px;
 +
padding: 0;
 +
overflow: hidden;
 +
font-family: Georgia;
 +
font-size: 14px;
 +
font-style: italic;
 +
color: #31353d;
 +
line-height: 16px;
 +
font-weight:bold;
 +
margin-left:-13px;
 +
}
 +
#twitter_update_list li {
 +
width: 400px;
 +
list-style: none;
 +
padding:15px;
 +
border-bottom: dotted 1px #ccc;
 +
}
 +
#twitter_update_list li a {
 +
color:#631891;
 +
text-decoration: none;
 +
}
 +
#twitter_update_list li a:hover {
 +
color: #31353d;
 +
}
 +
#twitter_b {
 +
width: 430px;
 +
height: 29px;
 +
background:#c68aeb url();
 +
}
 +
</style>
</script>
</script>
 +
 +
 +
<div id="twitter">
 +
<div id="twitter_t"></div>
 +
<div id="twitter_m">
 +
<div id="twitter_container">
 +
<ul id="twitter_update_list"></ul>
 +
</div>
</div>
</div>
 +
<div id="twitter_b"></div>
 +
</div>
 +
 +
 +
 +
 +
</html>
</html>

Revision as of 16:19, 11 August 2011