Team:Warsaw/Calendar-Main/NoAtribution
From 2008.igem.org
(Difference between revisions)
Line 217: | Line 217: | ||
else if (and(count_authors(ans)==count_titles(ans),count_authors(ans)>0)) | else if (and(count_authors(ans)==count_titles(ans),count_authors(ans)>0)) | ||
{ | { | ||
- | for (i | + | //var i=0; |
+ | for (var i=0;i<authors.length;i++) | ||
{ | { | ||
- | + | if(ans.search(authors[i])>0) { | |
- | + | //if (ser>0) { | |
- | if (ser>0) { | + | |
document.getElementById(authors[i]).innerHTML=document.getElementById(authors[i]).innerHTML+"<br/><a href="+'"'+adresbase+nday+'"'+">"+nday+": "+removeHTMLTags(get_title_by_author(ans,authors[i]))+"</a>"; | document.getElementById(authors[i]).innerHTML=document.getElementById(authors[i]).innerHTML+"<br/><a href="+'"'+adresbase+nday+'"'+">"+nday+": "+removeHTMLTags(get_title_by_author(ans,authors[i]))+"</a>"; | ||
Revision as of 15:27, 24 October 2008
Attribution analyzer
|