need condition for panel container or an idea - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: need condition for panel container or an idea (/showthread.php?tid=64298) |
need condition for panel container or an idea - eumel - 2009-12-16 Hi I need a condition for panel, I need to know when a new icon in the panel is visible. (by a horizontal panel container, when a hidden icon slides from left or right side in the visible section of the panel). I need this for the appleTV3.0 Coverflow-Effect on the Homepage. I tried it with: (for the right side) PHP Code: <visible>Container(311).OnNext + Container(311).Position(5)</visible> (for the left side) PHP Code: <visible>Container(311).OnPrevious + Container(311).Position(0)</visible> But this condition is unfortunately triggered an icon too early. on the left side: triggers the animation from even if I change the focus from position 1 to position 0 But it should only be triggered if I'm already at position 0, and then go to the left if one of you has an idea how to solve the problem, then bring it on in order thanks eumel - WingmanNZ - 2009-12-17 eumel Wrote:Hi for anyone that can shed any light on a solution for this, i can email you a current version of the skin to see the problem eumel & I are having. you help will be noted in the skin credits - eumel - 2009-12-19 Hi Is it possible to create a condition that indicates when a new item on the Panel container is visible? (of a horizontal Panel slides in from the right or left side) I need that for the Coverflow Fake in the AppleTV3.0 Skin. thanks eumel ps.: i know the skin engine is on hold, but maybe later - Rocky5 - 2009-12-19 IsEmpty(Container(**).Possition(*)) not work? - eumel - 2009-12-20 Rocky5 Wrote:IsEmpty(Container(**).Possition(*)) not work?IsEmpty(Container(**).Possition(0)) should never be empty, the focus switched instantly - eumel - 2009-12-20 you can see the problem here: http://www.youtube.com/watch?v=LmQcG5NBr6E as you can see in the picture I want to trigger the animation, because when it is green But it is triggered in the green and red region. The animation triggers if i switch the Position(focus) from 3 to 4, and 4 to 5(hidden item). An item too early the condition "Container(*).Position(4) + Container(*).OnNext" is satisfied before and after 4 |