|
|
(122 intermediate revisions not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
| + | <head> |
| + | <script src="/Team:Hannover/jquery-1.11.0.min?action=raw&type=text/javascript" type="text/javascript"></script> |
| + | <script src="/Team:Hannover/lightbox.min?action=raw&type=text/javascript" type="text/javascript"></script> |
| + | </head> |
| + | <body> |
| + | <div id="banner"> |
| + | <a style="display:block; height:100%"> |
| + | <a href="https://2014.igem.org/Team:Hannover"></a> |
| + | </div> |
| | | |
- | <center><img src="https://static.igem.org/mediawiki/2014/2/24/Hannover_20140815_final_wiki_banner.png" width="800px"></center> | + | <script type='text/javascript'> |
| + | function annotate_all() { |
| + | // Move all annotations to the height of the referred element. |
| + | $( ".annotation" ).each(function(elem) { |
| + | var thise = $(this); |
| + | var e = thise.attr('ref'); |
| + | var reff = $('#' + e); |
| + | if (reff) { |
| + | var apos = thise.offset(); |
| + | var rpos = reff.offset(); |
| + | var opos = thise.position(); |
| + | opos.top = opos.top - apos.top + rpos.top - 10; |
| + | thise.css({ |
| + | 'vi' : 'absolute' , |
| + | 'top' : opos.top, |
| + | 'left' : opos.left, |
| + | 'visibility' : 'visible' |
| + | }); |
| + | } |
| + | }); |
| + | } |
| | | |
- | <center>
| |
- | <table style="background-color:transparent;">
| |
- | <tr>
| |
| | | |
- | <td style="border:1px solid black;" align="center" height ="20px" width="40px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | function preload(arrayOfImages) { |
- | <a href="https://2014.igem.org/Team:Hannover"style="color:#000000"> Home </a> </td>
| + | $(arrayOfImages).each(function(){ |
| + | (new Image()).src = this; |
| + | }); |
| + | } |
| | | |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | function preload_menu() { |
- | <a href="https://2014.igem.org/Team:Hannover/Team"style="color:#000000"> Team </a> </td>
| + | // Preload images.. |
- | | + | preload([ |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | 'https://static.igem.org/mediawiki/2014/8/88/Hannover_20140901_MENU-HUMAN-PRACTICE.gif', |
- | <a href="https://igem.org/Team.cgi?year=2014&team_name=Hannover"style="color:#000000"> Official Team Profile </a></td>
| + | 'https://static.igem.org/mediawiki/2014/3/3d/Hannover_20140901_MENU-TEAM.gif', |
- | | + | 'https://static.igem.org/mediawiki/2014/7/7d/Hannover_20140901_MENU-PROJECT.gif', |
- | <td style="border:1px solid black" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | 'https://static.igem.org/mediawiki/2014/c/cd/Hannover_20140901_MENU-HOME.gif' |
- | <a href="https://2014.igem.org/Team:Hannover/Project"style="color:#000000"> Project</a></td>
| + | ]); |
- | | + | } |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | |
- | <a href="https://2014.igem.org/Team:Hannover/Parts"style="color:#000000"> Parts</a></td>
| + | |
- | | + | |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | |
- | <a href="https://2014.igem.org/Team:Hannover/Modeling"style="color:#000000"> Modeling</a></td>
| + | |
- | | + | |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | |
- | <a href="https://2014.igem.org/Team:Hannover/Notebook"style="color:#000000"> Notebook</a></td>
| + | |
- | | + | |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | |
- | <a href="https://2014.igem.org/Team:Hannover/Safety"style=" color:#000000"> Safety </a></td>
| + | |
- | | + | |
- | <td style="border:1px solid black;" align="center" height ="45px" onMouseOver="this.bgColor='#d3d3d3'" onMouseOut="this.bgColor='#e7e7e7'" bgColor=#e7e7e7>
| + | |
- | <a href="https://2014.igem.org/Team:Hannover/Attributions"style="color:#000000"> Attributions </a></td>
| + | |
- | </tr>
| + | |
- | </table>
| + | |
- | </center>
| + | |
| | | |
| + | $( document ).ready( annotate_all ); |
| + | $( window ).resize( annotate_all ); |
| + | $( document ).ready( preload_menu ); |
| + | </script> |
| + | </body> |
| </html> | | </html> |