Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.