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 (var i=0;i<authors.length;i++) | + | for (var i=0;i<authors.length;i++) // IE doesn't support for ... in - learn standards M$ lamers |
{ | { | ||
if(ans.search(authors[i])>0) { | if(ans.search(authors[i])>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:32, 24 October 2008
Attribution analyzer
|