It's better when it's simple

User Tools

Site Tools


Modal Pop-up Plugin

Compatible with DokuWiki

No compatibility info given!

plugin this is a plugin that provides a modal pop-up window

Last updated on

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with menu, navigation, popup


If you have used this plugin and you think it saved your development time, please show some mercy to my time by donating a dollar or two.


Download and Installation

extract and drop the folder into plugins folder.

What does it do?

it is a action plugin that secretly draws a modal div into every display page.

How do I use it?

it can be used by other plugins or scripts to reveal the modal popup window. simply by calling the JavaScript function


you can then use JavaScript to write the innerHTML of a div called “modalBody”


to see an example, please look at another plugin I developed, which uses the modal plugin to do easy ACL setting aclmadeeasy FIXME

What it looks like?


modal.reveal()shows modal popup
modal.setWidth(int width)sets the popup box width
modal.setHeight(int height)sets the popup box height
modal.hide()close modal popup
modal.setTitle(string title)sets the popup box title
modal.setContent(string HTML)sets the popup box content, usually html string
modal.loadContentFromDiv(string divID,bool move)get the content from a div, move content if 2nd param is true, or copy if false)
plugin/modalpopup.txt · Last modified: 2017-10-20 17:18 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki