Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Replacing cfwindow?

$
0
0

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?


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>