急急!!如何给Ext.panel增加一个背景图片?? 急急!!如何给Ext.panel增加一个背景图片?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 自己已解决:如下:var stampUserName='未签章';JDAN.FactureManage.fileStampPanel = function(){ JDAN.FactureManage.fileStampPanel.superclass.constructor.call(this, { title: '签章信息', height:120, iconCls: 'icn2Mam', bodyStyle:'background-image:url(../FactureManage/Images/stampbgimage.gif)', html: '<center><font size=6 color=white style="FONT-FAMILY: 隶书">'+stampUserName+'</font></center>', tbar:[{ text:'签章', tooltip:'文件确认签章', scope : this, iconCls: 'icnRefresh', handler : this.onBtnStamp }] })};Ext.extend(JDAN.FactureManage.fileStampPanel, Ext.Panel, { onBtnStamp:function(){ Ext.MessageBox.alert('提示','对图片进行签章确认!'); }}); 如何理解jquery中的offset 菜鸟求理解javascript对象的引用问题 如何理解方法中的this? 如何实现,点击健盘上一个健子,执行JS代码,如alert("success"),谢谢! jsp不刷新页面传值问题 鼠标经过,如何获取子对象? 如何替换? 请教一个初级问题,谢谢!! 页面上的Treeview 问题,各位大侠帮忙啦!!! 送分问题,在线等候。 取链接把图片过滤掉 想做一个Javascript流程监控,望高手探讨指点一下!
自己已解决:如下:
var stampUserName='未签章';JDAN.FactureManage.fileStampPanel = function(){ JDAN.FactureManage.fileStampPanel.superclass.constructor.call(this, {
title: '签章信息',
height:120,
iconCls: 'icn2Mam',
bodyStyle:'background-image:url(../FactureManage/Images/stampbgimage.gif)',
html: '<center><font size=6 color=white style="FONT-FAMILY: 隶书">'+stampUserName+'</font></center>',
tbar:[{
text:'签章',
tooltip:'文件确认签章',
scope : this,
iconCls: 'icnRefresh',
handler : this.onBtnStamp
}]
})
};
Ext.extend(JDAN.FactureManage.fileStampPanel, Ext.Panel, {
onBtnStamp:function(){
Ext.MessageBox.alert('提示','对图片进行签章确认!');
}
});