Hello,
I explain : I want to open this window :
Code:
Ext.define("MyDesktop.***",{extend:"Ext.ux.desktop.Module",
id:"***-win",init:function(){this.launcher={text:"***",
handler:this.createWindow,scope:this}},createWindow:function(){
var b=this.app.getDesktop();var a=b.getWindow("***-win");
if(!a){a=b.createWindow({id:"***-win",title:"***",
width:1100,height:200,animCollapse:false,border:false,constrainHeader:true,layout:"fit",
html:'<iframe border="0" frameborder="0" width="100%" height="100%" src="***.html"></iframe> '
})}a.show();return a}});
When I call my function javascript
Code:
function test(){
// Here, I want to open ***-win
}
Do you know how I can do ? I must do like that because I have to open the window ***-win when I clicked
on a img.
Thank you