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

  • 相关阅读:
    平分糖果——BZOJ 1045
    浙大月赛——ZOJ Problem Set 3574
    jsp 自定义标签的写法
    C#扩展方法(转贴)
    window mobile 防止系统休眠代码
    jbpm sql使用动态参数方法
    spring 多数据源配置实现
    原创jquery蒙版控件
    jbpm 错误解决方法
    cas server 配置
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3400390.html
Copyright © 2011-2022 走看看