Kodi Community Forum

Full Version: Images queue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to make a queue of images on a window.
example
- http://i.imgur.com/SYtvH7t.png
When I'm trying to go right it exits the page and returns to the root page of the info - http://i.imgur.com/diKePTQ.png
How can I solve this
here it is the code

PHP Code:
<control type="group" id="3">
                    <
visible>Control.IsVisible(50) | [String.IsEqual(Window.Property(content),3) + !Container(9501).IsUpdating]</visible>
                    <include>
Animation.DelayFadeIn</include>
                    <
control type="grouplist" >
                    <
top>PosterPad</top>
                    <
left>540</left>
                    <
right>SidePad</right>
                    
                    <
itemgap>16</itemgap>
                    <
onup condition="Control.IsVisible(50)">51</onup>
                    <
onup condition="Control.IsVisible(9501)">9501</onup>
                    <
onup condition="!Control.IsVisible(50) + !Control.IsVisible(9501)">9601</onup>
                    <
ondown condition="!Control.IsVisible(50) + !Control.IsVisible(9501)">9601</ondown>
                    <
orientation>horizontal</orientation>
                    
                    <
control type="group" id="71">
                    <
height>PosterH</height>
                    <
width>PosterH</width>
                            <
control type="image">
                                <
left>0</left>
                                <
top>0</top>
                                <
right>0</right>
                                <
bottom>100</bottom>
                                <
texture border="10">common/nofocus-shadow10.png</texture>
                            </
control>
                            <
control type="image">
                                <
left>10</left>
                                <
top>10</top>
                                <
right>10</right>
                                <
bottom>110</bottom>
                                <
aspectratio scalediffuse="false">scale</aspectratio>
                                <
texture diffuse="diffuse/wall.png" background="true">$INFO[ListItem.Art(map)]</texture>
                            </
control>
                            <
control type="button" id="9584">
                               
                        <
description>Map1</description>
                        <
label>Map1</label>
                        <include>
DefInfoButtons2</include>
                                          
                            </
control>
                           
                        </
control>
                        
                        
                    <
control type="group" id="72">
                    <
height>PosterH</height>
                    <
width>PosterH</width>
                            <
control type="image">
                                <
left>0</left>
                                <
top>0</top>
                                <
right>0</right>
                                <
bottom>100</bottom>
                                <
texture border="10">common/nofocus-shadow10.png</texture>
                            </
control>
                            <
control type="image">
                                <
left>10</left>
                                <
top>10</top>
                                <
right>10</right>
                                <
bottom>110</bottom>
                                <
aspectratio scalediffuse="false">scale</aspectratio>
                                <
texture diffuse="diffuse/wall.png" background="true">$INFO[ListItem.Art(map)]</texture>
                            </
control>
                            <
control type="button" id="5451">
                               
                        <
description>Map2</description>
                        <
label>Map2</label>
                        <include>
DefInfoButtons2</include>
                                          
                            </
control>
                           
                        </
control>
                        
                        <
control type="button" id="73">
                    <
height>PosterH</height>
                    <
width>PosterH</width>
                            <
control type="image">
                                <
left>0</left>
                                <
top>0</top>
                                <
right>0</right>
                                <
bottom>100</bottom>
                                <
texture border="10">common/nofocus-shadow10.png</texture>
                            </
control>
                            <
control type="image">
                                <
left>10</left>
                                <
top>10</top>
                                <
right>10</right>
                                <
bottom>110</bottom>
                                <
aspectratio scalediffuse="false">scale</aspectratio>
                                <
texture diffuse="diffuse/wall.png" background="true">$INFO[ListItem.Art(boxfront)]</texture>
                            </
control>
                            <
control type="group">
                                <
visible>Control.HasFocus(51) | Control.HasFocus(50)</visible>
                                <
control type="image">
                                    <
left>10</left>
                                    <
right>10</right>
                                    <
bottom>0</bottom>
                                    <
height>86</height>
                                    <
texture colordiffuse="$VAR[ColorHighlight]border="5">common/box.png</texture>
                                </
control>
                                <
control type="textbox">
                                    <
left>20</left>
                                    <
right>20</right>
                                    <
centerbottom>43</centerbottom>
                                    <
height>64</height>
                                    <
font>Mini</font>
                                    <
scroll>true</scroll>
                                    <
textcolor>PanelWhite100</textcolor>
                                    <
label>Game</label>
                                    <
aligny>top</aligny>
                                    <
align>center</align>
                                </
control>
                            </
control>
                            <
control type="group">
                                <
visible>!Control.HasFocus(51) + !Control.HasFocus(50)</visible>
                                <
control type="image">
                                    <
left>10</left>
                                    <
right>10</right>
                                    <
bottom>0</bottom>
                                    <
height>86</height>
                                    <
texture colordiffuse="Dark4" border="5">common/box.png</texture>
                                </
control>
                                <
control type="textbox">
                                    <
left>20</left>
                                    <
right>20</right>
                                    <
centerbottom>43</centerbottom>
                                    <
height>64</height>
                                    <
font>Mini</font>
                                    <
scroll>true</scroll>
                                    <
textcolor>Dark2</textcolor>
                                    <
label>Game</label>
                                    <
aligny>top</aligny>
                                    <
align>center</align>
                                </
control>
                            </
control>
                        </
control>
    </
control

PHP Code:
<include name="DefInfoButtons2">
        <
font>Button</font>
        <
textcolor>Dark2</textcolor>
        <
left>10</left>
        <
right>10</right>
        <
bottom>0</bottom>
        <
height>86</height>
        <
onfocus>ClearProperty(content)</onfocus>
        <
texturenofocus colordiffuse="Dark4" border="5">common/box.png</texturenofocus>
        <
texturefocus colordiffuse="$VAR[ColorHighlight]border="5">common/box.png</texturefocus>
        <
alttexturenofocus colordiffuse="Dark4" border="5">common/box.png</alttexturenofocus>
        <
alttexturefocus colordiffuse="$VAR[ColorHighlight]border="5">common/box.png</alttexturefocus>
    </include> 
Hope you can help me
Best regards