[Javascript] Non-Scrolling Titles
Hassan Schroeder
hassan at webtuitive.com
Thu Jan 31 08:37:00 CST 2002
pd wrote:
> My question is this. Is there a DOM method to change the content of a <TD>
> cell in an existing table? I noticed you used the method - z.style.width
> = x; - to change the width of the cell. How do you change the contents of
> a table <tr> cell?
Rather than rewrite the cell contents, how about giving your spacer
image an ID and then changing its 'width' property at the same time
you change that of the TD?
> I'd like the end result to be interpreted something like this:
> <td width=x ><IMG src="images/spacer.gif" width=x height="1"></td>
FWIW,
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
-- creating dynamic Web sites and applications since 1994 --
More information about the Javascript
mailing list