Record, dojo TabContainer introduces the method of IFRAME

lang.setObject(“demo.addTabiFrame”, function(tabContainer, href, title, closable){ if (typeof tabContainer === “string”){ tabContainer = registry.byId(tabContainer); var tab “registry.byId(tab} ); tab” + demo.basename(href,”.action”), tab = registry.byId(tabName); console.log(tabName); if (typeof tab === “undefined”){ tab = new Content (tab = new Content : tabName, title: title, closable: closable, executeScripts: true, style: “padding: 0;”}); tab.setContent ( ““); tabContainer.addChild(tab); tabContainer.selectChild(tab); tabContainer.selectChild(tab);

Leave a Comment

Your email address will not be published.