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

📄 correlationarticlelist.asp

📁 PDA,若你死昂师傅你说的附件是打开附件上课的附件四度空间就大方快速减肥
💻 ASP
📖 第 1 页 / 共 2 页
字号:
         <input id="NavType2" <% IF NavType = 1 Then Response.Write("Checked") %>   type="radio" name="NavType" value="1" onClick="SetNavStatus(2);"><label for="NavType2">图片导航</label>		</td>
    <td width="50%" height="24"   id=SetNavStatus1 
	<% if NavType=1 then %>
	style="DISPLAY: none" 
	<% end if %>>
 <input name="NavWord" type="text" id="NavWord" style="width:70%;" value="<%= NavWord %>"> 
 支持HTML语法</td>
   <td width="50%" height="24"   id=SetNavStatus2 
	<% if NavType=0 then %>
	style="DISPLAY: none"
	SetNavStatus1.style.display=''
	<% end if %> >
<input name="NavPic" type="text" id="NavPic" style="width:250;" value="<%= NavPic %>" readonly>
<input class="ACT_btn" type="button"  onClick="OpenWindowAndSetValue('../print/SelectPic.asp?CurrPath=<%=sysdir%>',500,320,window,document.myform.NavPic);" value="选择图片...">&nbsp;<span style="cursor:hand;color:green;" onClick="javascript:document.myform.NavPic.value='';" onMouseOver="this.style.color='red'" onMouseOut="this.style.color='green'">清除</span></td>  
    </tr>
    <tr>
      <td colspan="2" >分隔图片
      <input name="Division" type="text" id="Division" style="width:61%;" value="<%= Division %>" readonly>
	  <input class="ACT_btn" type="button" onClick="OpenWindowAndSetValue('../print/SelectPic.asp?CurrPath=<%=sysdir%>',500,320,window,document.myform.Division);" name="Submit3" value="选择图片...">
	 &nbsp;<span style="cursor:hand;color:green;" onClick="javascript:document.myform.Division.value='';" onMouseOver="this.style.color='red'" onMouseOut="this.style.color='green'">清除</span>	  </td>
    </tr>
    <tr>
      <td >日期格式
        <select  style="width:70%;" name="DateForm" id="select2">
    <% 
		.Write AF.ACT_DateStr(DateForm)
			 %>
        </select>      </td>
      <td >日期对齐

<% 		.Write "  <select class=""textbox"" name=""DateAlign"" id=""select3"" style=""width:70%;"">"
							
					If ID = "" Or CStr(DateAlign) = "left" Then
					 Str = " selected"
					Else
					 Str = ""
					End If
					 .Write ("<option value=""left""" & Str & ">左对齐</option>")
					If CStr(DateAlign) = "center" Then
					 Str = " selected"
					Else
					 Str = ""
					End If
					 .Write ("<option value=""center""" & Str & ">居中对齐</option>")
					If CStr(DateAlign) = "right" Then
					 Str = " selected"
					Else
					 Str = ""
					End If
					 .Write ("<option value=""right""" & Str & ">右对齐</option>")
					 
				.Write "                  </select>"
		End With %>    </td>
    </tr>
    <tr>
      <td >标题样式
      <input name="TitleCss" type="text" id="TitleCss" style="width:70%;" value="<%= TitleCss %>"></td>
      <td >日期样式
      <input name="DateCss" type="text" id="DateCss" style="width:70%;" value="<%= DateCss %>"></td>
    </tr>
    <tr>
      <td colspan="2" align="center" >
	   <input name="SubmitBtn" class="ACT_btn" type="button"  onClick="InsertScriptFun()"  id="SubmitBtn"  value="   保 存   ">	
	    &nbsp;&nbsp; <input type="reset" class="ACT_btn" name="Submit" value="   重  置   ">  </td>
    </tr>
    </table>
  
</form>
<script language="javascript" >
	
