Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 953 Bytes

README.md

File metadata and controls

58 lines (35 loc) · 953 Bytes

#jQuery MiniPopup Plugin

##Overview The jQuery MiniPopup Plugin helps you to easily create the customized popup window.

##API

###Methods

###open(callback) Open the popup. The callback function is invoked while the popup is opened.

###close(callback) Close the popup. The callback function is invoked while the popup is close.

###Options

###maskClass Default value: mini-popup-mask

The mask layer class name.

###container Default value: body

The popup layer container selector.

###modal Default value: true

Indicates the popup with modal or not.

###speed Default value: 300

The popup open or close speed.

###relocation Default value: true

Indicates the popup whether will relocation.

###closeButton Default value: .close, cancel

The close button element jQuery selector.

###opacity Default value: 0.5

The modal layer opacity.

###beforeOpen The before open popup handler.

###beforeClose The before close popup handler.