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

📄 newsadd1.asp

📁 zheng fu wang zhan gong neng qi quan
💻 ASP
📖 第 1 页 / 共 5 页
字号:
  var string;
string="<p align="+g+"><embed src="+a+"  width="+e+" height="+f+" autostart="+b+" loop="+c+"></embed><br>"+"<a href="+h+">"+"下载地址"+h+"</a>"+"</p>"
   range.pasteHTML(string);
  }
  else message.focus();
}


function rm()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();

  var arr = showModalDialog("rm.asp", "", "dialogWidth:28em; dialogHeight:16em; status:0;help:0");
  
  if (arr != null){
  var ss;
  ss=arr.split("*")
  a=ss[0];
  b=ss[1];
  c=ss[2];
  d=ss[3];
  e=ss[4];
  f=ss[5];
  g=ss[6];
  var string;
string="<p align="+d+"><object classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width="+f+" height="+e+"><param name='CONTROLS' value='ImageWindow'><param name=src value="+a+"><param name='CONSOLE' value='Clip1'><param name='AUTOSTART' value="+b+"><param name='LOOP' value="+c+"></object><br><object classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width="+f+" height=60><param name='CONTROLS' value='ControlPanel,StatusBar'><param name='CONSOLE' value='Clip1'></object><br>"+"<a href="+g+">"+"下载地址"+g+"</a>"+"</p>"
  range.pasteHTML(string);
 }
  else message.focus();
}


function pic()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();

  var arr = showModalDialog("pic.asp", "", "dialogWidth:26.5em; dialogHeight:13em; status:0;help:0");
  
  if (arr != null){
  var ss;
  ss=arr.split("*")
  a=ss[0];
  b=ss[1];
  c=ss[2];
  d=ss[3];
  e=ss[4];
  f=ss[5];
  var str1;
str1="<a title=点击图片看全图 target='_blank' href='"+a+"'>"
str1=str1+"<p align=center><img src='"+a+"' alt='"+b+"' style='"+c+"'"
str1=str1+" border=0 align='"+e+"'></a><br>"+d+"</P>"
   form1.PicUrl.value=a;
   form1.PicList.options[form1.PicList.length] = new Option(a,a);
   range.pasteHTML(str1);
   }
  else message.focus();
}
function page()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();
str1="[---分页---]"
   range.pasteHTML(str1);
}

function watermark()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();
str1="<font color='#FFFFFF'>[<%=rs8("name")%>]<%=RND()%><%=date()%></font>"
   range.pasteHTML(str1);
}

function software()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();
str1="<TABLE cellSpacing=1 cellPadding=3 width=600 align=center bgColor=#AFAFD9 border=0><TBODY><TR><TD noWrap align=middle width=15% bgColor=#AFAFD9 height=20>软件名称:</TD><TD bgColor=#AFAFD9 colSpan=3 height=20>&nbsp; </TD></TR><TR bgColor=#fbfbfb><TD width='15%' height=20 align=middle noWrap>软件语言:</TD><TD width='35%' height=20>简体中文</TD><TD width='15%' align=middle vAlign=center>整理时间: </TD><TD width='35%' height=20>&nbsp;</TD></TR><TR bgColor=#fbfbfb><TD width='15%' height=20 align=middle noWrap>运行环境:</TD>      <TD width='35%' height=20>windowsXP/2003/2000/98/95x</TD><TD width='15%' align=middle vAlign=center>软件大小:</TD><TD width='35%' height=20>M</TD></TR><TR bgColor=#fbfbfb><TD width='15%' height=20 align=middle noWrap>软件等级:</TD>      <TD width='35%' height=20 bgcolor='#fbfbfb'><font color='#FF0000'>★★★</font></TD><TD width='15%' align=middle vAlign=center>授权方式:</TD><TD width='35%' height=20>免费</TD></TR><TR bgColor=#fbfbfb><TD width='15%' height=20 align=middle noWrap>开 发 商:</TD><TD colSpan=3 height=20>&nbsp;</TD></TR><TR bgColor=#fbfbfb><TD width='15%' height=20 align=middle vAlign=top noWrap>软件简介:</TD><TD colSpan=3 height=20>&nbsp;</TD></TR><TR bgColor=#ffffff><TD width='15%' height=20 align=middle vAlign=top noWrap bgColor=#AFAFD9>下载地址:</TD><TD bgColor=#AFAFD9 colSpan=3 height=20></TD></TR><TR bgColor=#ffffff><TD noWrap bgColor=#fbfbfb colSpan=4 height=20>&nbsp;</TD></TR></TBODY></TABLE>"
   range.pasteHTML(str1);
}

