Adding image/icon to text home item?
#1
I'm working on a skin which is based on Confluence, I've done a lot of the work however I can't seem to quite work out how to add an icon to home items, for example 'TV Shows' - I would like to add an icon located in media/icons/tv-shows.png/ next to it.

Here is the current code:

Code:
<item id="11">
            <label>20343</label>
            <onclick condition="IsEmpty(Skin.String(TVTarget))">ActivateWindow(Videos,TVShowTitles,return)</onclick>
            <onclick condition="!IsEmpty(Skin.String(TVTarget))">ActivateWindow(Videos,$INFO[Skin.String(TVTarget)],return)</onclick>
            <icon>special://skin/backgrounds/tvshows.jpg</icon>
            <thumb>$INFO[Skin.String(HomeTVBG)]</thumb>
            <visible>!Skin.HasSetting(HomeMenuNoTVShowsButton) + Library.HasContent(TVShows)</visible>
            </item>
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply


Messages In This Thread
Adding image/icon to text home item? - by Piers - 2013-03-08, 16:42
Logout Mark Read Team Forum Stats Members Help
Adding image/icon to text home item?0