Skip to content

dmcalpin/qBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qBox

A light-weight javascript popup that is easy to use.

Once the script is included, you can call the popup like this:

var qBox = new QBox({ html : "my html" });
qBox.show();

To programmatically hide, you can call:

qBox.hide()

but it will also hide by default via clicking the mask, or the close button.

Configuration Defaults

{ 
	html : "",
	modal : false,
	showClose : true,
	onOpen : function(){},
	onClose : function(){},
	className : "",
	closeHTML : "×",
	autoCenter : true,
	blurBackground : false,
	shrinkToFit : false
}

About

light-weight javascript popup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published