Display DOM elements with fixed position (a popup) relative to an "owning" element. This is a neat workaround for stacking context limitations in CSS (z-index, overflow:hidden, et cetera)
This is a CommonJS module, you will need to use browserify.
Popup instance is a simple
<div> element with fixed positioning (
position:fixed). This popup will be positioned relative to a specified
var domv = ;var Popup = ;var doc = domv;var myButton = doc;var myPopup;var myPopupVisible = false;// Toggle button to open/close the popupmyButton;