3 Replies Latest reply on Mar 15, 2010 10:15 AM by browser1212

    window using cfwindow displays though  initshow="false"

    browser1212 Level 1

      I'm trying to create a pop-up window using cfwindow. The popup seems to work ok but I get this initial display of my popup form on the browser before the base form displays over it even though the cfwindow has  initshow="false".

      The cfwindow pop-up is in a separate file th

       

       

       

      <cfwindow
            name="emailItOpsWindow"   
            title="Email Window"
            closable="true"
            height="300"
            width="300"
            draggable="false"
            x="100"
            y="100"
            resizable="true"
            modal="true"
            center="true"
            initshow="false"
            minheight="200"
            minwidth="200" >
           <body>
           <cfform  format="html">

            <table>
             <tr>
            <td>
            <cftextarea rows="3" cols="40" name="comments"></cftextarea>
            </td>
            </tr>  
            <tr>
            <td colspan="2" align="right">
            <cfinput name="sendEmail" type="button"
               onClick="ColdFusion.Window.hide('emailItOpsWindow')">
            </td>
            </tr>     
            </cfform>
            </table>
            </body>
        </cfwindow>

       

       

      ____________________

       

      which I include wirth

       

       

      <cfinclude template="emailItOps.cfm">

       

      ...

      later I do the following ... but problem occurs before I click and activate this code

       

       

        <td><input type="checkbox" name="OvrComplete"
                            onClick="ColdFusion.Window.show('emailItOpsWindow')" <cfif (#GetCR.Complete# EQ 1)>checked</cfif>> <font size="2" face="Arial, Helvetica, sans-serif"><b>Complete</b></font></td>

       

       

      Thanks