HousePicture.aspx
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HousePicture.aspx.cs" Inherits="HousePicture" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<style type="text/css">
#Preview1
{
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="Picture/Default1.bmp");
}
#Preview2
{
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="Picture/Default2.bmp");
}
#Preview3
{
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="Picture/Default3.bmp");
}
#Preview4
{
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="Picture/Default4.bmp");
}
</style>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>照片信息</title>
</head>
<script language=javascript type="text/javascript">
function PreviewImg(imgFile,ID)
{
//新的预览代码,支持 IE6、IE7。
document.getElementById(ID).src="";
var newPreview = document.getElementById(ID);
newPreview.style.width = "200px";
newPreview.style.height = "200px";
newPreview.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;
}
</script>
<body>
<form id="form1" runat="server" enctype="multipart/form-data">
<div>
<table style="width: 100%; height: 100%">
<tr>
<td style="width: 400px; height: 20px; border-right-style: none; border-right-color: black; border-left-style: none;" align="center">
<asp:Label ID="Label1" runat="server" Font-Size="Small" Text="正面房屋照片"></asp:Label></td>
<td style="width: 400px; height: 20px" align="center">
<asp:Label ID="Label2" runat="server" Text="背面房屋照片" Font-Size="Small"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 400px; height: 202px; border-right-style: none; border-right-color: black; border-left-style: none;" align="center">
<img runat=server id=Preview1 height="200" width="200" /></td>
<td style="width: 400px; height: 202px" align="center">
<img id=Preview2 runat=server height="200" width="200" /></td>
</tr>
<tr>
<td style="width: 400px; height: 20px; border-right-style: none; border-right-color: black; border-left-style: none;" align="center">
<input id="File1" runat=server type="file" style="width: 68px" onchange="PreviewImg(this,'Preview1')" /></td>
后面还有 37 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
