Jquery基于ActiveX的批量上传
2010-01-08 00:00:00 来源:WEB开发网前台html
<form id="form1" runat="server">
<div>
<div style="width:978px;padding:1px;margin:10px auto;background:#00a8fe;">
<div style="border:1px solid #fff;font-size:14px;">
<div style="background:#edf9ff;height:35px;padding:0 15px 0 15px;line-height:35px">
照片上传:<input id="File1" runat="server" name="File1" size="44" type="file" />
<asp:Button ID="Button_upload" runat="server" Text="上 传" />
<input id="chkAutoUpload" type="checkbox" />自动上传
</div>
</div>
</div>
<%--浮动层--%>
<div id="divfloat">
<a id="closeX" href="javascript:closethis()" >×</a>
<div id="divaddfirst">
<input id="lblselect" class="inputlbl" type="text" value="选择需上传图片所在的文件夹" />
<input id="lblweb" style="width:230px;" disabled="disabled" class="inputlbl" type="text" value="(此功能需要加本站点为可信任站点)" /><br />
<span style="color:Red; font-size:14px;">您选择的上传图片所在路径为:</span>
<input id="inputpath" class="inputlbl" type="text" value="" disabled="disabled" style=" width:320px;font-weight:bold; font-size:16px;" />
<input type="checkbox" id="chkIsTj" />特检照片
<ul>
<li id="liC" class="diskli">
<img src="http://tech.ddvip.com/2010-01/Images/FolderImg/disk.jpg" alt="" style="cursor:hand;" />
<a id="hrefC" style="color:Black; font-size:medium " href="javascript:choosefolder('C')">本地磁盘 (C:)</a>
<div id="divContainerC" class="divContainer"></div>
</li>
<li id="liD" class="diskli">
<img src="http://tech.ddvip.com/2010-01/Images/FolderImg/disk.jpg" alt="" style="cursor:hand;" />
<a id="hrefD" style="color:Black; font-size:medium " href="javascript:choosefolder('D')">本地磁盘 (D:)</a>
<div id="divContainerD" class="divContainer"></div>
</li>
<li id="liE" class="diskli">
<img src="http://tech.ddvip.com/2010-01/Images/FolderImg/disk.jpg" alt="" style="cursor:hand;" />
<a id="hrefE" style="color:Black; font-size:medium " href="javascript:choosefolder('E')">本地磁盘 (E:)</a>
<div id="divContainerE" class="divContainer"></div>
</li>
</ul>
<a href="javascript:selectconfirm()" style=" position:absolute; bottom:20px; left:300px; font-size:16px; font-weight:bold;">选择完毕</a>
<input id="input2" class="inputlbl" type="text" value="上传中,关闭当前页将停止上传...上传日志信息保存在网站根目录下Logs\AutoUploadPhoto_Exception.txt" disabled="disabled" style=" display:none;position:absolute; bottom:10px; left:20px; width:600px; color:Red;" />
<input id="hidinput" style="display:none;" value="0" />
</div>
</div>
<div id="divfloatbg"></div>
</div>
</form>
更多精彩
赞助商链接