Posted: Thu Oct 12, 2006 5:34 pm
thanks Ole.. but when I read those colors from SomeColors.php into the css and use that for the html output of my php file - I still have two different places where I define define colors... (like I have now)
I will send you PM trying to explain it with more details.
@cinac: I don't think I can't keep it down as I have some mouseover calls that require "magic numbers" as values passed in -
like I posted before: <td height='50' class='FOO' align='center' valign='top' onmouseover="...., cOn(this,'#dd0066')
where I pass the color for cOn(this,'#dd0066') as variable cOn(this,'$foo') <- pseudo code....
with $foo defined in the same php file - ass works, but i want to keep those colors central in the CSS with all other color defs.
so no CSS styling as such...
@Rovas: any pointer??? please....
I will send you PM trying to explain it with more details.
@cinac: I don't think I can't keep it down as I have some mouseover calls that require "magic numbers" as values passed in -
like I posted before: <td height='50' class='FOO' align='center' valign='top' onmouseover="...., cOn(this,'#dd0066')
where I pass the color for cOn(this,'#dd0066') as variable cOn(this,'$foo') <- pseudo code....
with $foo defined in the same php file - ass works, but i want to keep those colors central in the CSS with all other color defs.
so no CSS styling as such...
@Rovas: any pointer??? please....