A library to easily generate toast messages.
To get started first import the script and css:
<script type="text/javascript" src="toast.js"></script>
<link rel="stylesheet" type="text/css" href="toast.css">
You can now call the toast() function like this:
Toast("message to display");
Note: the function also accepts an optional time and callback parameter like the following example:
Toast("message to display", 3000, myFunction);