Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

josmardias/iframe-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iframe-modal

Work in progress

This project shows how to make an iframe act like a modal.

The iframe is centralized vertically and horizontally. There is a transparent mask behind the modal (within the iframe). It handles ios8 "position: fixed" issue.

Tested on iOS8 (both Safari and Chrome), android 4.4.4 (Chrome) and Linux/MacOS (Chrome and Safari)

TODO:

  • lightbox blinking on iframe navigation on non SPA case
  • case: modal inside a container, instead of absolute position

About

📚 Cross browser modal using iframe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published