Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 133: | Line 133: | ||
} | } | ||
+ | |||
+ | |||
+ | #twitter { | ||
+ | width:235px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #twitter a:first-child { | ||
+ | height: 47px; | ||
+ | width: 205px; | ||
+ | } | ||
+ | |||
+ | #twitter a a { | ||
+ | height: auto; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | #twitter li { | ||
+ | height: 50px; | ||
+ | width: 205px; | ||
+ | } | ||
Line 173: | Line 194: | ||
text-shadow: rgb(0, 0, 0) 1px 1px 2px; | text-shadow: rgb(0, 0, 0) 1px 1px 2px; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Line 313: | Line 313: | ||
function loadLatestTweet(){ | function loadLatestTweet(){ | ||
- | + | $('#twitter').html(''); | |
var numTweets = 2; | var numTweets = 2; | ||
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'; |
Revision as of 18:30, 14 October 2012