• 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();

  • 相关阅读:
    SAP UI5 应用 XML 视图的加载逻辑分析
    作为一名 ABAP 资深顾问,下一步可以选择哪一门 SAP 技术作为主攻方向?
    一步步把 SAP UI5 应用部署到 SAP BTP Kyma 运行环境中去
    C++图像的拷贝
    C++图像裁减
    C++opencv图像的缩放
    C++typeid操作符--返回类型、变量、对象的类型名称
    C++opencv-像素操作
    C++虚析构函数
    C++openCV图像的读取、显示、保存、信息
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3400390.html
Copyright © 2020-2023  润新知