Hallo
hab gestern schon den ganzen Abend (ca. 18:00 - 12:00!!) Versucht es ans laufen zu kriegen das mir im Submenü ein Pfeil angezeigt wird wenn ein Item ausserhalb des sichtbahren bereichs liegt. Leider ohne Erfolg!
in der Home.xml siehts so aus:
PHP
<control type="group" id="9001">
<posx>0</posx>
<posy>105</posy>
<onup>9000</onup>
<ondown>9002</ondown>
<control type="image">
<description>Background image</description>
<include>HomeSubMenuCommonValues</include>
<texture border="8">HomeSubNF.png</texture>
<visible>Skin.HasSetting(UseStaticSubmenu)</visible>
</control>
<control type="group" id="9101">
<include>AnimationSubMenuCommonValues</include>
<visible>Container(9000).HasFocus(2)</visible>
<control type="image">
<description>Background image</description>
<include>HomeSubMenuCommonValues</include>
<texture border="8">HomeSubNF.png</texture>
</control>
<control type="grouplist" id="9010">
<include>HomeSubMenuCommonValues</include>
<onleft>9010</onleft>
<onright>9010</onright>
<include>HomeSubMenuVideos</include> <!-- Buttons for the grouplist -->
</control>
</control>
<control type="group" id="9102">
<include>AnimationSubMenuCommonValues</include>
<visible>Container(9000).HasFocus(10)</visible>
<control type="image">
<description>Background image</description>
<include>HomeSubMenuCommonValues</include>
<texture border="8">HomeSubNF.png</texture>
</control>
<control type="grouplist" id="9016">
<include>HomeSubMenuCommonValues</include>
<onleft>9016</onleft>
<onright>9016</onright>
<include>HomeSubMenuMovies</include> <!-- Buttons for the grouplist -->
</control>
<!--control type="button">
<description>left Arrow</description>
<posx>10</posx>
<posy>50</posy>
<width>45</width>
<height>60</height>
<texturefocus>arrow-big-left.png</texturefocus>
<texturenofocus>arrow-big-left.png</texturenofocus>
<onclick>Control.Move(9016,-1)</onclick>
<visible>ControlGroup(9001).HasFocus</visible>
<include>VisibleFadeEffect</include>
</control>
<control type="button">
<description>right Arrow</description>
<posx>1870</posx>
<posy>50</posy>
<width>45</width>
<height>60</height>
<texturefocus>arrow-big-right.png</texturefocus>
<texturenofocus>arrow-big-right.png</texturenofocus>
<onclick>Control.Move(9016,1)</onclick>
<visible>Control.HasFocus(9016) + Container(9016).HasNext</visible>
<!--visible>Control.HasFocus(9016) + Container(9016).HasNext + !Skin.HasSetting(NoArrow)</visible>
<include>VisibleFadeEffect</include>
</control-->
</control>
<control type="group" id="9103">
<include>AnimationSubMenuCommonValues</include>
<visible>Container(9000).HasFocus(8)</visible>
<control type="image">
<description>Background image</description>
<include>HomeSubMenuCommonValues</include>
<texture border="8">HomeSubNF.png</texture>
</control>
<control type="grouplist" id="9018"> <!--Neu-->
<include>HomeSubMenuCommonValues</include>
<onleft>9018</onleft>
<onright>9018</onright>
<include>HomeSubMenuMusicvideos</include> <!-- Buttons for the grouplist -->
</control>
</control>
Alles anzeigen
und hier die Includes dazu:
PHP
<include name="ButtonHomeSubCommonValues">
<height>50</height>
<width>210</width>
<textwidth>205</textwidth>
<align>center</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="8">HomeSubFO.png</texturefocus>
<texturenofocus border="8">HomeSubNF.png</texturenofocus>
<pulseonselect>false</pulseonselect>
</include>
<include name="HomeSubMenuCommonValues">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>50</height>
<align>center</align>
<onup>9000</onup>
<ondown>9002</ondown>
<itemgap>0</itemgap>
<orientation>Horizontal</orientation>
</include>
Alles anzeigen
Das Auskommentierte im Ausschnitt aus der Home.xml ist ein versuch Die "Pfeile" zu integrieren. Ich habe es sowohl dort als auch unter der Group 9001 versucht.
Die "Pfeile" Stammen aus dem "RecentlyAdded" Widget wo Sie so auch gut funktionieren.
Wiso also nicht auch im Submenü? (Dachte ich mir) Ha denkste ne?
Kann ich diese Funktion (.Has next dort ev. garnicht verwenden?
Confused!!
mfG.