I needa tip, I have ajsfilecontains the codeof aextjswindow,
I wantwhen I clickon the buttonin the menu:thewindowis displayed
code x.js:
var win=new Ext.window.Window({ height: 437, width: 709, title: 'Representation Géo', renderTo: document.body, minimizable:true, maximizable:true, items: [{ xtype: 'box', margins: '5 5 5 5', region: 'center', width: 200, height: 200, autoEl: {tag: 'img', src: 'badr.jpg', width: 87, height: 124 }, }],}); win.show();

le bouttn du menu :
var tb=Ext.create('Ext.toolbar.Toolbar', {
renderTo: document.body, suspendLayout : false, width : 1279, items: [ { xtype: 'button', text: 'Représentation Géo', scope : this, handler : function() { window.location=("x.js"); } }

in this case itappearsto methe source codeof thejsfile.
how canIdo to calla js fileandexecutefrom abutton.staying on thesamepage of themenu.
restrainedinthejavascript filethat areclosablewindowsoI can display awindowand close it.afterI click thebuttonI displaydeusiémedeusiémejsandso on.
help please