views:

85

answers:

1

Example website is http://www.wikihow.com/Main-Page, check the "Recent Changes" heading on the right side.

I am really amazed with the implementation of such scroll bars.
Google also uses something very similar to this.

Can someone give me some idea how to do this using jquery.

+3  A: 

They use JSONP (JSON with padding). When the page is loaded they reference the following url: http://pad1.whstatic.com/Special:RCWidget?function=rcwOnLoadData which sends JSON data wrapped in a function. All that is left is the rcwOnLoadData to loop through the data using setInterval and show it in a target div. An important note is that they do not use AJAX, all the data is pushed to the client at page load time.

Darin Dimitrov
Any idea where can i get access to a more detailed instructions for implementation ?
alokswain
You mean, someone writing the code for you or you have specific questions about implementing JSONP on the server side, client side?
Darin Dimitrov
Terribly late sorry, I want to learn implementing one from scratch. Can you guide me ?
alokswain