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 http://css-tricks.com/cross-domain-iframe-resizing/.

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

    The test page is: http://www.nwcenter.org/taleo/jobs_jtd.htm

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

    Not really sure how to get past this one.

    Any ideas?

    Many thanks,
    Jacob

    # 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: http://tbe.taleo.net/NA12/ats/careers/s … 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.

    -Jacob

    # 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: http://tbe.taleo.net/NA12/ats/careers/s … nFrame=yes, it is pointing to:
    http://tbe.taleo.net/NA12/ats/careers/s … es&rid=401

    -Jacob

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".