J
jodleren
Hi
During a radio selection I do this to grey out a disabled item - the
point is that the user can enable it again, and then I'd like to
restore the old colour, or just default colour of input items. The
point is, that the end user can set up colour of his/hers system, and
I'd like to use that
1) can I read the present colour?
2) can I get the system colour for that?
WBR
Sonnich
form1 = document.forms[0];
form1.dir1.disabled=!form1.opendir3.checked;
if(!form1.dir1.disabled)
{
form1.btn_dir1.focus();
form1.dir1.style.background=oldcolor;
}
else
form1.dir1.style.background="#f0f0f0";
During a radio selection I do this to grey out a disabled item - the
point is that the user can enable it again, and then I'd like to
restore the old colour, or just default colour of input items. The
point is, that the end user can set up colour of his/hers system, and
I'd like to use that
1) can I read the present colour?
2) can I get the system colour for that?
WBR
Sonnich
form1 = document.forms[0];
form1.dir1.disabled=!form1.opendir3.checked;
if(!form1.dir1.disabled)
{
form1.btn_dir1.focus();
form1.dir1.style.background=oldcolor;
}
else
form1.dir1.style.background="#f0f0f0";