function openArticle(id, opener) {
Ext.Msg.alert(id, '****'+opener.id);
var panelUp = new Ext.Panel({
height:80,
frame:false,
border:false,
html: '
paf
'
});
var panelDown = new Ext.Panel({
height: 7000,
frame:false,
border:false,
style:{backgroundColor: '#EDEFF4'},
html:' aaa'
});
var WIN_Article = new Ext.Window({
title: 'Titre de l\'article '+id,
iconCls: 'iConFacebook',
width: grid.getWidth(),
height: grid.getHeight(),
width:500, height:400,
animateTarget: opener,
closeAction: 'hide',
buttons: [{
text: 'Close',
handler: function() {
WIN_Article.hide();
}
}],
items:[panelUp, panelDown]
});
WIN_Article.show();
}