function production()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();
str1="<TABLE cellSpacing=1 cellPadding=3 width=600 align=center bgColor=#AFAFD9 border=0><tr><td width='95'>产品名称:</td><td width='489'>&nbsp;</td></tr><tr bgcolor='#FFFFFF'><td>产品型号:</td><td>&nbsp;</td></tr><tr bgcolor='#FFFFFF'><td>产品规格:</td><td>&nbsp;</td></tr><tr bgcolor='#FFFFFF'><td>产品介绍:</td><td>&nbsp;</td></tr><tr bgcolor='#FFFFFF'><td>产品价格:</td><td>&nbsp;</td></tr></table>"
   range.pasteHTML(str1);
}

function frame()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();
str1="<TABLE cellSpacing=0 cellPadding=0 width=263 border=0 align=center><TBODY><TR><TD vAlign=top width=8><IMG height=7 src='images/index_t_center_1.gif' width=8></TD><TD width=248 bgColor=#c9d5ae></TD><TD vAlign=top width=7><IMG height=7 src='images/index_t_center_2.gif' width=7></TD></TR><TR><TD bgColor=#c9d5ae>&nbsp;</TD><TD align='center' valign='middle'>&nbsp; </TD><TD bgColor=#c9d5ae>&nbsp;</TD></TR><TR><TD><IMG height=8 src='images/index_t_center_4.gif' width=8></TD><TD width=248 bgColor=#c9d5ae></TD><TD><IMG height=8 src='images/index_t_center_3.gif' width=7></TD></TR></TBODY></TABLE>"
   range.pasteHTML(str1);
}

function adduction()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();
str1="<P><TABLE style='BORDER-RIGHT: #6595d6 1px dotted; TABLE-LAYOUT: fixed; BORDER-TOP: #6595d6 1px dotted; BORDER-LEFT: #6595d6 1px dotted; BORDER-BOTTOM: #6595d6 1px dotted' cellSpacing=0 cellPadding=6 width='95%' align=center border=0><TBODY><TR><TD style='WORD-WRAP: break-word' bgColor=#e8f4ff><FONT style='FONT-WEIGHT: bold; COLOR: #990000'>以下是引用片段:</FONT><BR></TD></TR></TBODY></TABLE></P>"
   range.pasteHTML(str1);
}


function FIELDSET()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();

  var arr = showModalDialog("fieldset.htm", "", "dialogWidth:16.5em; dialogHeight:13.5em; status:0;help:0");
  
  if (arr != null){
  var ss;
  ss=arr.split("*")
  a=ss[0];
  b=ss[1];
  c=ss[2];
  d=ss[3];
  var str1;
str1="<FIELDSET "
str1=str1+"align="+a+""
str1=str1+" style='"
if(c.value!='')str1=str1+"color:"+c+";"
if(d.value!='')str1=str1+"background-color:"+d+";"
str1=str1+"'><Legend"
str1=str1+" align="+b+""
str1=str1+">标题</Legend>内容</FIELDSET>"
  range.pasteHTML(str1);
  }
  else message.focus();
}

function iframe()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();

  var arr = showModalDialog("iframe.htm", "", "dialogWidth:26.5em; dialogHeight:13em; status:0;help:0");
  
  if (arr != null){
  var ss;
  ss=arr.split("*")
  a=ss[0];
  b=ss[1];
  c=ss[2];
  d=ss[3];
  e=ss[4];
  var str1;
str1="<iframe src='"+a+"'"
str1+=" scrolling="+b+""
str1+=" frameborder="+c+""
if(d!='')str1+=" marginheight="+d
if(e!='')str1+=" marginwidth="+e
str1=str1+"></iframe>"
  range.pasteHTML(str1);
 }
  else message.focus();
}

