Team:Warsaw/Calendar-Main/NoAtribution
From 2008.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<html> | <html> | ||
+ | <style> | ||
+ | |||
+ | .wide { | ||
+ | position: fixed; | ||
+ | left: 10px; | ||
+ | right: 10px; | ||
+ | top: 1px; | ||
+ | bottom: 10px; | ||
+ | width: 95%; | ||
+ | overflow: auto; | ||
+ | background-color:white; | ||
+ | } | ||
+ | |||
+ | .float { | ||
+ | position:fixed; | ||
+ | right:10px; | ||
+ | top:2px; | ||
+ | } | ||
+ | |||
+ | .narrow { | ||
+ | position: relative; | ||
+ | left: 5px; | ||
+ | background-color: transparent; | ||
+ | width: 98%; | ||
+ | } | ||
+ | |||
+ | |||
+ | #results { | ||
+ | border: 1px solid black; | ||
+ | border-collapse: collapse; | ||
+ | text-align: center; | ||
+ | background: transparent; | ||
+ | } | ||
+ | |||
+ | #results th { | ||
+ | border: 1px solid black; | ||
+ | background: #F0F0F0; | ||
+ | font-weight: bold; | ||
+ | color: #0C1347; | ||
+ | font-family: Georgia, "Times New Roman", Times, serif; | ||
+ | } | ||
+ | |||
+ | #results td { | ||
+ | color: black; | ||
+ | border: 1px solid black; | ||
+ | padding: 5px; | ||
+ | background: transparent; | ||
+ | font-family: Georgia, "Times New Roman", Times, serif; | ||
+ | } | ||
+ | </style> | ||
+ | |||
<h3>Attribution analyzer</h3> | <h3>Attribution analyzer</h3> | ||
<form name="params" action="JavaScript:analyze()"> | <form name="params" action="JavaScript:analyze()"> | ||
Line 45: | Line 96: | ||
<input type="submit" value="Go!"> | <input type="submit" value="Go!"> | ||
</form> | </form> | ||
- | <h4 id="progress"></h4> | + | <div id="outer" onclick="JavaScript:ToggleZoom()"> |
- | <table id=" | + | <table width="98%" class="month"> |
+ | <tr><td width="70%"><h4 id="progress"></h4></td><td align="right"><a>Toggle Fullscreen mode</a></td></tr> | ||
+ | </table> | ||
+ | <table id="results" class="narrow"> | ||
<tr> | <tr> | ||
<td>Michał K.</td> | <td>Michał K.</td> | ||
Line 65: | Line 119: | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | + | </div> | |
Line 297: | Line 351: | ||
//alert(get_title_by_author("SD<h3>title1</h3>SADS<h4>author1</h4>fgaf<h3>title2</h3>sffsfd<h4>author2</h4>gdfgfd","author1")); | //alert(get_title_by_author("SD<h3>title1</h3>SADS<h4>author1</h4>fgaf<h3>title2</h3>sffsfd<h4>author2</h4>gdfgfd","author1")); | ||
+ | var zoomed=false; | ||
+ | function ToggleZoom() | ||
+ | { | ||
+ | if (zoomed) | ||
+ | { | ||
+ | document.getElementById("outer").className = 'narrow'; | ||
+ | zoomed=false; | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | document.getElementById("outer").className = 'wide'; | ||
+ | zoomed=true; | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
/* ]]> */</script> | /* ]]> */</script> |
Revision as of 18:46, 12 October 2008
Attribution analyzer
|