Hello
I need to assign the url depending of the language selected by de user before and is the variable %$lang% and also from the type of device
<layer name="help_guide" onhover="" style="skin_glow" url="(calc(lang == 'eng' ? %FIRSTXML%/folder1/help-tag-desktop-eng.png : %FIRSTXML%/folder1/help-tag-desktop-esp.png))" align="center" scale="1" parent="help" />
<layer name="help_guide" onhover="" style="skin_glow" url="calc(lang == 'eng' ? %FIRSTXML%/folder1/help-tag-mobile-eng.png : %FIRSTXML%/folder1/help-tag-mobile-esp.png)" align="center" scale="1" parent="help" device="mobile" />
if i set directly the url loads the image but when i set the calc doesnt work
Any idea how to solve this problem
thank you
regards