function hr()
{if (!validateMode()) return;
message.focus();

var range =message.document.selection.createRange();

  var arr = showModalDialog("hr.htm", "", "dialogWidth:20em; dialogHeight:13.5em; status:0;help:0");
  
  if (arr != null){
  var ss;
  ss=arr.split("*")
  a=ss[0];
  b=ss[1];
  c=ss[2];
  d=ss[3];
  e=ss[4];
  var str1;
str1="<hr"
str1=str1+" color='"+a+"'"
str1=str1+" size="+b+"'"
str1=str1+" "+c+""
str1=str1+" align="+d+""
str1=str1+" width="+e
str1=str1+">"
  range.pasteHTML(str1);
  }
  else message.focus();
}

function insertbr(br){

	document.form1.title.value+=br;
	document.form1.title.focus();
}

function insertbr1(br){

	document.form1.hongtou.value+=br;
	document.form1.hongtou.focus();
}

function title_color_onchange() {
	var title_colorIndex;
	title_colorIndex = form1.title_color.selectedIndex;
	form1.title.select ();
	switch (title_colorIndex)
	{
		case 1: form1.title.style.color = "#000000";
				break;
		case 2:	form1.title.style.color = "#000000";
				break;
		case 3:	form1.title.style.color = "#FFFFFF";
				break;
		case 4:	form1.title.style.color = "#008000";
				break;
		case 5:	form1.title.style.color = "#800000";
				break;
		case 6:	form1.title.style.color = "#808000";
				break;
		case 7:	form1.title.style.color = "#000080";
				break;
		case 8:	form1.title.style.color = "#800080";
				break;
		case 9:	form1.title.style.color = "#808080";
				break;
		case 10:form1.title.style.color = "#FFFF00";
				break;
		case 11:form1.title.style.color = "#00FF00";
				break;
		case 12:form1.title.style.color = "#00FFFF";
				break;
		case 13:form1.title.style.color = "#FF00FF";
				break;
		case 14:form1.title.style.color = "#FF0000";
				break;
		case 15:form1.title.style.color = "#0000FF";
				break;
		case 16:form1.title.style.color = "#008080";
				break;
	}
	form1.title.focus ();
}

function title_size_onchange() {
	var title_sizeIndex;
	title_sizeIndex = form1.title_size.selectedIndex;
	form1.title.select ();
	switch (title_sizeIndex)
	{
		case 1: form1.title.style.fontSize = "9pt";
				break;
	}
	form1.title.focus ();
}

function title_type_onchange() {
	var title_typeIndex;
	title_typeIndex = form1.title_type.selectedIndex;
	form1.title.select ();
	switch (title_typeIndex)
	{
		case 1: form1.title.style.removeAttribute ("fontWeight");
				form1.title.style.removeAttribute ("fontStyle");
				form1.title.style.removeAttribute ("textDecoration");
				break;
		case 2:	form1.title.style.removeAttribute ("fontStyle");
				form1.title.style.removeAttribute ("textDecoration");
				form1.title.style.fontWeight = "bolder";
				break;
		case 3:	form1.title.style.removeAttribute ("fontWeight");
				form1.title.style.removeAttribute ("textDecoration");
				form1.title.style.fontStyle = "italic";
				break;
		case 4:	form1.title.style.removeAttribute ("fontStyle");
				form1.title.style.removeAttribute ("fontWeight");
				form1.title.style.textDecoration = "underline";
				break;
		case 5: form1.title.style.removeAttribute ("textDecoration");
				form1.title.style.fontWeight = "bolder";
				form1.title.style.fontStyle = "italic";
				break;
		case 6:	form1.title.style.removeAttribute ("fontStyle");
				form1.title.style.removeAttribute ("fontWeight");
				form1.title.style.textDecoration = "strikethrough";
				break;
	}
	form1.title.focus ();
}

function title_face_onchange() {
	var title_faceIndex;
	title_faceIndex = form1.title_face.selectedIndex;
	form1.title.select ();
	switch (title_faceIndex)
	{
		case 1: form1.title.style.family = "宋体";
				break;
		case 2:	form1.title.style.family = "楷体_GB2312";
				break;
		case 3:	form1.title.style.family = "新宋体";
				break;
		case 4:	form1.title.style.family = "黑体";
				break;
		case 5:	form1.title.style.family = "隶书";
				break;
		case 6:	form1.title.style.family = "幼圆";
				break;
	}
	form1.title.focus ();
}

⌨️ 快捷键说明

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