Place 

display:none - for invisible
and display: - for visible

no need to wrap a div round it just make the whole invisible.

<tr style="display:none">

would be better to define this as a class though.

GC

Original Message:
-----------------
From: Scott Thornton [EMAIL PROTECTED]
Date: Tue, 1 Jun 2004 16:24:50 +1000
To: [EMAIL PROTECTED]
Subject: [cfaussie] OT: DIV's and Visibilty


Hi,

I would like to make three of four rows of a table invisible until a user
has selected a particlaur value in another field.

I assume you can place a div around the <tr></td> tags and set its visible
property
to hidden and change this based upon the other value??

I haven't done much with the dhtml, and am not sure if I am heading down
the right path.

Any code/suggestions/examples appreaciated...

My code does not work:

<DIV id="ANAETHESTIC_TIMES" style=" visibility:hidden;">
        <TR>
                <TD>Start Time</TD>
                <TD> </TD>
                <TD><INPUT type="TEXT" name="START_TIME" VALUE=""></TD>
        </TR>
</DIV>


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to