[SOLVED] Flag opacity (not always...)

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
sysmaster
Forum Members
Forum Members
Posts: 23
Joined: Sun Aug 26, 2007 2:08 am

[SOLVED] Flag opacity (not always...)

Post by sysmaster »

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...
Last edited by sysmaster on Sun Aug 31, 2008 3:03 am, edited 1 time in total.
sysmaster
Forum Members
Forum Members
Posts: 23
Joined: Sun Aug 26, 2007 2:08 am

Re: Flag opacity (not always...)

Post by sysmaster »

[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...
alby

Re: Flag opacity (not always...)

Post by alby »

sysmaster 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.
Yes  ;)
the "Opacity text replace" in admin is the text replacement of your personal string in image flag

Alby
Locked

Return to “[locked] CMSMS MLE fork”