Support and General Use > Theming and Appearance Customization

vertical progressbar

<< < (4/4)

Arzhur:
yes, just need to know the tagname, which I found in config.cfg

however it doesn't work as I want :

%?if(%St(lang), =, francais)<%X(fr_image.bmp)|>
%?if(%St(lang), =, english)<%X(en_image.bmp)|>
%?if(%St(lang), =, spanish)<%X(sp_image.bmp)|>

No image is displayed  >:(

JdGordon:
You cant conditionally set the backdrop image. use %xl/%xd

Arzhur:
could you give me an exemple, impossible to load the image this way  >:(

[Saint]:

--- Quote from: Arzhur on June 16, 2011, 04:33:46 AM ---could you give me an exemple, impossible to load the image this way  >:(

--- End quote ---

Sure:


--- Code: ---# PRELOAD SOME IMAGES FOR LANGUAGE INDICATOR
#
%xl(english,en_image.bmp,0,0)
%xl(francais,fr_image.bmp,0,0)
%xl(spanish,sp_image.bmp,0,0)
#
#
# VIEWPORT TO DISPLAY THESE IMAGES
#
%V(0,0,-,-,-)
%?if(%St(lang),=,francais)<%xd(francais)>
%?if(%St(lang),=,english)<%xd(english)>
%?if(%St(lang),=,spanish)<%xd(spanish)>

--- End code ---



[St.]

Navigation

[0] Message Index

[*] Previous page

Go to full version