Skip to main content
ajithman
Inspiring
February 18, 2009
Answered

Applying css style to CFWINDOW

  • February 18, 2009
  • 2 replies
  • 4433 views
Hi All,
I am using CFWINDOW in my page. I want to apply CSS to my CFWINDOW - i want to change the border color of the cfwindow . I am creating my cfwindow from a javascript function using ColdFusion.Window.create method. Is it possible to apply the css style to cfwindow through javasript?
<cfwindow> tag has headerstyle property but i cannot use this in the above method. Is there any method to set the style for a cfwindow. Pls help me.
    This topic has been closed for replies.
    Correct answer ajithman
    Hey thanks but i found the solution here:-
    http://blog.dkferguson.com/index.cfm/2007/9/11/Styling-CFWindow-header-via-JS

    2 replies

    ajithman
    ajithmanAuthorCorrect answer
    Inspiring
    February 20, 2009
    Participant
    February 7, 2010

    Thanks ajithman

    Participating Frequently
    February 18, 2009
    ColdFusion.Window.create method does not support css using js function. In ColdFusion, <cfwindow> tag headerstyle attribute supports to set color font styles, height and width of a window. ColdFusion.Window.create method uses the ext JS to create a window.