A rather basic hack, but I used a bit of javascript in C:\Program
Files\SqueezeCenter\server\HTML\Default\home.html to change the icons on
the Custom Browse menu items I have that replaced the built-in ones (and
also to hide the Music Folder item):
Code:
--------------------
<script type="text/javascript">
var artists =
document.getElementById('BROWSE_BY_ARTIST').childNodes[1].childNodes[1].childNodes[1];
artists.src = "/html/images/artists_25x25_f.png";
var genres =
document.getElementById('BROWSE_BY_GENRE').childNodes[1].childNodes[1].childNodes[1];
genres.src = "/html/images/genres_25x25_f.png";
var years =
document.getElementById('BROWSE_BY_YEAR').childNodes[1].childNodes[1].childNodes[1];
years.src = "/html/images/years_25x25_f.png";
var lps = document.getElementById('LP
Albums').childNodes[1].childNodes[1].childNodes[1];
lps.src = "/html/images/albums_25x25_f.png";
var singles = document.getElementById('Maxis, EPs and
Singles').childNodes[1].childNodes[1].childNodes[1];
singles.src = "/html/images/single_25x25_f.png";
var compilations =
document.getElementById('Compilations').childNodes[1].childNodes[1].childNodes[1];
compilations.src = "/html/images/multipleartists_25x25_f.png";
var decades =
document.getElementById('Decades').childNodes[1].childNodes[1].childNodes[1];
decades.src = "/html/images/decades_25x25_f.png";
var folder =
document.getElementById('BROWSE_MUSIC_FOLDER').parentNode.parentNode.parentNode.parentNode.parentNode;
folder.style.display = "none";
</script>
--------------------
--
IMGrant
------------------------------------------------------------------------
IMGrant's Profile: http://forums.slimdevices.com/member.php?userid=29979
View this thread: http://forums.slimdevices.com/showthread.php?t=62282
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins