Team:Warsaw/Calendar-Main/NoAtribution
From 2009.igem.org
(Difference between revisions)
(New page: {{WarHead}} <html> <!-- NoAttribution script by Michał Lower. --> <style> .wide { position: fixed; left: 10px; right: 10px; top: 1px; bottom: 10px; width: 99%; overflow: auto; backgro...) |
|||
(6 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> | + | <td>Kuba</td> |
- | <td> | + | <td>Marek</td> |
- | <td> | + | <td>Marcin</td> |
- | <td> | + | <td>Andrzej</td> |
- | <td> | + | <td>Milena</td> |
- | <td> | + | <td>Franek</td> |
+ | <td>Kamil</td> | ||
+ | <td>Michał</td> | ||
+ | <td>Jarek</td> | ||
+ | <td>Anna</td> | ||
+ | <td>Justyna</td> | ||
<td>Errors</td> | <td>Errors</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td id=" | + | <td id="Kama" valign="top"></td> |
- | <td id=" | + | <td id="Kuba" valign="top"></td> |
- | <td id=" | + | <td id="Marek" valign="top"></td> |
- | <td id=" | + | <td id="Marcin" valign="top"></td> |
- | <td id=" | + | <td id="Andrzej" valign="top"></td> |
- | <td id=" | + | <td id="Milena" valign="top"></td> |
- | <td id=" | + | <td id="Franek" valign="top"></td> |
+ | <td id="Kamil" valign="top"></td> | ||
+ | <td id="Michał" valign="top"></td> | ||
+ | <td id="Jarek" valign="top"></td> | ||
+ | <td id="Anna" valign="top"></td> | ||
+ | <td id="Justyna" valign="top"></td> | ||
<td id="no_author" valign="top"></td> | <td id="no_author" valign="top"></td> | ||
</tr> | </tr> | ||
Line 129: | 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 216: | 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 |
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|