Hi,
The following code to show and hide a row works fine in netscape 7 and
IE 6. But everytime the cell is hidden and displayed in netscape, it
adds a new line inside the cell. Please advise.
----snip----
<html>
<head>
<title>Table hide</title>
<script language="javas cript">
function flipCell(count) {
f=document.getE lementById("mce ll");
f.style.display =(f.style.displ ay=="block")?"n one":"block";
}
</script>
</head>
<body>
<a href="javascrip t:flipCell(0)"> here</a>
<table cellpadding="0" cellspacing="0" border="1" width="95%">
<tr>
<td>Column 1</td>
</tr>
<tr id="mcell" style="display: block;">
<td>Column 2</td>
</tr>
</table>
John Doe
</body>
</html>
---snip---
Thanks in advance,
-Tom
The following code to show and hide a row works fine in netscape 7 and
IE 6. But everytime the cell is hidden and displayed in netscape, it
adds a new line inside the cell. Please advise.
----snip----
<html>
<head>
<title>Table hide</title>
<script language="javas cript">
function flipCell(count) {
f=document.getE lementById("mce ll");
f.style.display =(f.style.displ ay=="block")?"n one":"block";
}
</script>
</head>
<body>
<a href="javascrip t:flipCell(0)"> here</a>
<table cellpadding="0" cellspacing="0" border="1" width="95%">
<tr>
<td>Column 1</td>
</tr>
<tr id="mcell" style="display: block;">
<td>Column 2</td>
</tr>
</table>
John Doe
</body>
</html>
---snip---
Thanks in advance,
-Tom
Comment