Flash an alert message bootstrap style. It will display the alert in first of the following containers, by order of preference: 'flash-container', 'container', 'container-fluid', 'body[0]'. Use the flash-container though, since it will will be styled to come to the top.
1 |
session |
session |
text |
text |
type |
type: boostrap types ['info', 'warning', 'danger', 'success'] |
duration |
Duration of message (in seconds). If 0, the message stays open until closed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.