I'm trying to figure out how to have the child closed (instead of open) when 
the display page loads.  Any suggestions? 

Thanks,

Steve


Here's an example of some code...


<SCRIPT LANGUAGE="javascript">
        function toggleChild (entry)
        {   
                if (entry.style.display == 'none')
                {
                        entry.style.display = 'block';
                        return;
                }
                else
                {
                        entry.style.display = 'none';
                        return;
                }               
        }
</SCRIPT>


<table>
<TR>
   <TD align="right">
      <DIV ID="Task" CLASS="parent">
        <B>
          <font color="red">
           <A onClick="toggleChildUClass#ug_counter#)">X</A>
          </font>
        </B>
      </DIV>
   </TD>
</TR>
<TR>
   <TD>
      <DIV CLASS="child" ID="UClass" STYLE="display: block;" DISPLAY="none">
        <table width="100%">
           <TR>
              <TD><?TD>
           </TR>
        </table>
      </div>
   </td>
</tr>
</table>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to