How To Show Processing .... Window

Hi, I have and action that is a background process ,Create a bulk invoices, And I called from a Menu.

After that I redirect the page to a List Action.

But, it takes some time to process, by now is about 30 seconds to 1 minute.

What is the approach to show a "Procesing…" window, with a animated gif, or anything else.

Do I have to implement CJuiDialog ?

How do I have to call it from the menu ?

this is my menu item:




		array('label'=>Yii::t('app', 'Liquidar') , 

			'url'=>array('liquidar','anio'=>$model->anio_calendario, 'mes'=>$model->mes_calendario), 

			'confirm'=>'Confirma que desea Liquidar las Cuotas?'),



Best Regards

I have worked with spin.js, is easy to work, light and better supports aged browsers (IE 8).

http://fgnass.github.io/spin.js/

Regards and if you need help on how implemntarlos support is good and anything we help.