Quick search results

No results found
Search
Last active 2 days ago
News about
23 Blogs
Tom King (Works at )
Avaible for freelance work
F
on Facebook
View website
T
on Twitter
View website
G
Google+
View website

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sunt in culpa quiquis.

Yesterday, 4:56 PM

Sunt in culpa qui officia deserunt mollit anim id est laborum. officia deserunt mollit anim id est laborum officia deserunt mollit anim

27 January 2016
Sweet Alert
Basic MessageTry me!
swal("Here's a message!")
Warning MessageTry me!
swal({       title: "Are you sure?",       text: "You will not be able to recover this imaginary file!",       type: "warning",       showCancelButton: true,       confirmButtonColor: "#DD6B55",       confirmButtonText: "Yes, delete it!",     closeOnConfirm: false }, function(){      swal("Deleted!", "Your imaginary file has been deleted.", "success"); });
HTML messageTry me!
swal({       title: "HTML <small>Title</small>>!",       text: "A custom <span style='color:#F8BB86'>html<span> message.",       html: true });
With TextTry me!
swal("Here's a message!", "It's pretty, isn't it?")
CancelTry me!
swal({       title: "Are you sure?",    text: "You will not be able to recover this imaginary file!",    type: "warning",    showCancelButton: true,    confirmButtonColor: "#DD6B55",    confirmButtonText: "Yes, delete it!",    cancelButtonText: "No, cancel plx!",    closeOnConfirm: false,    closeOnCancel: false }, function(isConfirm){    if (isConfirm) {        swal("Deleted!", "Your imaginary file has been deleted.", "success");    } else {        swal("Cancelled", "Your imaginary file is safe :)", "error");    }});
Auto Close TimerTry me!
swal({       title: "Auto close alert!",       text: "I will close in 2 seconds.",       timer: 2000,       showConfirmButton: false });
Success MessageTry me!
swal("Good job!", "You clicked the button!", "success")
Custom IconTry me!
swal({    title: "Sweet!",       text: "Here's a custom image.",       imageUrl: "assets/images/thumbs-up.jpg" });
With InputTry me!
swal({       title: "An input!",      text: "Write something interesting:",      type: "input",   showCancelButton: true,       closeOnConfirm: false,       animation: "slide-from-top",      inputPlaceholder: "Write something" }, function(inputValue){       if (inputValue === false) return false;                  if (inputValue === "") {             swal.showInputError("You need to write something!");             return false       }                  swal("Nice!", "You wrote: " + inputValue, "success"); });