Smoke.js – Javascript Library for Making Alert Boxes

Smoke.js – Javascript Library for Making Alert Boxes

Welcome folks today in this post I will be sharing a new library of Javascript. With the help of this library you can make awesome alert boxes. The name of the library is Smoke.js.

READ  Generate Custom Social Share Buttons With jQuery C Share Plugin

 

Download Zip 

 

.alert()

 

 

 

smoke.alert("Can I ask you a question?", function(e){
	
}, {
	ok: "Yep",
	cancel: "Nope",
	classname: "custom-class"
});

 

 

.confirm()

 

 

 

 

smoke.confirm("Are you sure?", function(e){
	if (e){

	}else{

	}
}, {
	ok: "Yep",
	cancel: "Nope",
	classname: "custom-class",
	reverseButtons: true
});

 

READ  AJAX JQUERY AND PHP REGISTRATION FORM

 

.prompt()

 

 

 

 

smoke.prompt("What's for dinner?", function(e){
	if (e){

	}else{
	
	}
}, {
	ok: "Yes",
	cancel: "No",
	classname: "custom-class",
	reverseButtons: true,
	value: "existential dread"
});

 

 

.quiz()

 

 

 

 

 

smoke.quiz("Which is your favorite?", function(e){
	if (e == "A"){

	}
}, {
	button_1: "A",
	button_2: "B",
	button_3: "C",
	button_4: "D",
	button_cancel: "Nothing"
});

 

READ  jQuery NiceForm - Form Validation & AJAX Submit Plugin

 

.signal()

 

 

 

 

 

smoke.signal("Congratulations! You have just one a free iPod Touch!", function(e){

}, {
	duration: 3000,
	classname: "custom-class"
});

Leave a Reply

Close Menu

Indian Desi Tools - Ultimate Tools Website

Demo Description


This will close in 20 seconds