Have uploaded latest code - layout skewing is fixed, but the functionality broken.
:(
I think I'm doing something stupid with this JavaScript, but can't see what it is. Any ideas?
JavaScript code:
thisRow = rows[i];
if (thisRow.rclass == classId)
{
x += '[i:'+i+']';
if (thisRow.style.display == 'none')
{
thisRow.style.display = 'block';
}
else
{
thisRow.style.display = 'none';
}
}
else
if (thisRow.id == classId)
{
for (n in thisRow.childNodes)
{
if (n != 'length')
{
thisCol = thisRow.childNodes[n];
if (thisCol.className == 'td_all')
{
if (thisCol.crowspan == thisCol.rowspan)
{thisCol.rowspan = 1;}
else
{thisCol.rowspan = thisCol.crowspan;}
}
}
}
}
EDITED: 6 Jun 2007 13:12 by BOUGHTONP