Why would you not be able to? just write the code to do it. Depending
the Js library you may have to do some trickery to get simultaneous
animation.  http://book.cakephp.org/view/1600/Ajax-Pagination shows
how to do one effect.  Just appending two effect methods together
should create simultaneous animation depending on the library.

Something like:

$before =  $this->Js->get('#busy-indicator')->effect('fadeIn',
array('buffer' => false));
$before .= $this->Js->get('#content')->effect('fadeOut',
array('buffer' => false));

$this->Paginator->options(array(
'before' => $before
));

Seems like it should work.

-Mark

On Apr 10, 12:48 pm, Jeremy Burns <jeremybu...@me.com> wrote:
> None at all I'm afraid - but would appreciate an answer.
>
> Jeremy Burns
> jeremybu...@me.com
>
> On 10 Apr 2010, at 17:47, Cylindric wrote:
>
>
>
> > I have the same question, did you get anywhere with this?
>
> > On Mar 25, 6:32 am, Jeremy Burns <jeremybu...@me.com> wrote:
> >> I'm using the Js helper in 1.3 for Ajax pagination, adding a fadeOut &
> >> fadeIn effect to my content div.
>
> >> Can I produce two simultaneous effects? For example, can I fade out my
> >> content div and show my progress/spinner div, then hide my progress/
> >> spinner div and fade in my content div?
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en
>
> > To unsubscribe, reply using "remove me" as the subject.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to