Get a free trial // Grow your CSS skills // Land your dream job

Cross Domain iFrame Resizing Issue

  • # April 14, 2010 at 5:39 pm

    Hello everyone,

    I’m trying to implement Chris’ Cross Domain iframe Resizing trick

    I almost have it working, but was hoping to get a bit of help troubleshooting.

    The test page is:

    The error I get in FireBug is: "frameId is undefined"

    Not really sure how to get past this one.

    Any ideas?

    Many thanks,

    # April 15, 2010 at 12:23 pm

    I’ve made a bunch of progress on this over night.

    What I’ve found:
    the iframe url is: … nFrame=yes

    The ?org=… seems to be confusing this url hash parsing method, which puts a kybosh on the iframe resizing.

    the contents of the iframe are multi-paged

    when a link is clicked that would normally take the user to a new page within the iframe, the new page loads and then immediately redirects to the original page.
    Is this a shortcoming of this technique? or is there a workaround?

    Many thanks to anyone who has any ideas.


    # April 15, 2010 at 12:34 pm

    One last comment on the internal iframe page navigation:

    When a link is clicked, another string is added to the url.

    So, instead of: … nFrame=yes, it is pointing to: … es&rid=401


Viewing 3 posts - 1 through 3 (of 3 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