|
用纯ASP代码来实现图片上传
用纯ASP代码来实现图片上传(7)
End IfIf Form("vspace").Value = "" ThenVspace = "0"ElseVspace = Form("vspace").ValueEnd IfResponse.Write "<script language=""javascript"">" & VbCrLfResponse.Write " top.returnValue = '<img src=""" & Src & """ align=""" & Align & """ border=""" & Border & """ hspace=""" & Hspace & """ vspace=""" & Vspace & """ alt=""" & Alt & """ />';" & VbCrLfResponse.Write " top.close();" & VbCrLfResponse.Write "</script>" & VbCrLfResponse.EndEnd IfSet Form = Nothing End If% ><?xml version="1.0" encoding="gb2312"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ><html xmlns =" http://www.w3.org/1999/xhtml" ><head><title>图片 </title><meta name="vs_defaultClientScript" content="JavaScript" / ><meta name="vs_targetSchema" content="HTML 4.0" / ><meta http-equiv="Content-Type" content="text/html; charset=gb2312" / ><style type="text/css" ><!-- body { border: 0; margin: 0; background-color: buttonface; } body, td, input, select { font-size: 12px; } fieldset { padding: 6px; } legend { font: smallcaption; } --></style><script language="JScript" type="text/jscript" ><!-- String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); } function isInt(text){ for (i = 0; i < text.length; i ++) if (!((text.charAt(i) >= '0') && (text.charAt(i) <= '9'))) return false;
来源:upschool.cn 作者: 关键字: 发表日期:2006-10-7 网页显示有限 阅读全文请下载本文完整版WORD文档
上一篇:ASP同一个帐号不能同时登陆的问题(1) 下一篇:新浪博客首页两侧加入浮动挂件效果
共10页 9 7 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 8 :>
2009-1-8 20:26:03
|
|