Team:Warsaw/Calendar-Main/NoAtribution
From 2009.igem.org
(Difference between revisions)
(4 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | {{ | + | {{WarHead1}} |
<html> | <html> | ||
Line 92: | Line 92: | ||
<table id="result" class="narrow"> | <table id="result" class="narrow"> | ||
<tr> | <tr> | ||
- | <td> | + | <td>Kama</td> |
<td>Kuba</td> | <td>Kuba</td> | ||
<td>Marek</td> | <td>Marek</td> | ||
Line 108: | Line 108: | ||
<tr> | <tr> | ||
- | <td id=" | + | <td id="Kama" valign="top"></td> |
<td id="Kuba" valign="top"></td> | <td id="Kuba" valign="top"></td> | ||
<td id="Marek" valign="top"></td> | <td id="Marek" valign="top"></td> | ||
Line 139: | Line 139: | ||
var months=['January','February','March','April','May','June','July','August','September','October','November','December']; | var months=['January','February','March','April','May','June','July','August','September','October','November','December']; | ||
- | var authors=[' | + | var authors=['Kama','Kuba','Marek','Marcin','Andrzej', 'Milena', 'Franek', 'Kamil', 'Michał', 'Jarek', 'Anna', 'Justyna']; |
var adresbase='https://2009.igem.org/Team:Warsaw/Calendar-Main/'; | var adresbase='https://2009.igem.org/Team:Warsaw/Calendar-Main/'; | ||
Line 226: | Line 226: | ||
else if(ans.search("<h4>")<0) document.getElementById("no_author").innerHTML=document.getElementById("no_author").innerHTML+"<br/><a href="+'"'+adresbase+nday+'"'+">"+nday+" No authors:"+removeHTMLTags(get_title(ans))+"</a>"; | else if(ans.search("<h4>")<0) document.getElementById("no_author").innerHTML=document.getElementById("no_author").innerHTML+"<br/><a href="+'"'+adresbase+nday+'"'+">"+nday+" No authors:"+removeHTMLTags(get_title(ans))+"</a>"; | ||
- | else if (and(count_authors(ans) | + | else if (and(count_authors(ans)>=count_titles(ans),count_authors(ans)>0)) |
{ | { | ||
- | for (var i=0;i<authors.length;i++) // IE doesn't support for ... in | + | for (var i=0;i<authors.length;i++) // IE doesn't support for ... in |
{ | { | ||
if(ans.search(authors[i])>0) { | if(ans.search(authors[i])>0) { |
Latest revision as of 09:58, 16 August 2009
Attribution analyzer
Toggle Fullscreen mode |
Kama | Kuba | Marek | Marcin | Andrzej | Milena | Franek | Kamil | Michał | Jarek | Anna | Justyna | Errors |
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|