Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 317: | Line 317: | ||
var createdDate = created.getDate()+'-'+(created.getMonth()+1)+'-'+created.getFullYear()+' at '+created.getHours()+':'+created.getMinutes(); | var createdDate = created.getDate()+'-'+(created.getMonth()+1)+'-'+created.getFullYear()+' at '+created.getHours()+':'+created.getMinutes(); | ||
tweet = '<a href="https://twitter.com/#!/MBioinformatics/status/'+data[i].id_str+'">' + tweet.parseURL().parseUsername().parseHashtag() + '</a>'; | tweet = '<a href="https://twitter.com/#!/MBioinformatics/status/'+data[i].id_str+'">' + tweet.parseURL().parseUsername().parseHashtag() + '</a>'; | ||
+ | alert(tweet); | ||
$("#twitter").append('<li>'+tweet+'</li>'); | $("#twitter").append('<li>'+tweet+'</li>'); | ||
} | } |
Revision as of 18:12, 14 October 2012