Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download simple_modal_overlay-7.x-1.0-alpha3.tar.gztar.gz 12.04 KB
MD5: ec69a804f57b75ad40085f2d197505ae
SHA-1: 1baf767747371a1a2efed66182b18c766b385add
SHA-256: 846a1599c035c6faf350ceeb070dc6be4298f77a154c35736b83bc049280d738
Download simple_modal_overlay-7.x-1.0-alpha3.zipzip 15.36 KB
MD5: 2a3fb03224167b40723b4a6f5e72d497
SHA-1: dbca51b357685c6ee03401173e129123ad84ee1a
SHA-256: 2a0faa13e257f5690be804fce556dd3933012d4a94fa1925eba9f98861ccbf1e

Release notes

Multiple fixes and improvements:

  • JavaScript code should now properly handle multiple overlay messages being rendered / present in the page. Each is now identified by a unique name.
  • Overlays now expose new options – name, open_immediately, and dispose_on_close – which control how they are identified and behave.
  • Implemented support for overlays to not appear immediately, and instead to be shown via a new Drupal.behaviors.simpleModalOverlay.showModal() method.
  • Added support for programmatically closing modals via a new Drupal.behaviors.simpleModalOverlay.dismissModal() method.
  • Dismissible overlays can now be closed by pressing the ESC key on the keyboard.

See docs for theme_simple_modal_overlay() for details on the new options.

Created by: GuyPaddock
Created on: 17 Jul 2016 at 02:24 UTC
Last updated: 17 Jul 2016 at 05:53 UTC
Bug fixes
New features

Other releases