Auto Scrolling (marquee) widget HTML code for Blogger recent posts

This post explains how to add auto Scrolling (marquee) Blogger recent posts in your blog which looks cool in your blogspot blog. This is similar to display recent posts in your side bar, but this will have marquee effect in this widget. You can scroll recent posts horizontally or vertically according to your need.
Steps to add auto Scrolling HTML code:

First sign in your Blogger dashboard
Go to Layout > Add Gadge > Add HTML/Javascript
Download : Click here.
Change the values in the HTML code as per your requirement (Default values are good, but change http://gecokk.blogspot to your blog address compulsary):
nMaxPosts = 10; (Number of posts you want to display)
var nScrollDelay = 175; (Speed of the scrolling text, change the number and increase or decrease the speed)
var sDirection=”left” (left for scrolling horizontally and up for scrolling verically)
Also change to your blog address in the HTML code.