原文地址:http://www.codeweblog.com/ext-window%E5%8A%A8%E6%80%81%E4%BF%AE%E6%94%B9html/

bodyWin = new Ext.Window({
        renderTo: Ext.getBody(),
        title: "支路分时统计",
        border:false,
        closable:false,
        resizable:false,
        draggable :false,
        maximizable:true,
        shadow: false,
        width: document.body.clientWidth - 284,
        height:document.body.clientHeight - 70,
        x:283,
        y:65,
        html:"<iframe src='<%=path%>/page/statistics/branchEnergy/branchTimeEnergy.jsp' height='100%' width='100%'></iframe>"
    });

动态修改html:

bodyWin.update("<iframe src='<%=path%>/page/emcBranchAnalysis_submitContent' height='100%' width='100%'></iframe>");

PS:在网上找过一些资料,说的都是通过load方法来实现,但试过后没有效果!

相关文章:

  • 2022-01-02
  • 2022-02-03
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2022-02-05
  • 2021-12-24
猜你喜欢
  • 2021-10-22
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案