Team:Brown/templates/header
From 2010.igem.org
(Difference between revisions)
(Replacing page with '__NOTOC__ <html> <!-- Remove top heading --> <style type=text/css> .firstHeading { display:none; } body { background-color: #260603; background-repeat: no-repeat; background-p...') |
|||
Line 7: | Line 7: | ||
} | } | ||
+ | <!-- Set background --> | ||
body { | body { | ||
background-color: #260603; | background-color: #260603; | ||
Line 12: | Line 13: | ||
background-position: top center; | background-position: top center; | ||
} | } | ||
- | |||
</style> | </style> | ||
- | + | <!-- Embed animation | |
<iframe src ="http://www.brownigem.com/testing/testheader.html" width="100%" height="425" frameborder="0" scrolling="no"> | <iframe src ="http://www.brownigem.com/testing/testheader.html" width="100%" height="425" frameborder="0" scrolling="no"> | ||
</iframe> | </iframe> | ||
+ | --> | ||
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | <!-- | ||
+ | function MM_swapImgRestore() { //v3.0 | ||
+ | var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; | ||
+ | } | ||
+ | function MM_preloadImages() { //v3.0 | ||
+ | var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); | ||
+ | var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) | ||
+ | if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} | ||
+ | } | ||
+ | |||
+ | function MM_findObj(n, d) { //v4.01 | ||
+ | var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { | ||
+ | d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} | ||
+ | if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; | ||
+ | for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); | ||
+ | if(!x && d.getElementById) x=d.getElementById(n); return x; | ||
+ | } | ||
+ | |||
+ | function MM_swapImage() { //v3.0 | ||
+ | var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) | ||
+ | if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} | ||
+ | } | ||
+ | //--> | ||
+ | </script> | ||
+ | </head> | ||
+ | <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('https://static.igem.org/mediawiki/2010/8/8f/Button_team_on.jpg','imageshttps://static.igem.org/mediawiki/2010/3/3f/Button_projects_on.jpg','https://static.igem.org/mediawiki/2010/1/16/Button_modeling_on.jpg','https://static.igem.org/mediawiki/2010/8/81/Button_notebook_on.jpg','https://static.igem.org/mediawiki/2010/7/7d/Button_parts_on.jpg','https://static.igem.org/mediawiki/2010/7/7b/Button_safety_on.jpg')"> | ||
+ | <!-- ImageReady Slices (header_forweb.psd) --> | ||
+ | <table id="Table_01" width="960" height="408" border="0" cellpadding="0" cellspacing="0"> | ||
+ | <tr> | ||
+ | <td colspan="6"> | ||
+ | <img src="https://static.igem.org/mediawiki/2010/d/d2/Mainlogo.jpg" width="960" height="348" alt=""></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><a href="https://2010.igem.org/Team:Brown/Team" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('team','','https://static.igem.org/mediawiki/2010/8/8f/Button_team_on.jpg',1)"><img src="https://static.igem.org/mediawiki/2010/6/67/Button_team_off.jpg" name="team" width="116" height="60" border="0"></a></td> | ||
+ | <td><a href="https://2010.igem.org/Team:Brown/Project" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('projects','','https://static.igem.org/mediawiki/2010/3/3f/Button_projects_on.jpg',1)"><img src="https://static.igem.org/mediawiki/2010/b/b6/Button_projects_off.jpg" name="projects" width="186" height="60" border="0"></a></td> | ||
+ | <td><a href="https://2010.igem.org/Team:Brown/Modeling" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('modeling','','https://static.igem.org/mediawiki/2010/1/16/Button_modeling_on.jpg',1)"><img src="https://static.igem.org/mediawiki/2010/5/58/Button_modeling_off.jpg" name="modeling" width="178" height="60" border="0"></a></td> | ||
+ | <td><a href="https://2010.igem.org/Team:Brown/Notebook" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('notebook','','https://static.igem.org/mediawiki/2010/8/81/Button_notebook_on.jpg',1)"><img src="https://static.igem.org/mediawiki/2010/c/ce/Button_notebook_off.jpg" name="notebook" width="189" height="60" border="0"></a></td> | ||
+ | <td><a href="https://2010.igem.org/Team:Brown/Parts" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parts','','https://static.igem.org/mediawiki/2010/7/7d/Button_parts_on.jpg',1)"><img src="https://static.igem.org/mediawiki/2010/2/2a/Button_parts_off.jpg" name="parts" width="133" height="60" border="0"></a></td> | ||
+ | <td><a href="https://2010.igem.org/Team:Brown/Safety" target="_top" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('safety','','https://static.igem.org/mediawiki/2010/7/7b/Button_safety_on.jpg',1)"><img src="https://static.igem.org/mediawiki/2010/4/4d/Button_safety_off.jpg" name="safety" width="158" height="60" border="0"></a></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <!-- End ImageReady Slices --> | ||
+ | </body> | ||
</html> | </html> |
Revision as of 20:02, 16 July 2010