jQuery UI Widgets Forums Dialogs and Notifications Window initContent with iFrame

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • initContent with iFrame #60261



    I have been working on web app that exists inside of a popup window. Currently I use window.open to launch the popup. The popup contains a jqxTab and each tab has multiple grids, panels, inputs, etc. Everything works great but now I want to see about moving the app from a regular popup to a jqxWindow. I’d like the window’s content to be loaded from an iFrame because I figured that I could just load the existing code as is. My concern is with the jqxWindow’s initContent function. How do I initialize widgets that exist in an iFrame? Also, do I have to initialize EVERY widget or just the jqxTab and then the jqxTab will initialize all of the widgets within it as it currently does?

    Thanks for the help!

    initContent with iFrame #60320


    Hello mrallaris,

    As long as the widgets are initialized in the external page’s $(document).ready(), there should be no issues loading the iframe with them in the window’s content. I think your implementation would not need any change other than the inclusion of jqxWindow.

    Best Regards,

    jQWidgets team

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

You must be logged in to reply to this topic.