Skip to content

Advice wanted: iframe fallback to img #6

Open
@vibrog

Description

@vibrog

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?

Activity

robflaherty

robflaherty commented on Sep 4, 2011

@robflaherty
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

vibrog commented on Sep 10, 2011

@vibrog
ContributorAuthor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @vibrog@robflaherty

        Issue actions

          Advice wanted: iframe fallback to img · Issue #6 · robflaherty/html-slideshow