It is fully customizable and dependency free.

Popbox.js is a tiny javascript plugin for creating stackable modals

Open Popbox Modal

Installation



Add the popbox.css file to the head of your html. Add the popbox.js file to the head of your html or right before the closing body tag. Add this code after the popbox.js script tag to initialize the plugin.



Example html



Popbox content 1 Close Popbox content 2 Close Main content of the page Open mypopbox 1 Open mypopbox 2

Options



blur : set it to true for blur effect on the main content (Default:false)

API



Open and close popbox with api