Team:Northwestern/Templates/twitter

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
 
+
<div style="float:right; text-align:center;">
-
<div style="background: url('https://static.igem.org/mediawiki/2011/e/e9/NUbanner_new2.jpg') top left no-repeat; padding-left: 50px;" id="twitter_div"><ul id="twitter_update_list"></ul>
+
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
-
 
+
<script>
-
<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
+
new TWTR.Widget({
-
<script src="http://twitter.com/statuses/user_timeline/iGEM_NU.json?callback=twitterCallback2&count=4" type="text/javascript"></script>
+
  version: 2,
 +
  type: 'profile',
 +
  rpp: 4,
 +
  interval: 6000,
 +
  width: 250,
 +
  height: 300,
 +
  theme: {
 +
    shell: {
 +
      background: '#333333',
 +
      color: '#ffffff'
 +
    },
 +
    tweets: {
 +
      background: '#000000',
 +
      color: '#ffffff',
 +
      links: '#4aed05'
 +
    }
 +
  },
 +
  features: {
 +
    scrollbar: false,
 +
    loop: false,
 +
    live: false,
 +
    hashtags: true,
 +
    timestamp: true,
 +
    avatars: false,
 +
    behavior: 'all'
 +
  }
 +
}).render().setUser('iGEM_NU').start();
 +
</script>
</div>
</div>
-
</html>
 

Revision as of 16:58, 11 August 2011