macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: CFAjaximport ?????

Subject: Re: CFAjaximport ?????
From: "CFSees"
Date: Mon, 20 Aug 2007 22:12:48 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
on your employees.cfm file you do not want to use the javascript window.close() 
to close the window. You need to be aware the cfwindow does not create an 
actual pop up window but rather it creates a div layer that gets shown and 
hidden using the ColdFusion.Window set of functions and uses ajax to call the 
employee.cfm and get the content that goes into the innerHTML of the div layer. 
so normal java script for pop up browser windows does not apply.

 Here is how you would make a link that closes the window:

 <a href="javascript:ColdFusion.Window.hide('employeewin');"><font 
size="-4">Close</font></a>


<Prev in Thread] Current Thread [Next in Thread>