Typographic trying out some webfonts
Media query layout improvements Twitter now splits tweets with <br> and </p><p> on \n and \n\n RSS icon made a bit smaller
This commit is contained in:
parent
aa23061624
commit
7957858bc6
8 changed files with 15 additions and 17 deletions
|
@ -26,7 +26,7 @@ function showTwitterFeed(tweets, twitter_user){
|
|||
var timeline = document.getElementById('tweets');
|
||||
timeline.innerHTML='';
|
||||
for (t in tweets){
|
||||
timeline.innerHTML+='<li>'+'<p>'+'<a href="http://twitter.com/'+twitter_user+'/status/'+tweets[t].id_str+'">'+prettyDate(tweets[t].created_at)+'</a>'+linkifyTweet(tweets[t].text)+'</p>'+'</li>';
|
||||
timeline.innerHTML+='<li>'+'<p>'+'<a href="http://twitter.com/'+twitter_user+'/status/'+tweets[t].id_str+'">'+prettyDate(tweets[t].created_at)+'</a>'+linkifyTweet(tweets[t].text.replace(/\n{2}/, '</p><p>').replace(/\n/, '<br>'))+'</p>'+'</li>';
|
||||
}
|
||||
}
|
||||
function linkifyTweet(text){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue