drublic / css-modal

A modal built with pure CSS, enhanced with JavaScript
https://drublic.github.io/css-modal
MIT License
1.82k stars 211 forks source link

data-iframe-src #195

Closed oppianmatt closed 9 years ago

oppianmatt commented 9 years ago

Why does the modals.js code inject iframes using src from the attribute data-iframe-src?

drublic commented 9 years ago

It's needed for modals with iframes. Please specify the reason behind your question. We might namespace the data-attributes with the next version