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(http://bloggerbuster.com/images/twitter-icon.gif) 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>
+
<a id="twitter-link" style="display:block;text-align:right;" href="http://twitter.com/iGEM_NU">follow me on Twitter</a>
-
<script>
+
</div>
-
new TWTR.Widget({
+
<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
-
  version: 2,
+
<script src="http://twitter.com/statuses/user_timeline/iGEM_NU.json?callback=twitterCallback2&count=4" type="text/javascript"></script>
-
  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>

Revision as of 16:47, 11 August 2011