Используйте функцию ниже для создания CfWindow
.Вызов функции create_Window()
в теге <a>
.
function create_Window() {
win = name + "_os_" + Math.round(Math.random() * 10000000000);
try
{
twin = ColdFusion.Window.getWindowObject(winname);
twin.destroy(true);
}
catch (e)
{
// do nothing because the window does not exist
}
ColdFusion.Window.create(
win,
'Request Page',
'windowPageName.cfm?windowname='+win,
{
height:600,
width:700,
modal:true,
closable:true,
draggable:true,
resizable:true,
center:true,
initshow:true
}
)
winname=win;
}