>> You can hide table rows like this:
>> <table>
>> <tr id="aRow">
>> <td>Hello</td><td>Hello Again!</td>
>> </tr>
>> </table>
>> <script type="text/javascript">
>> document.getElementById("aRow").style.visibility = "hidden";
>> </script>
> I've been using style.display = "none"; and style.display="inline"; to
> turn them on and off... I was under the impression that style.visibility
> was a microsoft convention whereas display was DOM standard ... though I
> could be horribly mistaken... but I thought I remembered reading that
> in the dhtml section of mdsn.microsoft.com/library
On second thought, I was wrong... I remember now why I've been using
style.display ... it's because style.visibility maintains the space for the
hidden element within the layout of the page, so if you don't want the rest
of the tables and the like on the page to redraw themselves to new
dimensions, using style.visibility is the way to go. I usually wind up doing
things where I want to collapse that space ( like opening and closing trees
) which is why I usually wind up using style.display.
Isaac Dealey
Certified Advanced ColdFusion Developer
www.turnkey.to
954-776-0046
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists