Skip to content

BDeliers/JS-fancyAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

JS-fancyAlert

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

http://bdeliers.com

Distributed under GPL3 License

About

Function to create fancy headband on html page's top.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published