下面这段extjs代码是一个像msn的提示窗口一样,但是怎么让它从下往上的渐出,而且渐出完以后停留数秒钟自动消失? var window = new Ext.Window({
// contentEl : Ext.getBody(),
width : 390,
height : 300,
html : "试试试试...",
title : "温馨提示:"
});
window.show();
window.getEl().alignTo(Ext.getBody(), 'br-br');
// 元素从视图中滑出
window.getEl().slideOut('b', {
easing: 'easeOut',
duration : 20
});
// contentEl : Ext.getBody(),
width : 390,
height : 300,
html : "试试试试...",
title : "温馨提示:"
});
window.show();
window.getEl().alignTo(Ext.getBody(), 'br-br');
// 元素从视图中滑出
window.getEl().slideOut('b', {
easing: 'easeOut',
duration : 20
});
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货