How To Add Scrolling Recent Posts Widget to blogger

I found this tip in www.dreamydonkey.com .

1.Login to your dashboard--> layout- ->Page Elements

2.Click on 'Add a Gadget'.

3.Select 'HTML/Javascript' and add the code given below and click save.

<script style="text/javascript" src="http://dreamydonkey.googlepages.com/scrolling_blogger_posts.js"> </script><script style="text/javascript"> var nMaxPosts = 15; var sBgColor; var nWidth; var nScrollDelay = 175; var sDirection="left"; var sOpenLinkLocation="N"; var sBulletChar="�"; </script> <script style="text/javascript" src="http://YOURBLOG.blogspot.com/feeds/posts/default?alt=json-in-script&callback=RecentPostsScrollerv2"> </script>


Note : Remember to replace YOURBLOG with your real blog name.Also you can change below values.

No. of posts to be displayed nMaxPosts = your value
Scroll delay nScrollDelay = your value
Direction of scroll sDirection="left" or "right"
Character after each post passing sBulletChar="Any character"
Open link in new window sOpenLinkLocation="N" or "Y"

Now you are done.

0 comments:

Post a Comment

 

Support By Blogger