Kodi Community Forum

Full Version: Add small panel to Confluence - help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.
I am a beginner.
I'm trying to add a small panel to Skin confuance. I would like it to appear after some time when I change a menu item. Unfortunately, my script only works when I change the menu item from "..". Does not disappear when I change to other position in the menu.

Code:
<control type="image">
                <posx>90</posx>
                <posy>90</posy>
                <width>100</width>
                <height>100</height>
                <texture border="20">ContentPanel.png</texture>
                <animation effect="fade" start="0" end="100" time="700" delay="1000">VisibleChange</animation>
                <visible>!ListItem.IsFolder</visible>
            </control>

Someone can help me?
Right now you are telling it to change visible state when the item in the list is not a folder.
So if you are testing this in a list that only has folders it will only be visible when you select root "..".
Also to better see what you are doing i would suggest using 2 animations, one for visible and one for hidden, instead of visiblechange.