Using jQuery to create a popup window with a content overlay. The modal window is centered on the page regardless of window resize or scroll (for long content). Responsive. Minimal design for easiest reuse purposes.
New and improved I've updated the code to use OO-JavaScript. I've also fixed the issue when the window is shorter than the modal window causing infinite scroll.
A Pen by Andrew DeBroux on CodePen.