Highlighted

CF11 ColdFusion.Window.Create has no scrollbars

New Here ,
Jun 09, 2015

Copy link to clipboard

Copied

CF11 ColdFusion.Window.Create has no scrollbars. I have even tried overflow: scroll in the tag attributes and can't get it to work.

I'm on a Windows 2012 R2 Server.

<cfajaximport tags="cfwindow">

<TABLE>

<TR>

     <TD><img  border="1" src="/Utilities/Images/Icons/folders.ico" onclick="ColdFusion.Window.create('Window123','Sample Window','http://www.blueprintcss.org/tests/parts/sample.html',

        {x:100,y:100,height:500,width:500,modal:false,closable:true,

        draggable:true,resizable:true,center:true,initshow:true,refreshOnShow:false,

        minheight:200,minwidth:50,overflow: scroll})"/></TD>

    </TR>

</TABLE>

Not sure the Window.create function supports the overflow attributes.

Easiest work around I can think of is to use the cfwindow tag then use the JS to open it. Depends on how the whole page comes together in your project though.

<TABLE>

<TR>

     <TD>

             <img  border="1" src="/Utilities/Images/Icons/folders.ico"  onclick="javascript:ColdFusion.Window.show('Window123')" />

             <cfwindow x="1000" y="100" width="500" height="500" name="Window123" modal="false" center="true" initshow="false" minheight="200" minwidth="50" bodystyle="overflow:scroll"  title="Sample Window" source="http://www.blueprintcss.org/tests/parts/sample.html" />

        </TD>

    </TR>

</TABLE>

To be honest you will be much better avoiding Coldfusion UI functions and using something like jQuery. Much better support and easier to work with.

Views

636

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CF11 ColdFusion.Window.Create has no scrollbars

New Here ,
Jun 09, 2015

Copy link to clipboard

Copied

CF11 ColdFusion.Window.Create has no scrollbars. I have even tried overflow: scroll in the tag attributes and can't get it to work.

I'm on a Windows 2012 R2 Server.

<cfajaximport tags="cfwindow">

<TABLE>

<TR>

     <TD><img  border="1" src="/Utilities/Images/Icons/folders.ico" onclick="ColdFusion.Window.create('Window123','Sample Window','http://www.blueprintcss.org/tests/parts/sample.html',

        {x:100,y:100,height:500,width:500,modal:false,closable:true,

        draggable:true,resizable:true,center:true,initshow:true,refreshOnShow:false,

        minheight:200,minwidth:50,overflow: scroll})"/></TD>

    </TR>

</TABLE>

Not sure the Window.create function supports the overflow attributes.

Easiest work around I can think of is to use the cfwindow tag then use the JS to open it. Depends on how the whole page comes together in your project though.

<TABLE>

<TR>

     <TD>

             <img  border="1" src="/Utilities/Images/Icons/folders.ico"  onclick="javascript:ColdFusion.Window.show('Window123')" />

             <cfwindow x="1000" y="100" width="500" height="500" name="Window123" modal="false" center="true" initshow="false" minheight="200" minwidth="50" bodystyle="overflow:scroll"  title="Sample Window" source="http://www.blueprintcss.org/tests/parts/sample.html" />

        </TD>

    </TR>

</TABLE>

To be honest you will be much better avoiding Coldfusion UI functions and using something like jQuery. Much better support and easier to work with.

Views

637

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 09, 2015 0
Advocate ,
Jun 09, 2015

Copy link to clipboard

Copied

Not sure the Window.create function supports the overflow attributes.

Easiest work around I can think of is to use the cfwindow tag then use the JS to open it. Depends on how the whole page comes together in your project though.

<TABLE>

<TR>

     <TD>

             <img  border="1" src="/Utilities/Images/Icons/folders.ico"  onclick="javascript:ColdFusion.Window.show('Window123')" />

             <cfwindow x="1000" y="100" width="500" height="500" name="Window123" modal="false" center="true" initshow="false" minheight="200" minwidth="50" bodystyle="overflow:scroll"  title="Sample Window" source="http://www.blueprintcss.org/tests/parts/sample.html" />

        </TD>

    </TR>

</TABLE>

To be honest you will be much better avoiding Coldfusion UI functions and using something like jQuery. Much better support and easier to work with.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 09, 2015 0
New Here ,
Jun 09, 2015

Copy link to clipboard

Copied

Thanks! haxtbh, I think you are right I should switch to jquery ui for future development.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 09, 2015 0