1.0.1 • Published 9 years ago

jquery-flat-modal v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

PIGNOSE-Popup

npm version Join the chat at https://gitter.im/KennethanCeyer/PIGNOSE

Sample

  • See demo
  • It works on IE 8+, FF, Chrome, Opera and Safari

PIGNOSE popup is lightweight and a simple modal popup.

The modal that it uses flat design.

Usage

  1. Import jquery library (Download link).
  2. Import pignose.popup.js.
  3. Insert snippet $select.pignosePopup();

If you are using Bower

  1. open a command line and type this

    bower install pg-popup
  2. move assets/js/pignose.popup.js to your project folder.

If you are using npm

  1. open a command line and type this

    npm install pg-popup

Options

OptionDefaultTypeDescription
animatetrueBooleanUse animation when popup opened.
btn_close.btn_closeStringThis option provide to bind to close of popup function on button by jQuery Select as String type.
escapetrueBooleanThis option provide to bind to close function on background of popup
themenoneStringCustom class name for modal window.

Colours

  • It support 5 type colours.
  • You can use theme option to 'black', 'blue', 'orange', 'mint' and null(default).
  • Colours

Issues

We are welcome about announcing the issue.

Please inform us, If you find some problems.

Thank you!