How to create a Window with custom body style in ColdFusion

cfwindow - create window with custom body style

cfwindowbodystyle.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 window with custom body style in coldfusion</title>
</head>

<body>
<h2 style="color:SlateGray; font-style:italic">cfwindow tag example: Window Body Style</h2>
<hr width="550" align="left" color="CadetBlue" />
<br />

<cfwindow 
 name="ButterflyTreeWindow" 
    title="Butterfly Tree Image" 
    initshow="true" 
    resizable="false"
    center="false"
    height="425" 
    width="500"
    x="25"
    y="100"
    draggable="false"
    bodystyle="background-color:DimGray; font-weight:Bold; color:Gold; text-align:center"
    >
    Butterfly Image
    <br /><br />
 <img src="Images/Butterfly14.jpg" height="335" width="400"/>
</cfwindow>

</body>
</html>





More coldfusion examples