How to create a modal Window in ColdFusion

cfwindow - create modal window

cfwindowModal.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfwindow tag: how to create modal window in coldfusion</title>
</head>

<body>
<h2 style="color:SaddleBrown; font-style:italic">cfwindow tag example: Modal Window</h2>
<hr width="400" align="left" color="CadetBlue" />
<br />

<cfwindow 
 name="FunnyWindow" 
    title="Funny Image" 
    initshow="true" 
    resizable="false"
    height="400" 
    width="450"
    modal="true"
    >
 <img src="Images/Funny.jpg" height="300" width="400"/>
</cfwindow>

</body>
</html>





More ColdFusion examples