Dec
14
Did you know that you can add HTML items to the title of a CFLAYOUTAREA?οΎ This works out really well if you would like to include an icon or special button that is completely independent of the content being displaying inside the layout.
<cfset IconFolder="<img src="&Chr(34)&"/Info.png"&Chr(34)&" width=20 height=20 />">
<cflayout type="border" name="PanelParent" align="left" fittowindow="yes">
<cflayoutarea position="left" title="#IconFolder# INSTRUCTIONS" size="250">
Stuff
</cflayoutarea>
</cflayout>
The code above will place an icon in the title just before the word "instructions". Hope you can find a good use for this one! Enjoy!
If you find this post useful please leave a comment and let me know how you used the information.