Hi.
I'm working on a huge modification of PureVision Skin atm. And I need some help as I'm not an experienced skinner.
First Question... I can use posx and posy tags to define the top left corner of an element relative to top left corner of the window. But sometimes it is much more useful to define other edges of the element. In this case I have submenus that all need to have the lower edges to be at the same height but have different heights. As for now I use different posy tags to compensate this. It would be much easier if I can define the position of bottom left (or right, no matter) corner so all elements could have the same tag here... Add or remove a button leads to also change those posy tags now, but it would be really nice if this is not necessary... Is this possible?
Second question... Can I have something like "conditional navigation"? We have onup, ondown,... tags to navigate inside a menu. Sometimes this could be very useful if we can navigate a specific direction only if... e.G. a specific control is visible. Something like that:
I haven't found such in Wiki so maybe this isn't possible. But maybe someone knows how to solve this. In special I want to show latestmediahander Items only if player don't have media. And if Player has media it should not be possible to navigate to those items, as they are hidden...
To see what I'm talking about here's a screenshot from the BasicHome:
You can see, all submenus need to have the same lower position but as the number of buttons vary on each submenu they all have different posy tags needed...
So many thanks in advance...
p.s. if you think you know this design, you're right.
I'm working on a huge modification of PureVision Skin atm. And I need some help as I'm not an experienced skinner.
First Question... I can use posx and posy tags to define the top left corner of an element relative to top left corner of the window. But sometimes it is much more useful to define other edges of the element. In this case I have submenus that all need to have the lower edges to be at the same height but have different heights. As for now I use different posy tags to compensate this. It would be much easier if I can define the position of bottom left (or right, no matter) corner so all elements could have the same tag here... Add or remove a button leads to also change those posy tags now, but it would be really nice if this is not necessary... Is this possible?
Second question... Can I have something like "conditional navigation"? We have onup, ondown,... tags to navigate inside a menu. Sometimes this could be very useful if we can navigate a specific direction only if... e.G. a specific control is visible. Something like that:
Code:
<onleft condition="control.isvisible(1234)">1234</onleft>
<onleft condition="!control.isvisible(1234)">5678</onleft>
To see what I'm talking about here's a screenshot from the BasicHome:
You can see, all submenus need to have the same lower position but as the number of buttons vary on each submenu they all have different posy tags needed...
So many thanks in advance...
p.s. if you think you know this design, you're right.