Contact Us

Let us know to help you out quickly!

 Bharat Patel     Feb,08 2017

CFWindow with Local Content, Remote Content and Javascript

Coldfusion 8 has introduced cfwindow tag. It is used to create pop up window in browser without creating any separate browser window instance. cfwindow can be used in different ways.

1. CFWindow with local content.

<cfwindow name="cfwinpage" title="cfwindow1"><h1>CFWindow with local content</h1></cfwindow>

2. CFWindow with remote content.

<cfwindow name="remotecfwindow"title="cfwindow with remote content"source="remotewindow.cfm" />

3. CFWindow with JavaScript.

<script>function init(){ColdFusion.Window.create('cfWin','CF Window Example Using javascript','remotewindow.cfm',{x:100,y:100,height:400,weight:400});}</script>