1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    Generic1 is on a distinguished road

      0  

    Default include an other html- file

    include an other html- file


    Hello,

    I now have the following methode (a little bit changed from this example: http://extjs.com/deploy/dev/examples/tabs/tabs-adv.html )

    so in this line: html: htmlcode I can put my html- code, now I will include a whole html- site. how can I do this. Do I have to put the whole html- code here or is there a better possibility with Ext 3.0

    Code:
    function addTab(title, htmlcode) {                                          // tab generation code
            tabs.add({
                title: title,
                iconCls: 'tabs',
                html: htmlcode,
                closable:true
            }).show();
        }

  2. #2
    Ext User
    Join Date
    Jul 2009
    Posts
    16
    Vote Rating
    0
    Generic1 is on a distinguished road

      0  

    Default


    Is there no posibility to link to any other html- site in the line "html:"?
    Thanks a lot,
    All the best,
    Generic,

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    If you want to include an entire page e.g. with html/body tags you must do it an iframe. You might want to look at the ManagedIFrame extension.

Thread Participants: 1