snowboardr
Programmer
I have tables inside tables and I am collapsing the cell that contains these tables, it works perfectly in firefox, but I can't seem to find the problem when I use IE or Opera to test it, it doesn't collapse / expand the cell like FF does.
Regards,
Jason
Regards,
Jason
Code:
<script language="javascript">
function openreply(row_id) {
if(document.getElementById(row_id).style.display=="none") {
document.getElementById(row_id).style.display="";
} else {
document.getElementById(row_id).style.display="none";
}
}
</script>
Code:
<tr>
<td width="119" height="53" class="bgw Rline" valign="top"><br />
<div align="center"><span class="user">message</span></div></td>
<td colspan="3" valign="top" class="mt post"><br>
<table width='98%' border='0' cellspacing='0' cellpadding='4'>
<tr>
<td class='Bline Rline Tline Lline bge quoting'><a name='quotequote25112319' id='hi'></a>Quote by snowboarder on 3/9/2006 12:27:57 AM
<div align='right'><a class='smll' href='#quotequote25112319' onClick="openreply('quotequote25112319');">Show -/+ Hide</a></div></td>
</tr>
<tr id='quotequote25112319'>
<td class='Bline Rline Lline bgw mt'><br>
<table width='98%' border='0' cellspacing='0' cellpadding='4'>
<tr>
<td class='Bline Rline Tline Lline bge quoting'><a name='quotequote24957279' id='hi'></a>Quote by snowboarder on 3/9/2006 12:26:52 AM
<div align='right'><a class='smll' href='#quotequote24957279' onClick="openreply('quotequote24957279');"></a></div></td>
</tr>
<tr id='quotequote24957279'>
<td class='Bline Rline Lline bgw mt'><br>
<table width='98%' border='0' cellspacing='0' cellpadding='4'>
<tr>
<td class='Bline Rline Tline Lline bge quoting'><a name='quotequote24852269' id='hi'></a>ra</td>
</tr>
</table>
<br>
<br>
test</td>
</tr>
</table>
<br>
<br>
message</td>
</tr>
</table>
<br>
<br>
message</td>
</tr>
</table>
<br>
<br>
message
</td>
</tr>