HOME | FERGUSON Digital Blog

CFWINDOW Drop Shadow

ColdFusion Add comments

If you think the built-in drop shadow for the CFWINDOW render is too weak, there is a way you can provide the illusion that the window is further away from the main content. To make the change for every CFWINDOW on the server you can edit the theme CSS in the CFIDE (ColdFusion 8) or the "ext-all.css" file (ColdFusion 9) also in the CFIDE folder, or to just change one page add the following style statement.

<style type="text/css">
   .x-ie-shadow {
      background: #000;
      zoom: 1.01;}
</style>

Just like the CFGRID border style statement from the previous entry, this works because styles are the executed in the order presented. Last one loaded, wins.

If you find this post useful please leave a comment and let me know how you used the information.

0 responses to “CFWINDOW Drop Shadow”

Leave a Reply




© Copyright 1997-2024, All Rights Reserved Coldfusion and MS SQL2008
Powered by Mango Blog.   Design by FERGUSON Digital
o:Event name="beforeHtmlBodyEnd" />