2012-04-30, 18:32
Hello, I just tried doing some coding. After looking at some skins' syntax I've come up with this thing for my Home page. Of course it doesn't work, and the skin I started off with is now not usable. So before I continue calibrating it, I need someone to tell me what I did wrong.
The piece of code is this:
The piece of code is this:
Code:
<window id="0">
<defaultcontrol always="true">300</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<control type="image" id="301">
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<imagepath background="true">ListItem.Icon</imagepath>
</control>
<control type="wraplist" id="300">
<description>Home Wraplist</description>
<posx>0</posx>
<posy>500</posy>
<width>1920</width>
<height>580</height>
<onup>300</onup>
<ondown>300</ondown>
<onleft>300</onleft>
<onright>300</onright>
<focusposition>4</focusposition>
<scrolltime>200</scrolltime>
<itemlayout width="540" height="96">
<control type="label">
<posx>0</posx>
<height>96</heigh
<width>375</width>
<font>Medium</font>
<info>ListItem.Label</info>
<align>left</align>
</control>
</itemlayout>
<focusedlayout width="1920" height="96">
<control type="label">
<posx>0</posx>
<width>270</width>
<height>96</height>
<info>ListItem.Label</info>
<font>Medium</font>
<textcolor>Blue</textcolor>
<align>left</align>
</control>
</focusedlayout>
<content>
<item id="1">
<description>Programs</description>
<label><string>Programs</string></label>
<icon>special://skin/background/Programs.jpg</icon>
<onclick>ActivateWindow(Programs,Addons)</onclick>
</item>
</content>
</control>
</controls>
</window>