Hi Alby,
I just installed the latest MLE, and because my language flags are on a black background, I wanted the reverse effect:
that the shown language flag is dimmed.
After some fumbling with the settings I got it right, but not in IE7.
In below sample, English is the displayed language, thus the flag is no longer a link but only a
However a "still important part for IE7" [filter:alpha(opacity=70)] is not included in the style for that
(works fine in FF of course)
Q: where can I fix that problem?
Best regards,
SM...
[SOLVED] Flag opacity (not always...)
[SOLVED] Flag opacity (not always...)
Last edited by sysmaster on Sun Aug 31, 2008 3:03 am, edited 1 time in total.
Re: Flag opacity (not always...)
[Solved] At least for me...
After going through the PHP part, it occured to me that the "active" flag is using the original setting in config_lang.php as content for the style.
So, after modifying:
'en_US' => array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
to:
'en_US' => array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
and in Admin-->global settings
setting "Opacity text replace:" to [filter:alpha(opacity=70);-moz-opacity:.7;opacity:.7;]
and setting "Opacity flags percent:" to [99]
The proper behaviour on a black background with a dimmed "active" flag is achieved in IE7
Is this the correct approach, I don't know, but it works.
Best regards,
SM...
After going through the PHP part, it occured to me that the "active" flag is using the original setting in config_lang.php as content for the style.
So, after modifying:
'en_US' => array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
to:
'en_US' => array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
and in Admin-->global settings
setting "Opacity text replace:" to [filter:alpha(opacity=70);-moz-opacity:.7;opacity:.7;]
and setting "Opacity flags percent:" to [99]
The proper behaviour on a black background with a dimmed "active" flag is achieved in IE7
Is this the correct approach, I don't know, but it works.
Best regards,
SM...
Re: Flag opacity (not always...)
Yessysmaster wrote: and in Admin-->global settings
setting "Opacity text replace:" to [filter:alpha(opacity=70);-moz-opacity:.7;opacity:.7;]
and setting "Opacity flags percent:" to [99]
The proper behaviour on a black background with a dimmed "active" flag is achieved in IE7
Is this the correct approach, I don't know, but it works.

the "Opacity text replace" in admin is the text replacement of your personal string in image flag
Alby