Hi,
Assuming that the flash message DIV has class 'message', you can write
something like following jQuery code
window.setTimeout('$(".message").fadeOut("slow")', 3000);
Hope this helps.
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On Wed, Dec 15, 2010 at 1:17 AM, lvdb <[email protected]> wrote:
> Hello,
>
> I'am new to Cakephp. I have been doing the blog tutorial. In this
> tutorial there is a setFlash message after
> adding a new record. Is it possible to hide this message after 3
> seconds?
>
> thank ou in advance for your answer.
>
> Regards,
>
> Leo
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en