Wednesday, November 18, 2009

[jQuery] Re: JQuery - how to fade and loop background style

u can use something like below:

$(function()
{
setInterval("color_rotator()", 2000);
});

color_rotator() --> Code Html such tht it has 4 divs (with diff
color), and with Jquery try looping with it.

On Nov 17, 11:39 pm, Dan <dan.loff...@gmail.com> wrote:
> That works when I click the box. How would I make it work as a
> slideshow that requires no action and loops indefinitely?
>
> On Nov 17, 12:00 pm, "Richard D. Worth" <rdwo...@gmail.com> wrote:
>
> > jQuery UI effects core adds color animation and class transitions:
>
> >http://jqueryui.com/demos/animate/
>
> >http://docs.jquery.com/UI/Effects/animate
>
> > You can download it here:
>
> >http://jqueryui.com/download
>
> > just check 'Effects Core'
>
> > - Richard
>
> > On Tue, Nov 17, 2009 at 11:43 AM, Dan <dan.loff...@gmail.com> wrote:
> > > Hi All,
>
> > > Is there a way to fade and loop a background-color of a div element? I
> > > would like it to change every 10 seconds or so, from green to orange
> > > to purple and then loop back to green and start again. With a fade
> > > effect.
>
> > > I have searched high and low for a plugin, or tutorial, to no avail.
>
> > > Thanks.
>
> > > Dan

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate