Template:Team:Paris-Saclay/left-column

From 2012.igem.org

(Difference between revisions)
Line 63: Line 63:
                 var Article = $(this).attr("title").substring(idxArticle+1);
                 var Article = $(this).attr("title").substring(idxArticle+1);
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
-
$("ul#ltArticles").html('<li>' + '<a href="' + linkArticle + '">' + '<div id="circle">'+ '<h2>'+ count + '</h2>' + '</div>' + Article + '</a>'+ '</li>');
+
$("ul#ltArticles").append('<li>' + '<a href="' + linkArticle + '">' + Article + '</a>'+ '</li>');
 +
                $("ul#ltArticles").append('<li>' + '<div id="circle">'+ '<h2>'+ count + '</h2>' + '</div>' + '</li>');
                 count += 1;
                 count += 1;
} )
} )

Revision as of 10:10, 21 August 2012

Related Items

Follow us !