function SetNavStatus(n){
			if (n==1){
			SetNavStatus1.style.display='';
			SetNavStatus2.style.display='none';	
			}
		  else{
			SetNavStatus1.style.display='none';
			SetNavStatus2.style.display='';	
		}
}


		function SetActF(Val)
		{
		 if(Val==1)	
			{
			 ActFs.style.display="none";
			}
		 if(Val==2)	
			{
			 ActFs.style.display="";
			}
		 if(Val==3)	
			{
			 ActFs.style.display="none";
			}
		}

function OpenWindowAndSetValue(Url,Width,Height,WindowObj,SetObj)
{
	var ReturnStr=showModalDialog(Url,WindowObj,'dialogWidth:'+Width+'pt;dialogHeight:'+Height+'pt;status:yes;help:no;scroll:yes;');
	if (ReturnStr!='') SetObj.value=ReturnStr;
	return ReturnStr;
}	
		
		function InsertScriptFun()
		{   if (document.myform.LabelName.value=='')
			 {
			  alert('请输入标签名称');
			  document.myform.LabelName.focus(); 
			  return false
			  }
			var NavType=1;
			var TypeClassName,TypeWordPic,TypeNew,TypeHot;
			var OpenType='"'+document.myform.OpenType.value+'"';
			var RowHeight=document.myform.RowHeight.value;
			var TitleLen=document.myform.TitleLen.value;
			var ListNumber=document.myform.ListNumber.value;
			var ArticleSort='"'+document.myform.ArticleSort.value+'"';
			var ColNumber=document.myform.ColNumber.value;
			var Nav,NavType=document.myform.NavType.value;
			var Division='"'+document.myform.Division.value+'"';
			var DateForm=document.myform.DateForm.value;
			var DateAlign='"'+document.myform.DateAlign.value+'"';
			var TitleCss='"'+document.myform.TitleCss.value+'"';
			var DateCss='"'+document.myform.DateCss.value+'"';
			var ActF=document.myform.ActF.value;

			var divid=document.myform.divid.value;
			var divclass=document.myform.divclass.value;
			var ulid=document.myform.ulid.value;
			var ulclass=document.myform.ulclass.value;
			var liid=document.myform.liid.value;
			var liclass=document.myform.liclass.value;

			if (document.myform.TypeClassName.checked)
				TypeClassName = true
			else
			    TypeClassName =false;

			if (document.myform.TypeNew.checked)
			   TypeNew= true
			else
			   TypeNew=false;

			if (RowHeight=='') RowHeight=20
			if  (TitleLen=='') TitleLen=30;
			if  (ColNumber=='') ColNumber=1;
			for (var i=0;i<document.myform.NavType.length;i++){
			 var TCJ = document.myform.NavType[i];
			if (TCJ.checked==true)	   
				NavType = TCJ.value
			if  (NavType==0) Nav='"'+document.myform.NavWord.value+'"'
			 else  Nav='"'+document.myform.NavPic.value+'"';
			}
		
			
			//-----------------------------
			document.myform.LabelContent.value=	'{$CorrelationArticleList('+ActF+'§'+ArticleSort+'§'+ListNumber+'§'+OpenType+'§'+RowHeight+'§'+TitleLen+'§'+ColNumber+'§'+TypeClassName+'§'+TypeNew+'§'+NavType+'§'+Nav+'§'+Division+'§'+DateForm+'§'+DateAlign+'§'+TitleCss+'§'+DateCss+'§'+divid+'§'+divclass+'§'+ulid+'§'+ulclass+'§'+liid+'§'+liclass+')}';
			document.myform.SubmitBtn.value="正在提交数据,请稍等...";
			document.myform.SubmitBtn.disabled=true;
			document.myform.Submit.disabled=true;	
			document.myform.submit();
		}
	
</script><script language="javascript">SetActF(<%= ActF %>);</script>
</body>
</html>

⌨️ 快捷键说明

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