display and visibility do two different things.
display hides the object, and leaves no space where the object resides.
visibility hides the object, but leaves space where the object resides.
According the MS documentation, display is part of the CSS1 spec, and
visibility is part of the CSS2 spec.
----- Original Message -----
From: "S. Isaac Dealey" <[EMAIL PROTECTED]>
Date: Tuesday, July 30, 2002 3:01 pm
Subject: Re: RE: Javascript/CF Tag to fill fields
> > 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
>
> Isaac Dealey
> Certified Advanced ColdFusion Developer
>
> www.turnkey.to
> 954-776-0046
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
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