Template:Team:Paris-Saclay/left-column

From 2012.igem.org

(Difference between revisions)
Line 42: Line 42:
                 var idxCategory = Category.lastIndexOf("/");
                 var idxCategory = Category.lastIndexOf("/");
                 var name = Category.substring(idxCategory+1);
                 var name = Category.substring(idxCategory+1);
 +
alert(name);
} )
} )
},
},
Line 66: Line 67:
                 var idxArticle = $(this).attr("title").lastIndexOf("/");
                 var idxArticle = $(this).attr("title").lastIndexOf("/");
                 var Article = $(this).attr("title").substring(idxArticle+1);
                 var Article = $(this).attr("title").substring(idxArticle+1);
 +
alert(Article);
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 var linkArticle = "https://2012.igem.org/"+$(this).attr("title");
                 if (linkArticle != LinkTitle){
                 if (linkArticle != LinkTitle){

Revision as of 09:52, 26 September 2012

Related Items

Follow us !