⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getnotruleartilcelist.js

📁 科汛网站管理系统(KeSion CMS) v2.2 是科汛网络基于ASP技术开发的网站管理系统
💻 JS
字号:
function SetStatus(Obj)
{
  if (Obj.value=='0')
   {
    document.all.MoreLinkArea.style.display="";
   }
   else
   document.all.MoreLinkArea.style.display="none";
}
function SetNavStatus()
{
  if (document.all.NavType.value==0)
   {document.all.NavWord.style.display="";
    document.all.NavPic.style.display="none";}
  else
  {
   document.all.NavWord.style.display="none";
   document.all.NavPic.style.display="";}
}
function SetMoreLinkStatus()
{
if (document.all.MoreLinkType.value==0)
   {document.all.LinkWord.style.display="";
    document.all.LinkPic.style.display="none";}
  else
  {
   document.all.LinkWord.style.display="none";
   document.all.LinkPic.style.display="";}
}
function SetLabelFlag(Obj)
{
 if (Obj.value=='-1')
  document.myform.LabelFlag.value=1;
  else
  document.myform.LabelFlag.value=0; 
}
function InsertScriptFun()
{   
if (document.myform.LabelName.value=='')
     {
	  alert('请输入标签名称');
	  document.myform.LabelName.focus(); 
	  return false;
	  }
    var ClassList=document.myform.ClassList.value;
	var IncludeSubClass=false,NavType=1;
	var ArticleProperty;
	var OpenType='"'+document.myform.OpenType.value+'"';
	var ShowNumPerRow=document.myform.ShowNumPerRow.value;
	var RowHeight=document.myform.RowHeight.value;
	var RowNumber=document.myform.RowNumber.value;
	var ArticleSort='"'+document.myform.ArticleSort.value+'"';
	var Nav,NavType=document.myform.NavType.value;
	var MoreLink,MoreLinkType=document.myform.MoreLinkType.value;
	var SplitPic='"'+document.myform.SplitPic.value+'"';
	var TitleCss='"'+document.myform.TitleCss.value+'"';
	if (document.myform.IncludeSubClass.checked) IncludeSubClass=true;

	for (var i=0;i<document.myform.ArticleProperty.length;i++){
	 var KM = document.myform.ArticleProperty[i];
	if (KM.checked==true)	   
		ArticleProperty = KM.value
	}
	if  (ShowNumPerRow=='')  ShowNumPerRow=10;
	if (RowHeight=='') RowHeight=20
	if  (RowNumber=='') RowNumber=30;
	if  (NavType==0) Nav='"'+document.myform.TxtNavi.value+'"'
	 else  Nav='"'+document.myform.NaviPic.value+'"';
	if  (MoreLinkType==0) MoreLink='"'+document.myform.MoreLinkWord.value+'"'
	else  MoreLink='"'+document.myform.MoreLinkPic.value+'"';
	document.myform.LabelContent.value=	'{$GetNotRuleArticleList("'+ClassList+'",'+IncludeSubClass+','+OpenType+','+ArticleProperty+','+RowNumber+','+ShowNumPerRow+','+RowHeight+','+ArticleSort+','+NavType+','+Nav+','+MoreLinkType+','+MoreLink+','+SplitPic+','+TitleCss+')}';
	document.myform.submit();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -