The First Feeble Steps
Posted: May 27th, 2009 | Author: Jay | Filed under: Milestone i | Tags: JavaScript, media-page.js | No Comments »1 2 3 | var randArtist = document.createElement('label'); randArtist.setAttribute('value', this._mediaListView.getItemByIndex(287).getProperty(SBProperties.artistName)); var mediaViewBox = document.getElementById("artistcloud-media-page-box"); mediaViewBox.appendChild(randArtist); |
I found this block of code that I created some time ago to perform the simple task of grabbing an artist name — any artist name — from the media library and displaying it in the Media View. It works, though I’m not quite sure how.
Also am taking a look at this article, since it seems able to get me closer to my first milestone.

Leave a Reply