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.
[HELP] On click conditional
ekim232
Posting Freak Posts: 1,204 Joined: Nov 2008 Reputation: 5 Location: Chicago, IL |
2009-04-18 23:17
Post: #1
HTPC SETUP |
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2009-04-19 01:48
Post: #2
Can't do it and wont happen for a long time probably easier just to have 2 identical buttons with conditional visability currently
Skins I have done.... ![]() And others in the past... Want to know what I'm working on currently? Check me out on Google+ |
| find quote |
ekim232
Posting Freak Posts: 1,204 Joined: Nov 2008 Reputation: 5 Location: Chicago, IL |
2009-04-19 10:44
Post: #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.
HTPC SETUP |
| find quote |

![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
Search
Help