Hi everybody,
I've a plugin for all devices. I'd like to set the onclick attribute only for desktop. I used the "if" var, didn't work? I've checked the doc syntax about "if" i've seen no restriction?!
Code
<plugin name="fond_texte"
url="plugins/Fond_champ_texte.png"
keep="true"
align="right"
edge="right"
visible="false"
scale="0.65"
zorder="69"
x="20" y="-10"
alpha="0.0"
onclick="if(isdesktop, hideinfo() );"
onloaded="if(isphone, set(y, 0); set(scale, 0.85); );
if(ismobile, set(y, 0); set(scale, 0.85); );"
onover=""
onout=""
effect="dropshadow(5,0x30,3,1.5);"
enabled="true"
capture="true"
selectable="false"
devices="all"
/>
Display More
Thanks for any help.
Steph