Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 154: | Line 154: | ||
#twitter li a:first-child { | #twitter li a:first-child { | ||
- | height: | + | height: 47px; |
- | width: | + | width: 205px; |
color: black; | color: black; | ||
text-shadow: none; | text-shadow: none; | ||
Line 167: | Line 167: | ||
#twitter li { | #twitter li { | ||
- | height: | + | height: 50px; |
- | width: | + | width: 205px; |
} | } | ||
Line 340: | Line 340: | ||
function loadLatestTweet(){ | function loadLatestTweet(){ | ||
$('#twitter').html(''); | $('#twitter').html(''); | ||
- | var numTweets = | + | var numTweets = 3; |
var _url = 'https://api.twitter.com/1/statuses/user_timeline/MBioinformatics.json?callback=?&count='+numTweets+'&include_rts=1'; | var _url = 'https://api.twitter.com/1/statuses/user_timeline/MBioinformatics.json?callback=?&count='+numTweets+'&include_rts=1'; | ||
$.getJSON(_url,function(data){ | $.getJSON(_url,function(data){ |
Revision as of 22:12, 15 October 2012