zoukankan      html  css  js  c++  java
  • Ext 弹出窗体显示到iframe之外

    主要是这句话 var _win = new top.Ext.Window({});即可完成需要功能

    var _win = new top.Ext.Window({
              title: '从业人员健康检查表',
                 id:'closewin',
              height: Ext.getBody().getHeight()-50,
              Ext.getBody().getWidth()-300,
              maximizable:true,
              closable:true,
              modal:true,  //设置遮罩即只能操作最上层
              draggable:true,
              layout: 'fit',
        //      closeAction:"hide",
        
              listeners:{
               "close":function(){
                //alert("text///");
                /*Ext.Ajax.request({
                 url:"queryhealthcard!verifyCheckBox.action",
                 params:{
                     dataSourceId: dataSourceId
                       },
                       success: function(response){
                         var text = response.responseText
                         var jsonobj=eval('('+text+')');
                       if(jsonobj.permission == 'allow'){
                        document.getElementById(id).disabled=false;
                       }else{
                        document.getElementById(id).disabled = true;
                       }
                       }
                });*/
            
                flashrow(id,row,tdcol);
               }
              },
              html:'<iframe id="openwin" name="b" frameborder="no" height="100%" width="100%" marginheight="0" marginwidth="0" scrolling="auto"  src="healthDisease!findWorkInfo.action?dataSourceId='+dataSourceId+'"></iframe>' 
          });
       _win.show();

  • 相关阅读:
    洛谷 P3850 [TJOI2007]书架
    洛谷 P2073 送花
    洛谷 P2343 宝石管理系统
    浅谈 fhq-treap(无旋treap)
    洛谷 P4568 [JLOI2011]飞行路线
    洛谷 T59576 下一个回文树(zhoutbafo)
    求SG函数(两种方法)
    python3+Appium自动化08-数据配置yaml
    python3+Appium自动化07-滑动操作以及滑动方法封装
    python3+Appium自动化06-屏幕截图
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3400390.html
Copyright © 2011-2022 走看看