21 Replies Latest reply on Jan 28, 2015 12:37 AM by juanrived

    Embed a web page into Animate

    BruceMCE Level 1

      I've seen questions about embedding Animate into a web page, but I've got the opposite issue. I want to embed an external HTML page into my Animate project's Stage (a container called PageContainer).

       

      I tried this, but couldn't get it to work:

       

      var page= $("<iframe/>");

      sym.$("PageContainer").append(page);

      page.attr('type','text/html');

      page.attr('width','720');

      page.attr('height','363');

      page.attr('src','http://www.pageurl.com'); 

      page.attr('frameborder','1');   // 1 | 0

      page.attr('allowfullscreen','0');   // 1 | 0

       

      Any ideas would be appreciated.

      Thanks