Responsive Modal / Dialog window for jQuery, Zepto and AngularJS
JavaScript CSS
Latest commit 2047568 Jan 29, 2015 @jonathan-piat jonathan-piat Update README.md
Permalink
Failed to load latest commit information.
.gitattributes First release Mar 18, 2014
.gitignore First release Mar 18, 2014
LICENSE.md Added the "isOpen" function Apr 24, 2014
README.md Update README.md Jan 29, 2015
bower.json Update manifests Aug 24, 2014
package.json Update package.json Jan 28, 2015
pgwmodal.css Version 2.0 Aug 23, 2014
pgwmodal.jquery.json Update manifests Aug 24, 2014
pgwmodal.js Version 2.0 Aug 23, 2014
pgwmodal.min.css Version 2.0 Aug 23, 2014
pgwmodal.min.js Version 2.0 Aug 23, 2014

README.md

PgwModal

The full documentation and an example are available on PgwJS.com/PgwModal.

Installation

According to your system, select the preferred installation mode:

JavaScript

Download the plugin by cliking the button Download ZIP on the right.
To get the plugin updates, fork it on Github and regularly verify your plugin version.

Node / NPM

npm install pgwmodal

Requirements

jQuery 1.0 or Zepto.js 1.0 (minimal version)

Contributing

All issues or pull requests must be submitted through GitHub.

  • To report an issue or a feature request, please use GitHub Issues.
  • To make a pull request, please create a new branch for each feature or issue.

ChangeLog

  • Version 2 (newest)

    • 2014-08-23 - The version 2.0 has been released, it brings improvements and new functionalities:
      • Refactoring HTML and CSS.
      • The title bar can be totally removed.
      • Automatic repositioning after resizing or orientation change.
      • 3 new closing functionalities: "Close on escape" (enabled by default), "Close on background click" (enabled by default), and customization of the image/link (Defaults to the current black cross).
      • This version prevents the gap on the background content at the opening of the modal.
      • WARNING Several parameters have been renamed: "close" option becomes "closable", "loading" option becomes "loadingContent", and "error" option becomes "errorContent".
  • Version 1 (deprecated)

    • 2014-08-21 - Fix for reposition function by Hummerpj (Version 1.5)
    • 2014-07-02 - Fix for Zepto (Version 1.4)
    • 2014-05-30 - Added 4 modal events. View details on PgwJS.com (Version 1.3)
    • 2014-05-29 - IE8 bug fix : Delete window object / YUI compressor fix : Angular compilation (Version 1.2.2)
    • 2014-04-24 - Added the "isOpen" function (Version 1.2)
    • 2014-03-20 - Update of default modal style (Version 1.1)