Vanilla Modal: A Plain JavaScript Modal for the Rest of Us

0
27
views

View the Demo Do we really need another modal script? The short answer is “yes.” For better or worse, modal windows are here to stay. Many solutions have existed in the past that take the headache out of manually coding up a modal window: Lightbox, Thickbox, Colorbox (can you spot the trend?) and so on. However, many such solutions are outmoded by today’s standards. The future of JavaScript is light. The future of JavaScript is modular. Browser vendors have known this for some time, and with the impending release of ECMAScript 2015 (the Artist Formerly Known as Harmony) and the upsurge in popularity…
Vanilla Modal: A Plain JavaScript Modal for the Rest of Us