The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Reload iframe object without refresh.

  • # May 3, 2013 at 3:23 am

    Hi there!

    I have content in a external page, and need to use some JS inserted in one (any other) page. So I need to call entire first page and reload at the place where it is inserted (an iframe maybe) on second page.

    But this reload need to be produced in background. So…

    I think to load new content in hidden div and then swap content, visibility or z-index of two of this container DIVs.

    First version

    Any Idea to refresh content without flashing or notice they refresh? Please try to be a solution supported by multiple browsers.

    # May 4, 2013 at 4:53 am

    This reply has been reported for inappropriate content.

    Not realy good way. Using .insertBefore():

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed