Skip to content

Instantly share code, notes, and snippets.

@novalagung
Created November 12, 2012 09:37
Show Gist options
  • Save novalagung/4058379 to your computer and use it in GitHub Desktop.
Save novalagung/4058379 to your computer and use it in GitHub Desktop.
Ext.IframeWindow = Ext.extend(Ext.Window, {
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,
title:"Knowledge Control Solutions Iframe Window Sample",
src:"http://localhost/zweb_server/main/ns3JA7cA8UVA7A4DGVKkhaskAJsa/AdsFKakS8f"
});
w.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment