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 in authors)
+
                  //var i=0;
 +
                   for (var i=0;i<authors.length;i++)
                   {
                   {
-
                  var ser=ans.search(authors[i]);
+
                   if(ans.search(authors[i])>0) {
-
                   //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

Gallery Bricks Notebook Team Project Home

Attribution analyzer

Start dateEnd date

Toggle Fullscreen mode
Michał K. Michał L., Ewa, Marcin Piotr Antoni Paweł Emilia Weronika Errors