Template:Team:Paris-Saclay/left-column

From 2012.igem.org

(Difference between revisions)
Line 48: Line 48:
     success  : function(xmlData){
     success  : function(xmlData){
$(xmlData).find('cl').each(function() {
$(xmlData).find('cl').each(function() {
-
                alert(LinkTitle);
 
                 Category = $(this).attr("title");
                 Category = $(this).attr("title");
                 var idxCategory = Category.lastIndexOf("/");
                 var idxCategory = Category.lastIndexOf("/");
Line 79: Line 78:
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 alert(linkArticle);
                 alert(linkArticle);
-
                 alert(Title);
+
                 alert(LinkTitle);
                 if (linkArticle != LinkTitle){
                 if (linkArticle != LinkTitle){
$("ul#ltArticles").append('<li onmouseover="onmouseOver()" onmouseout="onmouseOut()" >' + '<div id="circle">'+ '<h2>' + count + '</h2>' + '</div>' + '<a href="' + linkArticle + '">' + Article + '</a>'+ '</li>');
$("ul#ltArticles").append('<li onmouseover="onmouseOver()" onmouseout="onmouseOut()" >' + '<div id="circle">'+ '<h2>' + count + '</h2>' + '</div>' + '<a href="' + linkArticle + '">' + Article + '</a>'+ '</li>');

Revision as of 09:52, 1 September 2012

Related Items

Follow us !