Ext.Window更换iframe的地址2
2009-11-09 12:01
169 查看
//按扭
var dateBtn = new Ext.Action({
text:'按日期',
tooltip:'按日期查看当月报表',
handler:function(){
Ext.getDom('iframeA').src = '/EXTcash/cashOutAction.do?method=lineChart&flag=coutDate';
}
});
var typeBtn = new Ext.Action({
text:'按类别',
tooltip:'按类别查看当月报表',
handler:function(){
Ext.getDom('iframeA').src = '/EXTcash/cashOutAction.do?method=lineChart&flag=coutType';
}
});
var chartPanel = new Ext.Panel({
//title:'财务图表',
width: 540,
height: 400,
tbar:[
'-',dateBtn,
'-',typeBtn
],
html:'<iframe id="iframeA" scrolling="auto" frameborder="0" width="100%" height="100%" src="/gggg.html"></iframe>'
});
var chartWin = new Ext.Window({
title:'titles,
width:540,
height:400,
animCollapse: true,
resizable:false,
modal:true,
closeAction :'hide',
window:{layout:'fit'},
items:chartPanel
});
var dateBtn = new Ext.Action({
text:'按日期',
tooltip:'按日期查看当月报表',
handler:function(){
Ext.getDom('iframeA').src = '/EXTcash/cashOutAction.do?method=lineChart&flag=coutDate';
}
});
var typeBtn = new Ext.Action({
text:'按类别',
tooltip:'按类别查看当月报表',
handler:function(){
Ext.getDom('iframeA').src = '/EXTcash/cashOutAction.do?method=lineChart&flag=coutType';
}
});
var chartPanel = new Ext.Panel({
//title:'财务图表',
width: 540,
height: 400,
tbar:[
'-',dateBtn,
'-',typeBtn
],
html:'<iframe id="iframeA" scrolling="auto" frameborder="0" width="100%" height="100%" src="/gggg.html"></iframe>'
});
var chartWin = new Ext.Window({
title:'titles,
width:540,
height:400,
animCollapse: true,
resizable:false,
modal:true,
closeAction :'hide',
window:{layout:'fit'},
items:chartPanel
});
相关文章推荐
- Ext.Window更换iframe的地址
- Ext.Window html iframe 关闭父窗口
- ext.window和iframe传值的问题
- 在Ext中的window组件嵌套iframe,在iframe中点击关闭上一层的window的方法
- 1.跨浏览器通讯之iframe 以及window.open
- Ext.window.MessageBox按钮中文的设置问题
- 更换到Window系统后的一些使用习惯及配置记录
- Ext.Window 的常见属性
- js获取url参数来替换iframe链接地址
- 视图Ext.Viewport和窗口Ext.Window用法
- 基于 window.location.hash的异步刷新改变地址栏地址(类似于腾讯那个图片分类切换图片的功能)
- window 7 设置 IP 地址
- 总结JavaScript(Iframe、window.open、window.showModalDialog)父窗口与子窗口之间的操作
- [分 享] PHPCMS V9 更换域名,附件地址无法批更新(更换变便)问题>解决方法!!
- window 查看IP地址、网管、子网掩护、DNS等信息
- ext4 学习笔记(三) Ext.window.Window(白鹤翔第一季)
- Ext.Window重新构建
- 点击Ext.Window右上角的关闭这个window就不能再次弹出
- EXT窗口Window及对话框MessageBox
- Ext.Net的Window控件的简单使用