Template:Team:Paris-Saclay/left-column
From 2012.igem.org
(Difference between revisions)
YohannPetiot (Talk | contribs) |
YohannPetiot (Talk | contribs) |
||
Line 32: | Line 32: | ||
var url = document.location.href; | var url = document.location.href; | ||
var idxPS = url.indexOf("Team:Paris-Saclay",0); | var idxPS = url.indexOf("Team:Paris-Saclay",0); | ||
- | Title = url.substring(idxPS,url.length); | + | LinkTitle = url; |
+ | var Title = url.substring(idxPS,url.length); | ||
Category = ""; | Category = ""; | ||
Line 79: | Line 80: | ||
alert(linkArticle); | alert(linkArticle); | ||
alert(Title); | alert(Title); | ||
- | if (linkArticle = | + | 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>'); | ||
count += 1; | count += 1; |
Revision as of 09:47, 1 September 2012
Follow us !