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

  • 相关阅读:
    python3内置函数大全
    字符串格式化及函数
    基础数据和编码
    python基本数据类型
    python基础
    python re模块
    python json模块
    python os模块
    python random模块
    python time模块
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3400390.html
Copyright © 2020-2023  润新知