Team:UNITS Trieste/Data

From 2011.igem.org

(Difference between revisions)
(Created page with "{{header}} <html> <div id="main"> <div class="wrapper"> <div id="container"> <script type="text/javascript"> var ZebraTable = { bgcolor: '', classname: '', stripe: func...")
Line 6: Line 6:
<div id="container">
<div id="container">
<script type="text/javascript">
<script type="text/javascript">
-
var ZebraTable = {
 
-
bgcolor: '',
 
-
classname: '',
 
-
stripe: function(el) {
 
-
if (!$(el)) return;
 
-
var rows = $(el).getElementsByTagName('tr');
 
-
for (var i=1,len=rows.length;i<len;i++) {
 
-
if (i % 2 == 0) rows[i].className = 'alt';
 
-
Event.add(rows[i],'mouseover',function() { ZebraTable.mouseover(this); });
 
-
Event.add(rows[i],'mouseout',function() { ZebraTable.mouseout(this); });
 
-
}
 
-
},
 
-
mouseover: function(row) {
 
-
this.bgcolor = row.style.backgroundColor;
 
-
this.classname = row.className;
 
-
addClassName(row,'over');
 
-
},
 
-
mouseout: function(row) {
 
-
removeClassName(row,'over');
 
-
addClassName(row,this.classname);
 
-
row.style.backgroundColor = this.bgcolor;
 
-
}
 
-
}
 
-
 
$(document).ready(function(){
$(document).ready(function(){
-
    ZebraTable.stripe('mytable');
+
            $("#mytable tr:odd").addClass("alt");
         });
         });
</script>
</script>
Line 38: Line 14:
<tr>
<tr>
-
<th>Lorem</th>
+
<th>Name</th>
-
<th>Ipsum</th>
+
<th>Registry Code</th>
-
<th>Dolor</th>
+
<th>&nbsp;</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr>
<tr>
-
<td>Lorem</td>
+
<td>Strain<br/><br/>pLASI<br/>TRA‐nslator</td>
-
<td>Ipsum</td>
+
<td>&nbsp;</td>
-
<td>Dolor</td>
+
<td>View</td>
</tr>
</tr>
<tr>
<tr>
-
<td>Lorem</td>
+
<td>Strain<br/><br/>pLASI<br/><br/>LAS‐slator</td>
-
<td>Ipsum</td>
+
<td>&nbsp;</td>
-
<td>Dolor</td>
+
<td>View</td>
</tr>
</tr>
<tr>
<tr>
-
<td>Lorem</td>
+
<td>Eukaryotic<br/><br/>P65‐TraR
<br/>pTraR‐IRES‐EGFP</td>
-
<td>Ipsum</td>
+
<td>&nbsp;</td>
-
<td>Dolor</td>
+
<td>View</td>
</tr>
</tr>
</tbody>
</tbody>

Revision as of 13:31, 10 August 2011

Name Registry Code  
Strain

pLASI
TRA‐nslator
  View
Strain

pLASI

LAS‐slator
  View
Eukaryotic

P65‐TraR

pTraR‐IRES‐EGFP
  View