2009-04-18, 23:17
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.
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.