Posts: 1,617
Joined: Jul 2009
Reputation:
11
Is it possible to do this within the same container?
<ondown condition="container.content(TVShows)>DOTHIS</ondown>
<ondown condition="container.content(Movies)>DOTHIS</ondown>
To learn more, click
here.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Nope. The trick is usually to make the thing you're moving down to conditional (eg within a group, or with an item invisible etc.)
Posts: 1,617
Joined: Jul 2009
Reputation:
11
Well I was activating a window. I use the same View for TV and Movies but when in Movies I want to open window ID 1112 ondown and in TV Shows, I want to open window ID 1116 ondown. Oh well.
To learn more, click
here.
Posts: 3,379
Joined: Feb 2009
Reputation:
15
mcborzu
Skilled Skinner
Posts: 3,379
I do this both in Night and "The Carmicael':
<ondown>2448</ondown>
Which reference's different a <group>
One group has a <visible>Movies</visible>* and the other has <visible>!Movies</visible>*
bear in mind my shorthand, you know what I mean...
Check out Night - A Skin For XBMC
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
thanx pieh, major improvement!
Posts: 3,919
Joined: Jul 2010
Reputation:
154
BigNoid
Team-Kodi Member
Posts: 3,919
Thx, works flawless. Now I can really clean up my code.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
Bit of a bump here but I can't seem to get this to work in grouplists is there some sort of issue here that prevents it from working proper with them ?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Controls in a vertical grouplist inherit the <onleft>/<onright> stuff from the parent. In this case, likely they don't inherit everything?