<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>文件分片上传</title>
<link rel="stylesheet" type="text/css" href="${staticPath}webupload/webuploader.css">
<link rel="stylesheet" type="text/css" href="${staticPath}webupload/progress.css">
</head>
<body>
	<div id="uploader" class="wu-example">
		<ul id="imglist">
		</ul>
		<!--用来存放文件信息-->
		<div style="width:10px;height:20px">
			<div id="picker" style="width:100px;">选择文件</div>
		</div>
	</div>
	<script type="text/javascript"
		src="${staticPath}js/common/jquery.js"></script>
	<script type="text/javascript"
		src="${staticPath}webupload/webuploader.min.js"></script>
	<script type="text/javascript"
		src="${staticPath}webupload/upload.js"></script>
	<script type="text/javascript">
		var _PUBLIC_ = '${basePath}';
		var _IMAGES_ = '${staticPath}';
		$(function() {
			/*上传单张图片按钮初始化*/
			//uploadImg('picker', '上传图片', 1, true, false, null,"myCallbcak");
			/*上传rar按钮初始化*/
			uploadRar('picker', '导入图片', 1, true, null, null,true);
		});
		
		function myCallbcak(url){
			console.log('回调函数：'+url)
		}
	</script>
</body>
</html>