Wulf's Webden

The Webden on WordPress

8 March 2007
by wpAdmin
0 comments

Refined Comments – Part II

As promised yesterday, today I will give details of the updated javascript code that drives my comment links, all of which depends on the jQuery library. The original snippet looked like this: $(document).ready(function() {  $(“div.flickrcomment”).each(function(){    var aFlickr = this.id.split(“-“);    var sPicID = aFlickr[1];    $(this).load(“http://www.web-den.org.uk/scripts/flickrgrab.php”,      {photo_id:sPicID},function(){        $(this).show(2000);      }    );  });}); The revised version is a little … Continue reading