Hallo Gemeinde.
Ich habe versucht mir den Plot der RecentlyAddedVideos im ConfluenceMOD anzeigen zu lassen, und zwar sobald man den Focus darauf hat.
Es hat zwar geklappt, siehe Screenshot, aber leider nicht mit ListItem.Plot, weshalb mein Code nun extrem lang geworden ist. Hat jemand einen Tipp für mich wie ich den noch kürzen kann?
Code
<control type="group">
<include>VisibleFadeEffect</include>
<visible>Control.HasFocus(8000)</visible>
<control type="image">
<posx>410</posx>
<posy>280</posy>
<height>250</height>
<width>850</width>
<texture>black-back.png</texture>
</control>
<control type="textbox">
<description>Description Value for Movies</description>
<posx>420</posx>
<posy>285</posy>
<width>830</width>
<height>230</height>
<textcolor>white</textcolor>
<label>$INFO[Window.Property(LatestMovie.1.Plot)]</label>
<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
<visible>Container(8000).HasFocus(1)</visible>
</control>
<control type="textbox">
<description>Description Value for Movies</description>
<posx>420</posx>
<posy>285</posy>
<width>830</width>
<height>230</height>
<textcolor>white</textcolor>
<label>$INFO[Window.Property(LatestMovie.2.Plot)]</label>
<autoscroll time="3000" delay="4000" repeat="5000">true</autoscroll>
<visible>Container(8000).HasFocus(2)</visible>
</control>
<control type="textbox">
<description>Description Value for Movies</description>
<posx>420</posx>
<posy>285</posy>
<width>830</width>
<height>230</height>
<align>justify</align>
<textcolor>white</textcolor>
<label>$INFO[Window.Property(LatestMovie.3.Plot)]</label>
<autoscroll time="3000" delay="4000" repeat="5000">!Control.HasFocus(61) + Skin.HasSetting(AutoScroll)</autoscroll>
<visible>Container(8000).HasFocus(3)</visible>
</control>
<control type="textbox">
<description>Description Value for Movies</description>
<posx>420</posx>
<posy>285</posy>
<width>830</width>
<height>230</height>
<align>justify</align>
<textcolor>white</textcolor>
<label>$INFO[Window.Property(LatestMovie.4.Plot)]</label>
<autoscroll time="3000" delay="4000" repeat="5000">!Control.HasFocus(61) + Skin.HasSetting(AutoScroll)</autoscroll>
<visible>Container(8000).HasFocus(4)</visible>
</control>
<control type="textbox">
<description>Description Value for Movies</description>
<posx>420</posx>
<posy>285</posy>
<width>830</width>
<height>230</height>
<align>justify</align>
<textcolor>white</textcolor>
<label>$INFO[Window.Property(LatestMovie.5.Plot)]</label>
<autoscroll time="3000" delay="4000" repeat="5000">!Control.HasFocus(61) + Skin.HasSetting(AutoScroll)</autoscroll>
<visible>Container(8000).HasFocus(5)</visible>
</control>
</control>
Alles anzeigen
Danke!
Gruß
bg