[HELP] On click conditional

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ekim232 Offline
Posting Freak
Posts: 1,204
Joined: Nov 2008
Reputation: 5
Location: Chicago, IL
Post: #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.
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,263
Joined: Jun 2006
Reputation: 55
Location: Earth
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....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
ekim232 Offline
Posting Freak
Posts: 1,204
Joined: Nov 2008
Reputation: 5
Location: Chicago, IL
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.
find quote