Blogspot: New Recent Comments Widget 2.0

This recent comments widget searches for all available posts of the blog – even with hundreds and thousand of posts. Apparently blogger has an upper limit of posts within a single feed at 500. Therefore the script makes repeatedly calls to feeds on blogs with more than 500 posts. This search happens only once at load time of the script. I tested it with a blog with over 1300 posts and it behaves well and quick. Next the script calls the comment feed and displays the comments together with some other information. This script will find every single comment of a blog – even with thousands and tens of thousand of comments. This is the difference with some other widgets.

Code: Click on an edit box and make the text disappear

Code: Click on an edit box and make the text to disappear and bring the default text back again. This code uses two event handlers onfocus and onblur. The first one comes into the picture when focus is set on a particular object while second one comes into the picture when focus is just removed from an object.

Pin It on Pinterest