ManageIframe:Examples:examples basic (Legacy)
This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.
From Sencha - Learn
Basic Usage Examples (Ext 1.x, 2.x)
IFRAME as the Content Element of Ext.ContentPanel
This one is really easy:
//Ext 1.x example: ManagedIFrame as ContentPanel element
Ext.onReady(function(){
var panel = new Ext.ContentPanel(new Ext.ux.ManagedIFrame( {autoCreate : {src:'mapgen.php'}})
,{title: 'Location', fitToFrame:true});
});
Then, later we can clear/update it:
panel.el.update('<b>This Map has Expired</b>');
This page was last modified on 16 February 2008, at 06:44.
This page has been accessed 13,877 times.
