Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfwindow - border color

Guest
Jul 11, 2009 Jul 11, 2009

How do I change the color of the border or frame in the cfwindow popup?  The standard seems to be a light grey. I want to change that to black.

1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 12, 2009 Jul 12, 2009

Please refer this.

http://www.coldfusionguy.com/ColdFusion/blog/index.cfm/2008/5/30/CFWindow-as-Image-onMouseOver-EnlargerPop-Up

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 01, 2010 Nov 01, 2010
LATEST

That link is not useful for CF9's cfwindow tag.  myWindow.toolbox.remove(); causes a "toolbox is undefined" JS error.  This is NOT because the server I am using has IIS setup wrong.  Firebug is indicating that every js and css file that cfwindow is looking for is being successfully located and loaded.

It appears to me that CF9 is using Ext version 3.0.  The CSS in the linked example is being overrided by "!important" style settings.  Even trying to override the "!important" styles is failing for me.

There seems to be close to zero documentation out there for CF9's cfwindow tag other than the tag basics and a few basic function calls.  All the detailed examples seem to be for CF8 and no longer work.  One of the few things I found was this:

document.getElementById(ColdFusion.Window.getWindowObject("myWindow").header.id).className = "windowHdr";

.windowHdr {
background-color: blue;
}

You change the window object's header class and then can alter the settings, but this seems like a terrible method, besides having to figure out what the border properties are to change their classes.

Would anyone direct me to even somewhat decent and detailed documentation that is for CF9's cfwindow tag?  Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources