How to Remove the Shadow From cfwindow

While trying to get rid of cfwindow's drop shadow I came across an excellent article written by Todd Sharp on how to exactly this using a javascript function. The one issue I ran into while trying to use this method, was how to easily create windows on the fly using the ColdFusion.Window.create function.

My final solution to this, was to go into the cfwindow.js file in the application server and change the shadow attribute to false.

Find

_22c.shadow=true;

Replace With

_22c.shadow=false;

This will need to be replaced twice, as this statement appears twice in the file.

Note: A down side to using this method is that you'll have to redo this every time there is a server upgrade. Also, in order to use this method you have to have the ability to actually edit this file, which for users on a shared server is unlikely. Have better solution? I'd love to hear from you!

1 response so far ↓

JeannieDillon - Sep 8, 2011 at 7:29 PM

According to my own monitoring, billions of people in the world get the http://bestfinance-blog.com/topics/mortgage-loans">mortgage loans from well known banks. Hence, there is great possibilities to get a consolidation loan in all countries.

Leave a Comment

Leave this field empty: