onclick action
#1
Hi
I want to add a button to a home menu say "Kids Video"
but I cant work out how I go about calling
XBMC.ActivateWindow to say point to e:\Kids Movies with the onclick

<onclick>XBMC.ActivateWindow(XXXXXXX) </onclick>

what do I put in XXXX so that when I click it go directly to e:\kids movies

Thanks
Reply
#2
You will need to add a source that points to e:\kids movies then use ActivateWindow(videofiles,NameOfNewSource)
Reply
#3
Cool thanks for that
Reply
#4
What I'd really like and have been trying to do my self is to have a complete new setup, where I'd have the option to display 'kids movies' instead of say, clips or adult with the showcase view, at the front page and also be able to associate a fan art background folder to it.

I've manged to manipulate the 'adult' block in the homescroller.xml, so that i get 'KIDS' as the button which opens up my 'Kids movie' source under a showcase view but can only get it to scroll fanart from my movies background folder not the adult (where the kids background pics are which I've set in the aeon settings). Although when I'm at the home page and highlight the 'kids' button it does scroll through the kids background folder (adult folder)

If i could get this to work, my setup would be complete.
Reply
#5
i want to do the same, but have a "Bluray" name
Reply

Logout Mark Read Team Forum Stats Members Help
onclick action0