Not exactly sure what you're asking, but if you have space reserved for
a component, that is not visible (and it leaves the white space), I set
the height=0 initially, then when the button is clicked, I set the
height of the component to a number.  This eliminates the reserved space
until you need it.

        <cfformitem type="script">
      function hidePanel(){
                        mypanel.visible = false;
                        mycomponent.height = 0;
      }
        function showPanel(){
                        mypanel.visible = true;
                        mycomponent.height = 100;
      }
        </cfformitem>

Don


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, August 13, 2007 9:44 AM
To: [email protected]
Subject: [houcfug] Flash CFFORMS


Good morning everyone,

Has anyone done this sort of thing and could you please advise me in
this problem I'm having?

Ok here is my problem; I am using CFFORMS formatted in flash. In the
form I have some set information that the user needs to add but if they
need to add additional information (same as what they just entered) I
want to do an "add another" checkbox. Now I can hack my through it but
it doesn't look good, for some reason flash reserves the space in the
panel and it can take up quite amount of space. Has anyone seen this
problem and could you please advice.

Ernie Pena
UT MD Anderson Cancer Center.
[EMAIL PROTECTED]



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to