$("main_content").fade({ duration : 1.6, afterFinish : function(fx){ fx.element.update("<img src='spin2.gif'/>"); fx.element.appear({ duration : 1.0 }); }
On Nov 12, 10:32 am, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > Use a queue, or create a new hidden image over top of the old and > fade that one up. (The latter looks exactly like a cross-fade, if > that's the effect you're after.) > > Walter > > On Nov 12, 2008, at 9:19 AM, [EMAIL PROTECTED] wrote: > > > > > Hi, currently i have this statement: > > > $('main_content').fade({duration: 1.5}).update('<img src="spin2.gif"/ > >> ').appear({ duration: 1.0 }); > > > but the content will update and than fade... how do i make it fade the > > old content, update the content and show it?. > > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---