www.gusucode.com > YulinCMS 雨林内容管理系统 2.0源码程序 > Admin/JS/Special.js

    

// 执行确认
function executeConfirm()
{
	var val = getCheckedValue(getClientName('rblistFunction'));
	if(val!=null)
	{
		if(val=="BatchDelete") val = "批量删除";
		if(val=="BatchMove") val="批量移动";
		if(val=="BatchBuild") val="批量生成";
		var message = "确定要执行 '"+val+"' 操作吗?";
		if(confirm(message)) {return true;} else {return false;}
	}
}


// 打开专题归属操作窗口
function openSpecialBelongDialog(param)
{
    var width = screen.availWidth-100;
    var height = screen.availHeight-50;
    var returnVal = openDialog("SpecialBelong.aspx?SpecialId="+param,width,height);
}

// 打开专题分区窗口
function openSpecialRegionDialog(param)
{
    var width = 780;
    var height = 580;
    var returnVal = openDialog("../Special/SpecialRegionList.aspx?SpecialId="+param,width,height);
}


// 打开专题文档窗口
function openSpecialContentDialog(param)
{
    var width = screen.availWidth-100;
    var height = screen.availHeight-50;
    var returnVal = openDialog("SpecialContentList.aspx?SpecialId="+param,width,height);
}