Team:Brown-Stanford/Templates/Main

From 2011.igem.org

(Difference between revisions)
Line 3: Line 3:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
-
<script type='text/javascript'>
+
<script type="text/javascript">
-
/*
+
-
* Author:      Marco Kuiper (http://www.marcofolio.net/)
+
-
*/
+
-
 
+
$(document).ready(function()
$(document).ready(function()
{
{
Line 30: Line 26:
.html(tweet)
.html(tweet)
.append($("<a />")
.append($("<a />")
-
.attr("href", "http://twitter.com/" + username + "/status/" + id)
+
.attr("href", "http://twitter.com/" + username)
.attr("title", "Go to Twitter status")
.attr("title", "Go to Twitter status")
.append($("<img />")
.append($("<img />")
Line 68: Line 64:
if(currentPage > 10) {
if(currentPage > 10) {
-
alert('We should not spam the Twitter API with calls. I hope you get the idea!');
 
return false;
return false;
}
}
Line 589: Line 584:
</ul> </li>-->
</ul> </li>-->
<div style="float: right">
<div style="float: right">
-
    <div id="tweets">
+
<div id="tweets">
-
    </div>
+
</div>
-
    <div id="overlay">
+
<div id="overlay">
-
        <img src="https://static.igem.org/mediawiki/2011/2/2d/Brown-Stanford_twitterLoader.gif" />
+
<img src="https://static.igem.org/mediawiki/2011/b/bc/Brown-Stanford_twitterLoader.gif" />
-
    </div>
+
</div>
</div>
</div>
<div class="content">
<div class="content">

Revision as of 00:59, 8 June 2011