Try this fiddle: http://jsfiddle.net/mareebsiddiqui/gkTWC/1259/
JS:
$(document).ready(function () {
var i = 0;
$(".marqueeElement").each(function () {
var $this = $(this);
$this.css("top", i);
i += 60;
doScroll($this);
});
$(".marqueeElement").hover(function () {
$('.marqueeElement').stop(true);
}, function () {
$('.marqueeElement').animate({
top: (parseInt(top) + 60)
}, 600, 'linear', function () {
doScroll($(this))
});
});
});
function doScroll($ele) {
var top = parseInt($ele.css("top"));
if (top < -50) {
top = 180;
$ele.css("top", top);
}
$ele.animate({
top: (parseInt(top) - 60)
}, 600, 'linear', function () {
doScroll($(this))
});
}