Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advice wanted: iframe fallback to img #6

Open
vibrog opened this issue May 12, 2011 · 2 comments
Open

Advice wanted: iframe fallback to img #6

vibrog opened this issue May 12, 2011 · 2 comments
Labels

Comments

@vibrog
Copy link
Contributor

vibrog commented May 12, 2011

Consider wanting to use iframes in a presentation relying on having an Internet connection, but wanting to be able to use "cached" screenshots if in an offline setting.

<iframe src="http://example.com">
  <img src="screenshot-example.com.png"/>
</iframe>

How can that be solved in a neat way?

@robflaherty
Copy link
Owner

Did you ever find a solution for this? What about adding a "offline" setting that uses JavaScript to remove the iframes wrapping your fallback content?

@vibrog
Copy link
Contributor Author

vibrog commented Sep 10, 2011

No. My initial thought was to rely on the <object>-element's alternative/hierarchical nature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants