[HELP] On click conditional
#1
Is is possible to add a conditional to <onclick>?

I would like to have a setting that lets the user decide what a button does. One option is to launch a script & the other is to open a window.

Something like..

<onclick>Skin.HasSetting(run_script)>XBMC.RunScript($INFO[Skin.String(myscript)])</onclick>

I am not sure if that would be the correct coding, but thought I would ask. Thanks to anyone who can assist.
Reply
#2
Can't do it and wont happen for a long time probably easier just to have 2 identical buttons with conditional visability currently
Reply
#3
Thats what I figured. I was just seeing if there was a another way to do. Felt like I was doing a work around. Thanks Jezz.
Reply

Logout Mark Read Team Forum Stats Members Help
[HELP] On click conditional0