Call parent page when iframe is finished loading.

  1. #1

    Call parent page when iframe is finished loading.

    I want to call a function on the parent page when an iframe is finished loading.

    I'm using a tabpanel to load pages with gridpanels. I want to resize the tabpanel when a gridpanel is finished loading.

    Question is how to call the parent when the iframe is finished rendering, so I can pass the size to the parent page, then I can resize it properly.
  2. #2
    Quote Originally Posted by chearner View Post
    I want to call a function on the parent page when an iframe is finished loading.

    I'm using a tabpanel to load pages with gridpanels. I want to resize the tabpanel when a gridpanel is finished loading.

    Question is how to call the parent when the iframe is finished rendering, so I can pass the size to the parent page, then I can resize it properly.
    When you load the new panel in your TabPanel you can set the callback function, which will be executed after loading.

    http://docs.sencha.com/ext-js/3-4/#!...el-method-load

Similar Threads

  1. Add Tab to Parent from within IFrame
    By peter.campbell in forum 1.x Help
    Replies: 1
    Last Post: Feb 04, 2011, 12:01 PM
  2. [CLOSED] Child page to parent page call
    By majestic in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 05, 2010, 5:41 PM
  3. [CLOSED] loading applet based page in iframe
    By yobnet in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 07, 2010, 2:41 AM
  4. Replies: 1
    Last Post: Jun 03, 2010, 3:40 PM
  5. [1.0] IFrame communication with parent page
    By olakara in forum 1.x Help
    Replies: 1
    Last Post: Apr 20, 2010, 9:00 AM

Tags for this Thread

Posting Permissions