var aFlickr = this.id.split(“-“);
var sPicID = aFlickr;
var sSecret = aFlickr;
var sServer = aFlickr
Once the page has loaded and the structure is ready to manipulate, start working through all the div elements that belong to the flickrcomment class. With each one, take the id attribute and split it into an array, using the hyphens as separators. Use that information to asynchronously call (carry on with the next one while waiting for the answer to come back) a script that can look up the details on Flickr and return a formatted block of code. When the answer does arrive, reveal it on the screen with a special effect that will alert the reader that something has been updated.
Want to add something? Please join the conversation about this posting (nb. Flickr or Yahoo! account required).