2010-12-30, 01:33
First sorry for my bad English,but i hope i can explain what my problem is.
I have placed a banner in the skin like you see in this screenshot.
The banner is seen when a banner.jpg is avaiable in the TV Folder
So now the Problem,if no banner.jpg is avaiable i want it to look like this.
The Problem is i cant get rid of the Border.
The Code looks like this
Problem is,how i can get rid of the Border if no banner,jpg is available?
Any help would be nice,
Thanks in Advance ...
I have placed a banner in the skin like you see in this screenshot.
The banner is seen when a banner.jpg is avaiable in the TV Folder
So now the Problem,if no banner.jpg is avaiable i want it to look like this.
The Problem is i cant get rid of the Border.
The Code looks like this
Code:
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>514</width>
<height>95</height>
<aspectratio>stretch</aspectratio>
<fadetime>200</fadetime>
<bordersize>5</bordersize>
<texture background="true"diffuse="maskbanner.png">$INFO[ListItem.Path]banner.jpg</texture>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>514</width>
<height>95</height>
<aspectratio>stretch</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<bordersize>5</bordersize>
<texture>border-banner.png</texture>
</control>
Problem is,how i can get rid of the Border if no banner,jpg is available?
Any help would be nice,
Thanks in Advance ...