• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Replacing cfwindow?

Community Beginner ,
May 27, 2019 May 27, 2019

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?

TOPICS
Getting started

Views

614

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
community guidelines
Community Expert ,
Jun 01, 2019 Jun 01, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines
Resources
Documentation