I have been trying to resolve this for a while and all search results are about changing the color once only. It seems that FCK is incapable of displaying anything but the actual page color as the background color for its text area. For example if the page has a red background then the text area will be red.
Ok, so we can set a CSS... FCKConfig.EditorAreaCSS = '/myproject/project.css' ;
Note that this file must be a CSS file otherwise the it will be ignored. Someone's suggestion that using project.asp to dynamically change the color does NOT work!
Then in project.css we need the code...
body
{
background-color: #999900;
padding: 5px 5px 5px 5px;
margin: 0px;
}
Ok, so now we can change the color of the FCK text area to anything that we like independent of the actual page color, and that works ok for when designing html to be used between header/footer on the same site, but what if we want to design new pages independent of the main theme. For example, what if we want to design greeting cards or book covers? Well we can't because using FCK it's not possible from what I have seen.
The problem is that FCK is reading the page color from a file of fixed name that is designated by fkconfig.js. I even thought about using 000000.css, FFFFFF.css, FF3333.css, etc which did not work because fkconfig.js can only point to one file. Different CSS files do work for changing the color but they can't be loaded.
So then I started looking for the code that actually says that "this textarea will be xyz color" so that I could strangle it. But I have yet to find it and this is where I need help.
Using JQuery and CSS I can easily change the color of the page and text areas on mouse over, but I can't change the FCK text area color at all. I don't expect to able to update FCK settings without a refresh of the page by submitting a form, but how? I am using version 2 FCK (even though I have a license for 3) but both versions are affected. I am surprised that this option has not yet been made available in all the years of FCK service.
Any ideas?
Ok, so we can set a CSS... FCKConfig.EditorAreaCSS = '/myproject/project.css' ;
Note that this file must be a CSS file otherwise the it will be ignored. Someone's suggestion that using project.asp to dynamically change the color does NOT work!
Then in project.css we need the code...
body
{
background-color: #999900;
padding: 5px 5px 5px 5px;
margin: 0px;
}
Ok, so now we can change the color of the FCK text area to anything that we like independent of the actual page color, and that works ok for when designing html to be used between header/footer on the same site, but what if we want to design new pages independent of the main theme. For example, what if we want to design greeting cards or book covers? Well we can't because using FCK it's not possible from what I have seen.
The problem is that FCK is reading the page color from a file of fixed name that is designated by fkconfig.js. I even thought about using 000000.css, FFFFFF.css, FF3333.css, etc which did not work because fkconfig.js can only point to one file. Different CSS files do work for changing the color but they can't be loaded.
So then I started looking for the code that actually says that "this textarea will be xyz color" so that I could strangle it. But I have yet to find it and this is where I need help.
Using JQuery and CSS I can easily change the color of the page and text areas on mouse over, but I can't change the FCK text area color at all. I don't expect to able to update FCK settings without a refresh of the page by submitting a form, but how? I am using version 2 FCK (even though I have a license for 3) but both versions are affected. I am surprised that this option has not yet been made available in all the years of FCK service.
Any ideas?