当前位置: 代码迷 >> Web前端 >> tab弹出页的兼容性有关问题
  详细解决方案

tab弹出页的兼容性有关问题

热度:356   发布时间:2013-12-19 00:33:34.0
tab弹出页的兼容性问题
if(isIE){
	  			url = "parent.center_frame.$DW._ChildTabFrame_[#if diffType??]Task[#else]Place[/#if].$DW.[#if diffType??]$DW.[/#if]"
	  		}else{
	  			url = "parent.center_frame.$DW._ChildTabFrame_[#if diffType??]Task[#else]Place[/#if].contentWindow.$DW.[#if diffType??]$DW.[/#if]";
	  		}
	  		
	  		
	function uploadFile(obj)
    {
    	var url = "parent.center_frame.$DW.";
    	if(isIE){
	  			url = "parent.center_frame.$DW._ChildTabFrame_document.$DW."
	  		}else{
	  			url = "parent.center_frame.$DW._ChildTabFrame_document.contentWindow.$DW.";
	  		}
    	var diag = new Dialog("fileUpload");
		diag.Width = 500;
		diag.Height = 225;
		diag.Title = "意向信息文档上传";
		diag.URL = "../../system/sys_common/fileupload.jsp?callback="+url+"setFileUrl&callbacks="+url+"close&ifclose=false&upload_limit=1&foldname=10&size_limit=512000&types=*.doc;*.docx;*.xls;*.xlsx";
		diag.ShowButtonRow=false;
		diag.show();
		obj.blur();
    }
  相关解决方案