How to use ColdFusion.Layout.createTab Ajax JavaScript Function

Ajax JavaScript Function - ColdFusion.Layout.createTab

ColdFusionLayoutcreateTab.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ajax JavaScript Function: how to use ColdFusion.Layout.createTab in coldfusion</title>
</head>

<body>
<h2 style="color:DeepPink; font-style:italic">cfwindow tag example: ColdFusion.Layout.createTab</h2>
<hr width="575" align="left" color="LightPink" />
<br />

<a href="JavaScript:ColdFusion.Layout.createTab('ImageLayout','Tab2','Tree Image','TabSource.cfm')">
 <b>Create New Tab</b>
</a>
<br /><br />

<cflayout name="ImageLayout" type="tab" style="width:550px">
 <cflayoutarea name="ButterflyTab" title="butterfly Image">
     <img src="Images/Butterfly16.jpg" />
    </cflayoutarea>
</cflayout>

</body>
</html>


TabSource.cfm


<img src="Images/Butterfly17.jpg" />














More ColdFusion examples