Team:Northwestern/Templates/twitter

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<script src="http://widgets.twimg.com/j/2/widget.js" type="text/javascript"></script>
<script src="http://widgets.twimg.com/j/2/widget.js" type="text/javascript"></script>
-
<script src="http://twitter.com/statuses/user_timeline/iGEM_NU.json?callback=twitterCallback2&count=4" type="text/javascript"></script>
+
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<style type="text/css">
<style type="text/css">
Line 76: Line 76:
</div>
</div>
<div id="twitter_b"></div>
<div id="twitter_b"></div>
 +
<script>
 +
new TWTR.Widget({
 +
  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>

Revision as of 16:26, 11 August 2011