I've taken a look at these three websites:
www.foursquare.com www.untappd.com www.getglue.com
as you can see the main page has a scrolling down most recent activity box. How do I create something like this?
Is this jquery or what?
Its done with javascript, you can use jquery to make it easier on yourself. Heres a quick example
http://jsfiddle.net/tpmQj/
$(function(){
setInterval(function(){
$("#wrapper").prepend($("<li>A new item</li>").hide().fadeIn());
}, 4000);
});
You could use a timeout, or an interval, coupled with an ajax request, that polls a database and returns new results etc. The basic concept is just appending the new items to the dom tree.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With