Hi,

Is there anybody who know what I have to do hide the busy-indicator
after the results are updated?

On page load the gif is hidden, it fades in on the first ajax call.

$this->Paginator->options(array(
    'update' => '#searchResults',
    'evalScripts' => true,
    'before' => $this->Js->get('#busy-indicator')->effect('fadeIn',
array('buffer' => false)),
    'complete' => $this->Js->get('#busy-indicator')->effect('fadeOut',
array('buffer' => false)),
));

<?=$this->Html->image('/img/ajax-loader.gif', array('id' => 'busy-
indicator')); ?>

Everythinh works fine just the gif doesn't hide anymore.

Anyone knows help?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to