Finally, My blog got rid of bx-error codes.. come back soon and read the tutorial...
TopBottom

Display posts as headlines - blogger widget

Posted by Nitesh Kothari at 28 October 2008 | Post views: counter
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Do you like the way news channels display moving headlines? If yes, then you should check out this blogger widget called WH Headlines. This blogger hack displays recent posts as headlines. You can see live demo above this post.

How to Add WH Headlines blogger widget to your blog


Copy the following code to a new HTML/javascript gadget in layout section.

<script style="" src="http://ads.googlecode.com/files/Headlines%20widget%20js.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>

How to Customize this widget/Gadget

var nMaxPosts = 15; - This code sets the no of posts in this widget.

var sBgColor; - If you want to set background color then change this code to var sBgColor= grey;

var nWidth; - Modify this code to change the width to var nWidth= 100px;

var nScrollDelay = 175; - This code is used to set the speed of scrolling. Lesser the no, higher the speed of scrolling.

var sDirection="left"; - This code sets the direction of scroll. left = Right to left; Right = Left to right; Up = Down to up; Down = Up to down

var sBulletChar="»»"; - This bullet appears before each post link in this widget. You can replace this to any other bullet.

http://Yourblog.blogspot.com - Replace this code by your Blog address.

Final Words
I am planning to write a series of posts on this hack. Comment here and tell me how did you like this hack?

Labels:

13 comments:

Nikolai said...

Hi there! Good Day! Just Dropping by and making my daily drop routine... I think there's something wrong with your messaging script..

best regards,
raphael nikolai

Michael Wong said...

hi, any interest in exchanging blog roll links with a PR5 blog? if yes, leave your blog url as a comment at:
http://bigmoneylist.blogspot.com/
i'll link to you first, then when you have time, link back. :)

Me.Myself said...

how to become your blogger of the week?

http://itblood.blogspot.com
http://jason-beautiful-scenery.blogspot.com

Nitesh Kothari said...

you can buy this listing here at entrecard market: http://entrecard.com/market/listing/340/

Attalib said...

Hi thnx so much for this hack
i wrote about it and i edited it (fit to RTL)so on my blog it works great but on other blogs they got this erro /objPost is undefined"
what i can do?

Nitesh Kothari said...

@Attalib:
mail me you edited version..mayb you missed something..

الـطـالـب said...

Hi Nitesh
thnx for your reply!
i mailed you, but this error comes even with your original hack with other templates(i used your hack ).
"typeError :objPost is undefined"
you can check what i say by using it on other templates .
thnx

Nitesh Kothari said...

i rechecked it..it is working fine.. you just have to replace "http://yourblog.blogspot.com" to your blog address..

الـطـالـب said...

well excus eme but i told you it works with som blogger templates but i got error msg on others!

Rethnaraj Rambabu said...

nitesh, nice widget....i've put this headline marquee in my blog. but, i have some probs. my marquee's width is not enough. just have a look at my blog...near search bar...how can i solve that problem

Rethnaraj Rambabu ( technorax) said...

nitesh, nice widget....i've put this headline marquee in my blog. but, i have some probs. my marquee's width is not enough. just have a look at my blog...near search bar...how can i solve that problem.

Post a Comment

Thank you for commenting at NiteshKothari.com. I follow "U comment I comment" movement. All the comment are dofollow. Please do not spam or leave meaningless or short comments. I expect you to leave me meaningful, relative and genuine comments. Thank you.

Blog Widget by LinkWithin