Awesome!! Works for me, but is there any way to make it continous
slideshow. I mean right now it stops at five, i want to restart when
it reaches five. Like looping slideshow..

Thanks a ton !!

On Jan 24, 5:38 pm, realin <real...@gmail.com> wrote:
> Hi Guys,
>
> Is there a way toloopthroughan 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