Ext.IframeWindow = Ext.extend(Ext.Window, {source : http://stackoverflow.com/questions/1783919/create-a-window-browser-inside-the-browser-with-extjs
onRender: function() {
this.bodyCfg = {
tag: ‘iframe’,
src: this.src,
cls: this.bodyCls,
style: {
border: ’0px none’
}
};
Ext.IframeWindow.superclass.onRender.apply(this, arguments);
}
});
var w = new Ext.IframeWindow({
id:id,
width:640,
height:480,
maximizable:true,
title:”Knowledge Control Solutions Iframe Window Sample”,
src:”http://www.google.co.id”
})
w.show();
Friday, April 22, 2011
Create a window browser inside the browser with extjs
by : Fernando Martínez
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment