Container.Position()
#1
so since the list starts at -80 and when i enter the list it starts up on position 1 I am trying to get position 1 when focused to offset by 80.
but I clearly do not understand how I am suppose to incorporate this.
PHP Code:
<control type="fixedlist" id="508">
                <
visible>Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Sets)</visible>
                <
hitrect x="0" y="-15" w="1920" h="285" />
                <
left>-80</left>
                <
top>600</top>
                <
width>2000</width>
                <
height>600</height>
                <
onleft>508</onleft>
                <
onright>508</onright>
                <
onup>2</onup>
                <
ondown>60</ondown>
                <
viewtype label="31029">wrap</viewtype>
                <
pagecontrol>60</pagecontrol>
                <
scrolltime>200</scrolltime>
                <
focusposition>1</focusposition>
                <
movement>3</movement>
                <
orientation>horizontal</orientation>
                <
preloaditems>4</preloaditems>
            <
itemlayout condition="Container(508).Position(1)" height="325" width="231">
            <
control type="image">
                <
left>80</left>
                <
top>51.5</top>
                <
width>231</width>
                <
height>325</height>
                <
bordersize>10</bordersize>
                <
fadetime>200</fadetime>
                <
texture background="true">$VAR[PosterThumb]</texture>
                         </
control>
</
itemlayout>
             <
itemlayout height="325" width="231">
            <
control type="image">
                <
left>0</left>
                <
top>51.5</top>
                <
width>231</width>
                <
height>325</height>
                <
bordersize>10</bordersize>
                <
fadetime>200</fadetime>
                <
texture background="true">$VAR[PosterThumb]</texture>
            </
control



have I misunderstood and its not possible ?
Reply
#2
Put a slide animation in the list.

(2014-11-19, 22:11)ztrust Wrote: so since the list starts at -80 and when i enter the list it starts up on position 1 I am trying to get position 1 when focused to offset by 80.
but I clearly do not understand how I am suppose to incorporate this.
PHP Code:
<control type="fixedlist" id="508">
                <
visible>Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Sets)</visible>
                <
hitrect x="0" y="-15" w="1920" h="285" />
                <
left>-80</left>
                <
top>600</top>
                <
width>2000</width>
                <
height>600</height>
                <
onleft>508</onleft>
                <
onright>508</onright>
                <
onup>2</onup>
                <
ondown>60</ondown>
                <
viewtype label="31029">wrap</viewtype>
                <
pagecontrol>60</pagecontrol>
                <
scrolltime>200</scrolltime>
                <
focusposition>1</focusposition>
                <
movement>3</movement>
                <
orientation>horizontal</orientation>
                <
preloaditems>4</preloaditems>
            <
itemlayout condition="Container(508).Position(1)" height="325" width="231">
            <
control type="image">
                <
left>80</left>
                <
top>51.5</top>
                <
width>231</width>
                <
height>325</height>
                <
bordersize>10</bordersize>
                <
fadetime>200</fadetime>
                <
texture background="true">$VAR[PosterThumb]</texture>
                         </
control>
</
itemlayout>
             <
itemlayout height="325" width="231">
            <
control type="image">
                <
left>0</left>
                <
top>51.5</top>
                <
width>231</width>
                <
height>325</height>
                <
bordersize>10</bordersize>
                <
fadetime>200</fadetime>
                <
texture background="true">$VAR[PosterThumb]</texture>
            </
control



have I misunderstood and its not possible ?
Reply
#3
thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Container.Position()0