Saturday, December 17, 2011

Animated Recent posts for Blogger / Blogspot with thumbnails - Simple Spy

Animated recent post is a fantastic way to present headlines updates to your readers.The effect of smooth scrolling attract readers and generate more clicks to your site.This gadget displays your most recent posts and includes a small thumbnail, but has the added bonus of using an animated effect that moves smoothly through the posts.There are a lot of great tutorials discussing on how to add Animated Recent posts for blogger with thumbnails and Simple Spy, but most of the tutorials I've found are not really suitable for a beginner.



How to Install Animated Recent posts for blogger with thumbnails and Simple Spy





I have to write two set of instructions for each steps, as some of you are using the default layout, and some of you are using the new layout. So, let's see how to install this cool widget in your blog..

Step 1:

If you're using the old Blogger interface: Go to Dashboard - Design - Page Elements - Add a Gadget.




Add a Gadget of HTML/JavaScript type.



If you're using the new Blogger interface: Go to Dashboard - Layout - Add a Gadget



2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below

4. Now Click On Save 'JavaScript' You are done.

Note - If you have previously added jQuery to your blog you can remove the line at the top in red.

Blogger Widgets














And now click Save



Note :If your template already have a jquery do not put again, just copy after it
Html from above a few things could be replaced :




1. homepage address
home_page = “http://bdlab.blogspot.com/”;

2. Style

from above style/css, you can change :

width : 220px;
width:208px:

customize base on your template
and
background:#fff url(http://dl.getdropbox.com/u/708209/scriptabufarhan/recentspy/post.jpg) repeat-x;
or background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYUKfAabcAieWFxYWgc50VJhbwau_g0K7ACcJdeZrCImIm9ZVtpRa4T929UjFYKHhgpBg9hTyK8gBV5C642fKLxUcvcsn8-xokeOEUJfhyLN5uFPDsOnxYFydVXl2jJEWbz1nrorDzBsqj/s1600/bdlab-blogspot-com.jpg) repeat-x;

Customize the colors of backuground

3. image size
thumbwidth = 70;
thumbheight = 70;

Match your needs

4. How many post you will show
numposts = 10;

Base on what you need to show











Many thanks to abu-farhan for making this code and I just tested and modified to work on blogger




No comments:

Post a Comment