Skip to main content
Known Participant
May 27, 2019
Question

Replacing cfwindow?

  • May 27, 2019
  • 1 reply
  • 748 views

I've been using CFwindow for years and find it very old fashioned.

Have to use this code to open a window ...

<cfwindow width="#srw#" height="700" bodystyle="overflow:auto"

name="Alerts" title="Alerts" modal="True"

closable="true" draggable="true" resizable="true"  initshow="false"

/>

then trigger it with

ColdFusion.navigate('/members/edit/edit.cfm','MemberProfileEdit');

rePositionWindow('MemberProfileEdit');

ColdFusion.Window.show('MemberProfileEdit');

ColdFusion.Window.hide('pRC')

I am also told by another developer that this usage is archaic and inefficient, in that the cfwindow line actually opens the window on initial load.

Also having problems getting a cfwindow to "find" javascript that is declared outside of it.

What in jquery can one use that is today's standards?

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
June 1, 2019

Easy. Just google on how to create a popup in jQuery. See, for example, the alternative Raymond Camden suggests.

Oh, the other developer was right. Cfwindow is among the ColdFusion UI tags that have been phased out.