?? pic_top.asp
字號(hào):
<!--#include file="conn.asp"-->
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>圖片上傳</title>
<script language="javascript">
function show(value)
{
var path='file:///'+value;
var pic="<img id=\"imgId\" height=\"120\" width=\"780\" src=\""+path+"\">";
document.getElementById("divpic").innerHTML=pic;
}
</script>
</head>
<body style="background-color:#FCEFDA;align:center;font-size:12px;">
<form action="../upfile_top.asp" method="post" enctype="multipart/form-data" name="form1" id="form1">
請(qǐng)選擇你要上傳的圖片:
<input name="file" type="file" size="20" onpropertychange="show(this.value)"/>
<input type="submit" name="Submit" value="上傳" />
</form>
縮略圖:
<div id="divpic" style="border:solid #000000 1px; width:780px; height:120px;">
</div>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -