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

📄 editor_fieldset.asp

📁 重庆宽频P2P电影小偷程序,可以做一个大型的电影站了
💻 ASP
字号:
<%@language=vbscript codepage=936 %>
<%
option explicit
response.buffer=true	
'强制浏览器重新访问服务器下载页面,而不是从缓存读取页面
Response.Buffer = True 
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 

dim ChannelID
ChannelID=trim(request("ChannelID"))
if ChannelID="" then
	response.write "频道参数丢失!"
	response.end
end if
ChannelID=Clng(ChannelID)
%>
<HTML>
<HEAD>
<title>插入栏目框</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<link rel="stylesheet" type="text/css" href="editor_dialog.css">
<script language="JavaScript">
function OK(){
    var str1="";
    str1="<FIELDSET align='"+align1.value+"' style='"
    if(t_color.value!='')str1=str1+"color:"+t_color.value+";"
    if(t_backcolor.value!='')str1=str1+"background-color:"+t_backcolor.value+";"
    str1=str1+"'><Legend"
    str1=str1+" align="+align2.value+">"+LegendTitle.value+"</Legend>请在这里输入栏目框的内容</FIELDSET>"
    window.returnValue = str1;
    window.close();
}
function SelectColor(what){
	var dEL = document.all("t_"+what);
	var sEL = document.all("s_"+what);
	var url = "editor_selcolor.asp?color="+encodeURIComponent(dEL.value);
	var arr = showModalDialog(url,window,"dialogWidth:280px;dialogHeight:250px;help:no;scroll:no;status:no");
	if (arr) {
		dEL.value=arr;
		sEL.style.backgroundColor=arr;
	}
}
</script>

</head>

<body bgColor=#D4D0C8 topmargin=15 leftmargin=15 >
<table width=100% border="0" cellpadding="0" cellspacing="2">
  <tr><td>
<FIELDSET align=left>
      <LEGEND align=left><strong>插入栏目框</strong></LEGEND>
      <table border="0" align="center" cellpadding="0" cellspacing="3">
        <tr>
          <td align="right">栏目框对齐方式:</td>
          <td><select name="align1" id=align1>
              <option value="left" selected>左对齐
              <option value="center">居中
              <option value="right">右对齐
          </select></td>
        </tr>
        <tr> 
          <td align="right">栏目标题:            </td>
          <td><input name="LegendTitle" type="text" id="LegendTitle" size="20"></td>
        </tr>
        <tr>
          <td align="right">标题对齐方式:          </td>
          <td><select name="align2" id=select3>
            <option value="left" selected>左对齐
            <option value="center">居中
            <option value="right">右对齐
          </select></td>
        </tr>
	<tr> 
           <td align="right">边框颜色:          </td>
          <td><input name="t_color" id=t_color  size="7" maxlength="7">
	<img border=0 src="images/rect.gif" width=18 style="cursor:hand" id=s_color onclick="SelectColor('color')">
	  
	  </td>
        </tr>
        <tr>
          <td align="right">背景颜色:          </td>
          <td><input name="t_backcolor" id=t_backcolor size="7" maxlength="7">
	  <img border=0 src="images/rect.gif" width=18 style="cursor:hand" id=s_backcolor onclick="SelectColor('backcolor')">
	  </td>
        </tr>
      </table>
</FIELDSET>
</td><td width=80 align="center"><input name="cmdOK" type="button" id="cmdOK" value="  确定  " onClick="OK();">
<br>
<br><input name="cmdCancel" type=button id="cmdCancel" onclick="window.close();" value='  取消  '></td></tr></table>
</body>
</html>

⌨️ 快捷键说明

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