Saturday, December 27, 2008

Auto Scrolling - Recent Posts Widget For Blogger/Blogspot Blogs

Recently I have posted an article on how to make an auto scrolling text/image widget. Now if you want to display your blog posts in this way either at the top or at the bottom of your blog, then you can use this new widget:


To add this widget to your blog, log in to Blogger
Go to Layout -> Add a Gadget -> HTML/JavaScript type, then add this code to it.

<script style="" src="http://files.main.bloggerstop.net/uploads/3/0/2/5/3025338/recentpostsscrollerv2.js"> </script><script style=""> var nMaxPosts = 15; var sBgColor; var nWidth; var nScrollDelay = 175; var sDirection="left"; var sOpenLinkLocation="N"; var sBulletChar="»»"; </script> <script style="" src="http://Yourblog.blogspot.com/feeds/posts/default?alt=json-in-script&amp;callback=RecentPostsScrollerv2"> </script>

You can modify the code (variables) according to your requirements, for ex.
in case of "var nScrollDelay", lower the number, higher will be the speed.

First, simply add and test the code without changing anything [ofcourse you have to add the blog address], then after watching it live on your blog, make further adjustments :)

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...