Hi Guys,

Is there a way to loop through an array while i insert the elements
into a div and animate it. THe scenario is like i want a slide show of
text inside a div. So the div with id "tweet" gets update with array
elements after 5 secs.

This is waht i come up with, i know it may be a total mess, but i am
the new one here ..

a={0,1,3,4,5};
$(document).ready(function(){
       jQuery.each(a,function(){
             $("#tweet").text(this.text);
            setTimeout('$("#tweet").slideUp("slow")',2000);
        });
    });

<div id=tweet></div>


Thanks in advance :)

Cheers !!
Realin!

Reply via email to