2014-03-21, 14:19
Another question that came to my mind: On Confluence, can I add custom item menus for each rom collection?
Let me elaborate: I have four rom collections (Master System, Genesis, NES and SNES). On XBMC main menu, I want to add four custom items, one for each rom collection, and when I open one of them, RCB will show only the games specific to the selected console.
I know I can add a custom menu item that open RCB, simply by changing <onclick> function this way (or something like that):
However, I don't know how to pass parameters to the <onclick> function, in order to specify which rom collection to show.
Is it possible to do?
Let me elaborate: I have four rom collections (Master System, Genesis, NES and SNES). On XBMC main menu, I want to add four custom items, one for each rom collection, and when I open one of them, RCB will show only the games specific to the selected console.
I know I can add a custom menu item that open RCB, simply by changing <onclick> function this way (or something like that):
Code:
<item id="3">
<label>2</label>
<onclick>RunAddon(script.games.rom.collection.browser)</onclick>
<icon>-</icon>
<thumb>-</thumb>
</item>
However, I don't know how to pass parameters to the <onclick> function, in order to specify which rom collection to show.
Is it possible to do?