Skip navigation
Currently Being Moderated

coldfusion.window.create background-color

Feb 21, 2014 1:07 PM

How do I over-ride the gray screen color in a cfwindow that is created by coldfusion.window.create?

The following JS does not work for IE11 on Windows 8.1:



wConfig = new Object(); 

wConfig.bodystyle = "background-color: blue"; //changed it to 'blue' = true; //center the window on page

ColdFusion.Window.create('mywin', 'test window', '', wConfig);


The above launches the window fine, but keep the same gray color. The works, but not the bodystyle. I have also tried 'bodyStyle' as I hear CF10 is case-senstive(?) for URLs, given this is AJAX.

  • Currently Being Moderated
    Feb 21, 2014 2:30 PM   in reply to jim-pcb

    Have you tried using your browser's developer tools to examine the CSS properties of the background being drawn by ColdFusion.Window?  If you can find the CSS property that contains the grey background color, maybe you can override it in a <style> block in the head of your page.


    -Carl V.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points