Use a background image on an absolutely positioned div, instead of on the body. Then you can use fadeIn and fadeOut on that div: http://docs.jquery.com/Effects/fadeIn#speedcallback
http://docs.jquery.com/Effects/fadeOut#speedcallback You also may want to look into a slideshow plugin. There are many, such as cycle: http://malsup.com/jquery/cycle/ In the future, this question could go to the main jQuery list: http://groups.google.com/group/jquery-en <http://groups.google.com/group/jquery-en>The list you've posted to is for questions about jQuery UI plugins[*]. Thanks. - Richard [*] http://rdworth.org/blog/2008/10/jquery-plugins-and-jquery-ui/ On Fri, Aug 28, 2009 at 12:49 AM, Nick <[email protected]> wrote: > > Hi, > > I'm really unfamiliar with JQuery, but I'm hoping to find a solution > to my problem! Basically I have a 1600px X 340px background image in > the <body> tag of my site, centered horizontally. I'd like that > background to cycle through several images, fading in and out. I'd > like it to fade automatically, i.e, no user interaction (pause, play, > next, previous buttons). I know it sounds simple, but I can't seem to > find any info on how to pull this off! Any help is greatly > appreciated!! > > Thanks! > > Nick > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
