Recommend this page to a friend! |
Classes of Ruben Villegas | Flash Alerts | README.md | Download |
|
DownloadFlash alertsThis is a really simple and easy script for creating alert box using Bootstrap with a custom message and sytle. If you want to display an alert box after a completed form or some action you can use this. How to useUse this is really simple. Just follow the next steps. 1- Always start a session and include it:Its really important start and destroy the sessions.
2- Creating the alertBefore displaying you must create it. This work as a function call.
This function creata a session called "flash" that store the div with the parameters. If the session is created and everything its okay, it will redirect to "/page.php". 3- Displaying the alertOnce is included and the sessions are started you must load it.
|