Simple function which displays an headband at the top of the html page, prettyer than use alert().
!! jQuery's import is required in the page's HEAD !!
You should put this function in your HEAD, your script file, or at the top of your BODY
The call has this typical look :
fancyAlert({bgColor:"background color", txtColor:"text color", height:"height", fontSize:"font size", length: duration in seconds, msg:"your message"})
For example :
fancyAlert({bgColor:"#FE3123", txtColor:"#222", height:"85px", fontSize:"20px", length: 3, msg:"Hi everybody !"})
©BDeliers, february 2017
Distributed under GPL3 License