Team:UCLondon/Templates/Navigationv3

From 2012e.igem.org

(Difference between revisions)
Line 116: Line 116:
             position: absolute;
             position: absolute;
             z-index: 2147483647;
             z-index: 2147483647;
-
             //width: 140px;
+
             width: 140px;
             top: 28px;
             top: 28px;
             //left: 10px;
             //left: 10px;
Line 299: Line 299:
             var created = parseDate(data[i].created_at);
             var created = parseDate(data[i].created_at);
             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 = tweet.parseURL().parseUsername().parseHashtag();
+
             tweet = '<a href="https://twitter.com/#!/MBioinformatics/status/'+data[i].id_str+'">' + tweet.parseURL().parseUsername().parseHashtag() + '</a>';
-
            alert(tweet);
+
-
            tweet += '<div class="tweeter-info"><div class="uppercase bold"><a href="https://twitter.com/#!/MBioinformatics" target="_blank" class="black">@MBioinformatics</a></div><div class="right"><a href="https://twitter.com/#!/CypressNorth/status/'+data[i].id_str+'">'+createdDate+'</a></div></div>'
+
             $("#twitter").append('<li>'+tweet+'</li>');
             $("#twitter").append('<li>'+tweet+'</li>');
         }
         }

Revision as of 17:57, 14 October 2012