Click to See Complete Forum and Search --> : Change TR height


ThaLyric
11-28-2002, 07:00 AM
I have the following table :

<table width="129" border="0" cellpadding="1" cellspacing="1" height='100%'>
<tr id='trblaat1' style='height:50%'>
<td height='100%'>
some text
</td>
</tr>
</table>

And I have the following javascript function

function test(){
element=document.getElementById("trblaat1");
}


Now I want to alter the function test so that the function will change the height of the table.

I've already tried it with

function test(){
element=document.getElementById("trblaat1");
element.style.offsetHeight("100%");
}

but that didn't worked :(

Does anybody have a solution ?

ThaLyric
11-28-2002, 07:32 AM
never mind ...

I have it ....