Team:Alberta/JTest2

From 2010.igem.org

(Difference between revisions)
Line 179: Line 179:
#footer
#footer
{
{
-
clear: both;
+
  clear: both;
-
margin: 0;
+
  margin: 0;
-
padding: .5em;
+
  padding: .5em;
-
color: #333333;
+
  color: #333333;
-
background-color: #dddddd;
+
  background-color: #dddddd;
-
border-top: 3px solid #333333;
+
  border-top: 3px solid #333333;
}
}
Line 200: Line 200:
</style>
</style>
-
</head>
+
<script language="javascript">
 +
function RandomImageLong(images,iparams)
 +
{
 +
/* si: start index
 +
** i: current index
 +
** ei: end index
 +
** cc: current count
 +
*/
 +
si = 0;
 +
ci=0;
 +
cc=0;
 +
imageSet = new Array();
 +
ei = images.length;
 +
  for (i=1;i<ei;i++) {
 +
    if (images.charAt(i) == ' ' || images.charAt(i) == ',') {
 +
      imageSet[cc] = images.substring(si,i);
 +
      cc++;
 +
      si=i+1;
 +
}
 +
}
 +
  ind = Math.floor(Math.random() *cc);
 +
  document.write("<img "+iparams+" src="+imageSet[ind]+" alt=\""+imageSet[ind]+"\">");
 +
}
 +
 +
</script>
 +
 +
</head>
<body>
<body>
Line 209: Line 235:
<div id="header">
<div id="header">
-
  <div id="title">
+
<div id="title">
-
        <img src="https://static.igem.org/mediawiki/2010/c/cc/Alberta_Logo.png" width="50px" height="50px" align="left"></img>
+
<img src="https://static.igem.org/mediawiki/2010/c/cc/Alberta_Logo.png" width="50px" height="50px" align="left"></img>
-
 
+
genomikon
-
    genomikon
+
</div>
-
 
+
-
  </div>
+
-
  <div id="navbar">
+
<div id="navbar">
     <span class="llink2">
     <span class="llink2">
Line 268: Line 292:
</div>
</div>
-
<div id="photo"></div>
+
<script>
 +
<!---
 +
RandomImageLong("https://static.igem.org/mediawiki/2010/b/bc/Alberta_CAB.png https://static.igem.org/mediawiki/2010/1/10/Alberta_KATZ.png ","width=680 height=215");
 +
// --->
 +
</script>
<div id="highlightb"></div>
<div id="highlightb"></div>

Revision as of 15:21, 7 July 2010


University of Alberta

We love our coffee!

and our Al-co-hol!

iGem 2010

We know what we are doing...

Even though we sometimes look like we don't


Randomness

Insert witty comment here.

Sleep deprivation

Self-explanatory