Team:Heidelberg/Parts
From 2010.igem.org
(Difference between revisions)
Line 25: | Line 25: | ||
function formatparts() { | function formatparts() { | ||
- | |||
- | |||
- | |||
- | |||
var d = document.getElementById("groupparts"); | var d = document.getElementById("groupparts"); | ||
var dbodytr = d.getElementsByTagName("tbody")[0].getElementsByTagName("tr"); | var dbodytr = d.getElementsByTagName("tbody")[0].getElementsByTagName("tr"); | ||
- | var | + | var lasttd = dbodytr[0].getElementsByTagName("td").length; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
var designertd = lasttd - 2; | var designertd = lasttd - 2; | ||
Line 51: | Line 39: | ||
for (var i=0;i<rowscount;i++) { | for (var i=0;i<rowscount;i++) { | ||
- | dbodytr[i]. | + | dbodytr[i].getElementsByTagName("td")[designertd].style.display ="none" |
} | } | ||
Revision as of 15:18, 23 October 2010
|
|
||