1 Reply Latest reply on Jul 14, 2009 11:25 PM by Sai_H

    iFrame in a PopUp

    Michael Kraft
      Hi,

      I have a component, that I use as a PopUp. Inside this component I have an iFrame.

      If I call the PopUp it opens and the url I want to load open up in a new Browserwindow and not inside the IFrame. Could this be bacause of a wrong reference to the window, when I call the URL? This the actual code inside the iFrame component:

      navigateToURL( new URLRequest( source ) , 'myPopUp.theIframeIDinsideMyPopup' );

      regards - Michael
        • 1. Re: iFrame in a PopUp
          Sai_H

          This post is old but still thought a reply could do other wanderers/newbies some good.

          The newer version of Iframe should have fixed it. Anyways the navigateToUrl method is used to open a new window.

          Set the source attribute of your Iframe to the url that it should contain.