Here is a minimization method achieved by re-creating its minimize function:
HTML:
JS:
function openWin()
{
if(!win)
{
win = new Ext.Window({
title:"Pop-up Window",
el:"divWin",
width:500,
height:300,
constrain:true,
maximizable:true,
closeAction:'hide',
minimizable:true
});
win.minimize = function(e)
{
this.hide();
Ext.get("aRestore").show();
}
}
win.show(Ext .get("btn"));
Ext.get("aRestore").hide();
}
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn